Public Methods |
virtual | ~BoxGhostBC () |
| BoxGhostBC () |
| BoxGhostBC (int a_dir, Side::LoHiSide a_sd) |
| sets interval to be (0,0)
|
| BoxGhostBC (int a_dir, Side::LoHiSide a_sd, const Interval &a_comps) |
Protected Methods |
virtual BoxGhostBC * | new_boxghostbc () 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 | applyHomogeneousBCs (FArrayBox &a_state, const Box &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 ProblemDomain &a_domain, Real a_dx) const |
virtual void | fillBCValues (FArrayBox &a_neumfac, FArrayBox &a_dircfac, FArrayBox &a_inhmval, Real a_dx, const Box &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 &domain) const=0 |
Protected Attributes |
Side::LoHiSide | m_side |
int | m_direction |
Interval | m_components |
Friends |
class | DomainGhostBC |
BoxGhostBC 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 DomainGhostBC.