Block-Structured AMR Software Framework
amrex::algoim::EBPlane Struct Reference

#include <AMReX_algoim_K.H>

Public Member Functions

 EBPlane ()=default
 
constexpr AMREX_GPU_HOST_DEVICE EBPlane (GpuArray< Real, 3 > const &c, GpuArray< Real, 3 > const n) noexcept
 
constexpr AMREX_GPU_HOST_DEVICE EBPlane (Real cx, Real cy, Real cz, Real nx, Real ny, Real nz) noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real operator() (Real x, Real y, Real z) const noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real operator() (GpuArray< Real, 3 > const &p) const noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real grad (int d) const noexcept
 

Public Attributes

GpuArray< Real, 3 > cent {}
 
GpuArray< Real, 3 > norm {}
 

Constructor & Destructor Documentation

◆ EBPlane() [1/3]

amrex::algoim::EBPlane::EBPlane ( )
default

◆ EBPlane() [2/3]

constexpr AMREX_GPU_HOST_DEVICE amrex::algoim::EBPlane::EBPlane ( GpuArray< Real, 3 > const &  c,
GpuArray< Real, 3 > const  n 
)
inlineconstexprnoexcept

◆ EBPlane() [3/3]

constexpr AMREX_GPU_HOST_DEVICE amrex::algoim::EBPlane::EBPlane ( Real  cx,
Real  cy,
Real  cz,
Real  nx,
Real  ny,
Real  nz 
)
inlineconstexprnoexcept

Member Function Documentation

◆ grad()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real amrex::algoim::EBPlane::grad ( int  d) const
inlinenoexcept

◆ operator()() [1/2]

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real amrex::algoim::EBPlane::operator() ( GpuArray< Real, 3 > const &  p) const
inlinenoexcept

◆ operator()() [2/2]

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Real amrex::algoim::EBPlane::operator() ( Real  x,
Real  y,
Real  z 
) const
inlinenoexcept

Member Data Documentation

◆ cent

GpuArray<Real,3> amrex::algoim::EBPlane::cent {}

◆ norm

GpuArray<Real,3> amrex::algoim::EBPlane::norm {}

The documentation for this struct was generated from the following file: