Public Methods |
| RegDomainGhostBC () |
| RegDomainGhostBC (const RegDomainGhostBC &a_dgbcin) |
| ~RegDomainGhostBC () |
RegDomainGhostBC & | operator= (const RegDomainGhostBC &a_dgbcin) |
const RegBoxGhostBC & | operator() (int a_direction, Side::LoHiSide a_side) const |
void | setBoxGhostBC (const RegBoxGhostBC &a_ghostBC) |
void | applyHomogeneousBCs (FArrayBox &a_state, const Box &a_domain, Real a_dx) const |
void | applyHomogeneousBCs (FArrayBox &a_state, const ProblemDomain &a_domain, Real a_dx) const |
void | applyInhomogeneousBCs (FArrayBox &a_state, const Box &a_domain, Real a_dx) const |
void | applyInhomogeneousBCs (FArrayBox &a_state, const ProblemDomain &a_domain, Real a_dx) const |
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< RegBoxGhostBC *, SpaceDim > | m_loGhostBC |
Tuple< RegBoxGhostBC *, SpaceDim > | m_hiGhostBC |
This class which holds a domain's worth of boxghostbcs, one for each face. The user adds a RegBoxGhostBC-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 RegBoxGhostBC provides a function to to fill A B and C. RegDomainGhostBC calls this function and fills the ghost cells outside the domain appropriately.