Public Methods |
| RegBoxGhostBC () |
| RegBoxGhostBC (int a_dir, Side::LoHiSide a_sd) |
| sets interval to be (0,0)
|
| RegBoxGhostBC (int a_dir, Side::LoHiSide a_sd, const Interval &a_comps) |
virtual | ~RegBoxGhostBC () |
Protected Methods |
virtual RegBoxGhostBC * | newBoxGhostBC () const=0 |
| virtual constructor workaround.
|
void | define (int a_dir, Side::LoHiSide a_sd) |
| sets interval to be (0,0)
|
void | define (int a_dir, Side::LoHiSide a_sd, const Interval &a_comps) |
virtual void | applyInhomogeneousBCs (FArrayBox &a_state, const Box &a_domain, Real a_dx) const |
virtual void | applyInhomogeneousBCs (FArrayBox &a_state, const ProblemDomain &a_domain, Real a_dx) const |
virtual void | applyHomogeneousBCs (FArrayBox &a_state, const Box &a_domain, Real a_dx) const |
virtual void | applyHomogeneousBCs (FArrayBox &a_state, const ProblemDomain &a_domain, Real a_dx) const |
virtual void | fillBCValues (FArrayBox &a_neumfac, FArrayBox &a_dircfac, FArrayBox &a_inhmval, Real a_dx, const Box &a_domain) const=0 |
virtual void | applyBCs (const Box &a_bcBox, FArrayBox &a_state, const FArrayBox &a_neumfac, const FArrayBox &a_dircfac, const FArrayBox &a_inhmval, Real a_dx) const |
virtual void | fillBCValues (FArrayBox &a_neumfac, FArrayBox &a_dircfac, FArrayBox &a_inhmval, Real a_dx, const ProblemDomain &a_domain) const=0 |
Protected Attributes |
Side::LoHiSide | m_side |
int | m_direction |
Interval | m_components |
Private Methods |
| RegBoxGhostBC (const RegBoxGhostBC &) |
void | operator= (const RegBoxGhostBC &) |
Friends |
class | RegDomainGhostBC |
RegBoxGhostBC is a class to encapsulate the operations of ghost-cell boundary conditions at a face. If the solution is phi and the face normal direction is x, the boundary conditions usually used can be expressed as A*phi + B*dphi/dx = C. The derived class provides a function to to fill A B and C. These functions are only meant to be called by RegDomainGhostBC.