Boundary Condition Records. Necessary information and functions for computing boundary conditions. More...
#include <AMReX_BCRec.H>
Public Member Functions | |
AMREX_GPU_HOST_DEVICE | BCRec () noexcept=default |
The default constructor, which does NOT set valid boundary types. | |
AMREX_GPU_HOST_DEVICE | BCRec (AMREX_D_DECL(int loX, int loY, int loZ), AMREX_D_DECL(int hiX, int hiY, int hiZ)) noexcept |
The constructor. | |
AMREX_GPU_HOST_DEVICE | BCRec (const int *a_lo, const int *a_hi) noexcept |
Another constructor. | |
AMREX_GPU_HOST_DEVICE | BCRec (const Box &bx, const Box &domain, const BCRec &bc_domain) noexcept |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | setLo (int dir, int bc_val) noexcept |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | setHi (int dir, int bc_val) noexcept |
Explicitly set hi bndry value. | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | set (Orientation face, int bc_val) noexcept |
Explicitly set bndry value for given face. | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE const int * | vect () const &noexcept |
Return bndry values (used in calls to FORTRAN). | |
const int * | vect () &&=delete |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE const int * | data () const &noexcept |
const int * | data () &&=delete |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE const int * | lo () const &noexcept |
Return low-end boundary data. | |
const int * | lo () &&=delete |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE const int * | hi () const &noexcept |
Return high-end boundary data. | |
const int * | hi () &&=delete |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int | lo (int dir) const noexcept |
Return low-end boundary data in direction <dir>. | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int | hi (int dir) const noexcept |
Return high-end boundary data in direction <dir>. | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool | operator== (const BCRec &rhs) const noexcept |
Equal test. | |
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool | operator!= (const BCRec &rhs) const noexcept |
Not equal test. | |
Private Attributes | |
int | bc [2 *AMREX_SPACEDIM] |
Array of integer values describing boundary conditions. | |
Friends | |
std::ostream & | operator<< (std::ostream &, const BCRec &) |
ASCII write to ostream. | |
Boundary Condition Records. Necessary information and functions for computing boundary conditions.
This class has standard layout. And we should keep it so!
|
defaultnoexcept |
The default constructor, which does NOT set valid boundary types.
|
inlinenoexcept |
The constructor.
|
inlinenoexcept |
Another constructor.
|
inlinenoexcept |
|
delete |
|
inlinenoexcept |
|
delete |
|
inlinenoexcept |
Return high-end boundary data.
|
inlinenoexcept |
Return high-end boundary data in direction <dir>.
|
delete |
|
inlinenoexcept |
Return low-end boundary data.
|
inlinenoexcept |
Return low-end boundary data in direction <dir>.
|
inlinenoexcept |
Not equal test.
|
inlinenoexcept |
Equal test.
|
inlinenoexcept |
Explicitly set bndry value for given face.
|
inlinenoexcept |
Explicitly set hi bndry value.
|
inlinenoexcept |
|
delete |
|
inlinenoexcept |
Return bndry values (used in calls to FORTRAN).
|
friend |
ASCII write to ostream.
|
private |
Array of integer values describing boundary conditions.