|
Public Member Functions |
| | DomainGhostBC () |
| | Null constructor.
|
| | ~DomainGhostBC () |
| | Destructor.
|
| void | setBoxGhostBC (const BoxGhostBC &a_ghostBC) |
| | Set boundary conditions at a face to those defined in a_ghostBC.
|
| const BoxGhostBC & | operator() (int a_direction, Side::LoHiSide a_side) const |
| | Access function -- returns a reference to the BC on the given face.
|
| void | applyHomogeneousBCs (FArrayBox &a_state, const Box &a_domain, Real a_dx) const |
| | Deprecated function -- use ProblemDomain instead of a Box for the domain.
|
| void | applyHomogeneousBCs (FArrayBox &a_state, const ProblemDomain &a_domain, Real a_dx) const |
| | apply boundary conditions on all sides of state which abut domain edge
|
| void | applyInhomogeneousBCs (FArrayBox &a_state, const Box &a_domain, Real a_dx) const |
| | Deprecated function -- use ProblemDomain instead of a Box for the domain.
|
| void | applyInhomogeneousBCs (FArrayBox &a_state, const ProblemDomain &a_domain, Real a_dx) const |
| | Apply boundary conditions on all sides of state which abut the domain edge *.
|
| DomainGhostBC & | operator= (const DomainGhostBC &a_dgbcin) |
| | Assignment operator.
|
| | DomainGhostBC (const DomainGhostBC &a_dgbcin) |
| | 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 |
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.