Boundary Condition Records. Necessary information and functions for computing boundary conditions.
More...
#include <AMReX_BCRec.H>
|
| __host__ __device__ | BCRec () noexcept=default |
| | The default constructor, which does NOT set valid boundary types.
|
| |
| __host__ __device__ | BCRec (int loX, int loY, int loZ, int hiX, int hiY, int hiZ) noexcept |
| | The constructor.
|
| |
| __host__ __device__ | BCRec (const int *a_lo, const int *a_hi) noexcept |
| | Another constructor.
|
| |
| __host__ __device__ | BCRec (const Box &bx, const Box &domain, const BCRec &bc_domain) noexcept |
| |
| __host__ __device__ void | setLo (int dir, int bc_val) noexcept |
| |
| __host__ __device__ void | setHi (int dir, int bc_val) noexcept |
| | Explicitly set hi bndry value.
|
| |
| __host__ __device__ void | set (Orientation face, int bc_val) noexcept |
| | Explicitly set bndry value for given face.
|
| |
| __host__ __device__ const int * | vect () const &noexcept |
| | Return bndry values (used in calls to FORTRAN).
|
| |
| const int * | vect () &&=delete |
| |
| __host__ __device__ const int * | data () const &noexcept |
| |
| const int * | data () &&=delete |
| |
| __host__ __device__ const int * | lo () const &noexcept |
| | Return low-end boundary data.
|
| |
| const int * | lo () &&=delete |
| |
| __host__ __device__ const int * | hi () const &noexcept |
| | Return high-end boundary data.
|
| |
| const int * | hi () &&=delete |
| |
| __host__ __device__ int | lo (int dir) const noexcept |
| | Return low-end boundary data in direction <dir>.
|
| |
| __host__ __device__ int | hi (int dir) const noexcept |
| | Return high-end boundary data in direction <dir>.
|
| |
| __host__ __device__ bool | operator== (const BCRec &rhs) const noexcept |
| | Equal test.
|
| |
| __host__ __device__ bool | operator!= (const BCRec &rhs) const noexcept |
| | Not equal test.
|
| |
|
| int | bc [2 *3] |
| | Array of integer values describing boundary conditions.
|
| |
|
| 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!
◆ BCRec() [1/4]
| __host__ __device__ amrex::BCRec::BCRec |
( |
| ) |
|
|
defaultnoexcept |
The default constructor, which does NOT set valid boundary types.
◆ BCRec() [2/4]
| __host__ __device__ amrex::BCRec::BCRec |
( |
int |
loX, |
|
|
int |
loY, |
|
|
int |
loZ, |
|
|
int |
hiX, |
|
|
int |
hiY, |
|
|
int |
hiZ |
|
) |
| |
|
inlinenoexcept |
◆ BCRec() [3/4]
| __host__ __device__ amrex::BCRec::BCRec |
( |
const int * |
a_lo, |
|
|
const int * |
a_hi |
|
) |
| |
|
inlinenoexcept |
◆ BCRec() [4/4]
| __host__ __device__ amrex::BCRec::BCRec |
( |
const Box & |
bx, |
|
|
const Box & |
domain, |
|
|
const BCRec & |
bc_domain |
|
) |
| |
|
inlinenoexcept |
◆ data() [1/2]
| const int * amrex::BCRec::data |
( |
| ) |
&& |
|
delete |
◆ data() [2/2]
| __host__ __device__ const int * amrex::BCRec::data |
( |
| ) |
const & |
|
inlinenoexcept |
◆ hi() [1/3]
| const int * amrex::BCRec::hi |
( |
| ) |
&& |
|
delete |
◆ hi() [2/3]
| __host__ __device__ const int * amrex::BCRec::hi |
( |
| ) |
const & |
|
inlinenoexcept |
Return high-end boundary data.
◆ hi() [3/3]
| __host__ __device__ int amrex::BCRec::hi |
( |
int |
dir | ) |
const |
|
inlinenoexcept |
Return high-end boundary data in direction <dir>.
◆ lo() [1/3]
| const int * amrex::BCRec::lo |
( |
| ) |
&& |
|
delete |
◆ lo() [2/3]
| __host__ __device__ const int * amrex::BCRec::lo |
( |
| ) |
const & |
|
inlinenoexcept |
Return low-end boundary data.
◆ lo() [3/3]
| __host__ __device__ int amrex::BCRec::lo |
( |
int |
dir | ) |
const |
|
inlinenoexcept |
Return low-end boundary data in direction <dir>.
◆ operator!=()
| __host__ __device__ bool amrex::BCRec::operator!= |
( |
const BCRec & |
rhs | ) |
const |
|
inlinenoexcept |
◆ operator==()
| __host__ __device__ bool amrex::BCRec::operator== |
( |
const BCRec & |
rhs | ) |
const |
|
inlinenoexcept |
◆ set()
| __host__ __device__ void amrex::BCRec::set |
( |
Orientation |
face, |
|
|
int |
bc_val |
|
) |
| |
|
inlinenoexcept |
Explicitly set bndry value for given face.
◆ setHi()
| __host__ __device__ void amrex::BCRec::setHi |
( |
int |
dir, |
|
|
int |
bc_val |
|
) |
| |
|
inlinenoexcept |
Explicitly set hi bndry value.
◆ setLo()
| __host__ __device__ void amrex::BCRec::setLo |
( |
int |
dir, |
|
|
int |
bc_val |
|
) |
| |
|
inlinenoexcept |
◆ vect() [1/2]
| const int * amrex::BCRec::vect |
( |
| ) |
&& |
|
delete |
◆ vect() [2/2]
| __host__ __device__ const int * amrex::BCRec::vect |
( |
| ) |
const & |
|
inlinenoexcept |
Return bndry values (used in calls to FORTRAN).
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const BCRec & |
b |
|
) |
| |
|
friend |
◆ bc
| int amrex::BCRec::bc[2 *3] |
|
private |
Initial value:{ BCType::bogus , BCType::bogus , BCType::bogus ,
BCType::bogus , BCType::bogus , BCType::bogus }
Array of integer values describing boundary conditions.
The documentation for this class was generated from the following file: