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

BoxGhostBC Class Reference

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

#include <GhostBC.H>

Inheritance diagram for BoxGhostBC:

Inheritance graph
[legend]
Collaboration diagram for BoxGhostBC:

Collaboration graph
[legend]
List of all members.

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

Private Methods

 BoxGhostBC (const BoxGhostBC &)
virtual void operator= (const BoxGhostBC &)

Friends

class DomainGhostBC

Detailed Description

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

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.


Constructor & Destructor Documentation

virtual BoxGhostBC::~BoxGhostBC   [inline, virtual]
 

BoxGhostBC::BoxGhostBC   [inline]
 

BoxGhostBC::BoxGhostBC int    a_dir,
Side::LoHiSide    a_sd
 

sets interval to be (0,0)

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

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


Member Function Documentation

virtual void BoxGhostBC::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 BoxGhostBC::applyHomogeneousBCs FArrayBox   a_state,
const ProblemDomain   a_domain,
Real    a_dx
const [protected, virtual]
 

virtual void BoxGhostBC::applyHomogeneousBCs FArrayBox   a_state,
const Box   domain,
Real    a_dx
const [protected, virtual]
 

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

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

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

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

sets interval to be (0,0)

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

Implemented in NeumannBC, and DircheletBC.

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

Implemented in NeumannBC, and DircheletBC.

virtual BoxGhostBC* BoxGhostBC::new_boxghostbc   const [protected, pure virtual]
 

virtual constructor workaround.

Implemented in NeumannBC, and DircheletBC.

virtual void BoxGhostBC::operator= const BoxGhostBC &    [inline, private, virtual]
 


Friends And Related Function Documentation

friend class DomainGhostBC [friend]
 

Reimplemented in NeumannBC, and DircheletBC.


Member Data Documentation

Interval BoxGhostBC::m_components [protected]
 

int BoxGhostBC::m_direction [protected]
 

Side::LoHiSide BoxGhostBC::m_side [protected]
 


The documentation for this class was generated from the following file:
Generated on Tue Jul 2 10:44:03 2002 for Chombo by doxygen1.2.16