Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

RegBoxGhostBC Class Reference

class to encapsulate the operations of ghost-cell boundary conditions. More...

#include <RegGhostBC.H>

Inheritance diagram for RegBoxGhostBC:

Inheritance graph
[legend]
Collaboration diagram for RegBoxGhostBC:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

class to encapsulate the operations of ghost-cell boundary conditions.

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.


Constructor & Destructor Documentation

RegBoxGhostBC::RegBoxGhostBC   [inline]
 

RegBoxGhostBC::RegBoxGhostBC int    a_dir,
Side::LoHiSide    a_sd
 

sets interval to be (0,0)

RegBoxGhostBC::RegBoxGhostBC int    a_dir,
Side::LoHiSide    a_sd,
const Interval   a_comps
 

virtual RegBoxGhostBC::~RegBoxGhostBC   [inline, virtual]
 

RegBoxGhostBC::RegBoxGhostBC const RegBoxGhostBC &    [inline, private]
 


Member Function Documentation

virtual void RegBoxGhostBC::applyBCs const Box   a_bcBox,
FArrayBox   a_state,
const FArrayBox   a_neumfac,
const FArrayBox   a_dircfac,
const FArrayBox   a_inhmval,
Real    a_dx
const [protected, virtual]
 

virtual void RegBoxGhostBC::applyHomogeneousBCs FArrayBox   a_state,
const ProblemDomain   a_domain,
Real    a_dx
const [protected, virtual]
 

virtual void RegBoxGhostBC::applyHomogeneousBCs FArrayBox   a_state,
const Box   a_domain,
Real    a_dx
const [protected, virtual]
 

virtual void RegBoxGhostBC::applyInhomogeneousBCs FArrayBox   a_state,
const ProblemDomain   a_domain,
Real    a_dx
const [protected, virtual]
 

virtual void RegBoxGhostBC::applyInhomogeneousBCs FArrayBox   a_state,
const Box   a_domain,
Real    a_dx
const [protected, virtual]
 

void RegBoxGhostBC::define int    a_dir,
Side::LoHiSide    a_sd,
const Interval   a_comps
[protected]
 

void RegBoxGhostBC::define int    a_dir,
Side::LoHiSide    a_sd
[protected]
 

sets interval to be (0,0)

virtual void RegBoxGhostBC::fillBCValues FArrayBox   a_neumfac,
FArrayBox   a_dircfac,
FArrayBox   a_inhmval,
Real    a_dx,
const ProblemDomain   a_domain
const [protected, pure virtual]
 

Implemented in RegNeumannBC, and RegDirichletBC.

virtual void RegBoxGhostBC::fillBCValues FArrayBox   a_neumfac,
FArrayBox   a_dircfac,
FArrayBox   a_inhmval,
Real    a_dx,
const Box   a_domain
const [protected, pure virtual]
 

Implemented in RegNeumannBC, and RegDirichletBC.

virtual RegBoxGhostBC* RegBoxGhostBC::newBoxGhostBC   const [protected, pure virtual]
 

virtual constructor workaround.

Implemented in RegNeumannBC, and RegDirichletBC.

void RegBoxGhostBC::operator= const RegBoxGhostBC &    [inline, private]
 


Friends And Related Function Documentation

friend class RegDomainGhostBC [friend]
 

Reimplemented in RegNeumannBC, and RegDirichletBC.


Member Data Documentation

Interval RegBoxGhostBC::m_components [protected]
 

int RegBoxGhostBC::m_direction [protected]
 

Side::LoHiSide RegBoxGhostBC::m_side [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Apr 16 14:35:28 2003 for EBChombo by doxygen1.2.16