Public Methods |
| DomainGhostBC () |
| ~DomainGhostBC () |
void | setBoxGhostBC (const BoxGhostBC &ghost_bc) |
const BoxGhostBC & | operator() (int direction, Side::LoHiSide side) const |
void | applyHomogeneousBCs (FArrayBox &state, const Box &Domain, Real dx) const |
void | applyHomogeneousBCs (FArrayBox &state, const ProblemDomain &Domain, Real dx) const |
void | applyInhomogeneousBCs (FArrayBox &state, const Box &Domain, Real dx) const |
void | applyInhomogeneousBCs (FArrayBox &state, const ProblemDomain &Domain, Real dx) const |
DomainGhostBC & | operator= (const DomainGhostBC &) |
| DomainGhostBC (const DomainGhostBC &) |
Protected Methods |
bool | isBCDefined (const int a_dir, const Side::LoHiSide a_side) const |
| returns true if this GhostBC is defined
|
void | resetBoxGhostBC (const int a_dir, const Side::LoHiSide a_side) |
Protected Attributes |
Tuple< BoxGhostBC *, SpaceDim > | m_loGhostBC |
Tuple< BoxGhostBC *, SpaceDim > | m_hiGhostBC |
This class which holds a domain's worth of boxghostbcs, one for each face. The user adds a BoxGhostBC-derived for each face to enforce boundary conditions. If the solution is phi and the face normal direction is x, the boundary conditions at a face are expressed as A*phi + B*dphi/dx = C. The class derived from BoxGhostBC provides a function to to fill A B and C. DomainGhostBC calls this function and fills the ghost cells outside the domain appropriately.