Maintain an identifier for boundary condition types. More...
#include <AMReX_BoundCond.H>
Public Member Functions | |
BoundCond () noexcept=default | |
Initializes boundary condition type to default. More... | |
BoundCond (int _bctype) noexcept | |
Initializes boundary condition type to specified value. More... | |
AMREX_GPU_HOST_DEVICE | operator int () const noexcept |
Return index of boundary condition type. More... | |
BoundCond & | operator= (const int _bctype) noexcept |
Set index of boundary condition type. More... | |
Private Attributes | |
int | bctype = -1 |
Index of boundary condition type. More... | |
Maintain an identifier for boundary condition types.
This is a placeholder for more extensive boundary condition implementations, which might include stencils, etc. Presently, boundary conditions are specified via an integer identifier. This class maintains that integer.
|
defaultnoexcept |
Initializes boundary condition type to default.
|
inlinenoexcept |
Initializes boundary condition type to specified value.
|
inlinenoexcept |
Return index of boundary condition type.
Set index of boundary condition type.
|
private |
Index of boundary condition type.