This class holds a domain's worth of boxghostbcs, one for each face. The user adds a BoxGhostBC-derived object 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 may often be 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.
|
Public Member Functions |
| | DomainGhostBC () |
| | ~DomainGhostBC () |
| void | setBoxGhostBC (const BoxGhostBC &ghost_bc) |
| | Set boundary conditions at a face to those defined in ghost_bc.
|
| const BoxGhostBC & | operator() (int direction, Side::LoHiSide side) const |
| | Access function -- returns a reference to the BC on the given face.
|
| void | applyHomogeneousBCs (FArrayBox &state, const Box &Domain, Real dx) const |
| | Deprecated function -- use ProblemDomain instead of a Box for the domain.
|
| void | applyHomogeneousBCs (FArrayBox &state, const ProblemDomain &Domain, Real dx) const |
| | apply boundary conditions on all sides of state which abut domain edge
|
| void | applyInhomogeneousBCs (FArrayBox &state, const Box &Domain, Real dx) const |
| | Deprecated function -- use ProblemDomain instead of a Box for the domain.
|
| void | applyInhomogeneousBCs (FArrayBox &state, const ProblemDomain &Domain, Real dx) const |
| | Apply boundary conditions on all sides of state which abut the domain edge *.
|
| DomainGhostBC & | operator= (const DomainGhostBC &) |
| | Assignment operator.
|
| | DomainGhostBC (const DomainGhostBC &) |
| | Copy constructor.
|
Protected Member Functions |
| bool | isBCDefined (const int a_dir, const Side::LoHiSide a_side) const |
| void | resetBoxGhostBC (const int a_dir, const Side::LoHiSide a_side) |
Protected Attributes |
| Tuple< BoxGhostBC *, SpaceDim > | m_loGhostBC |
| Tuple< BoxGhostBC *, SpaceDim > | m_hiGhostBC |