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

ExtrapBC Class Reference

Class to enforce homogeneous neumann boundary conditions. More...

#include <ExtrapBC.H>

Inheritance diagram for ExtrapBC:

Inheritance graph
[legend]
Collaboration diagram for ExtrapBC:

Collaboration graph
[legend]
List of all members.

Public Methods

 ~ExtrapBC ()
 ExtrapBC ()
 ExtrapBC (int dir, Side::LoHiSide sd)
 ExtrapBC (int dir, Side::LoHiSide sd, const Interval &a_comps)

Protected Methods

virtual void fillBCValues (FArrayBox &a_neumfac, FArrayBox &a_dircfac, FArrayBox &a_inhmval, Real a_dx, const ProblemDomain &a_domain) const
virtual void applyHomogeneousBCs (FArrayBox &a_state, const ProblemDomain &a_domain, Real a_dx) const
virtual void applyInhomogeneousBCs (FArrayBox &a_state, const ProblemDomain &a_domain, Real a_dx) const
virtual void applyExtrapBCs (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
 deprecated interface

virtual void applyHomogeneousBCs (FArrayBox &a_state, const Box &a_domain, Real a_dx) const
 deprecated interface

virtual void applyInhomogeneousBCs (FArrayBox &a_state, const Box &a_domain, Real a_dx) const
 deprecated interface

virtual void applyExtrapBCs (FArrayBox &a_state, const Box &a_domain, Real a_dx) const
 deprecated interface

BoxGhostBCnew_boxghostbc () const
 virtual constructor workaround.


Friends

class DomainGhostBC

Detailed Description

Class to enforce homogeneous neumann boundary conditions.

BoxGhostBC class implentation to enforce homogeneous neumann boundary conditions Recall that 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. For homogeneous Neumann BCs, A=C=0, B= 1 These functions are only meant to be called by DomainGhostBC


Constructor & Destructor Documentation

ExtrapBC::~ExtrapBC  
 

ExtrapBC::ExtrapBC  
 

ExtrapBC::ExtrapBC int    dir,
Side::LoHiSide    sd
 

ExtrapBC::ExtrapBC int    dir,
Side::LoHiSide    sd,
const Interval   a_comps
 


Member Function Documentation

virtual void ExtrapBC::applyExtrapBCs FArrayBox   a_state,
const Box   a_domain,
Real    a_dx
const [protected, virtual]
 

deprecated interface

virtual void ExtrapBC::applyExtrapBCs FArrayBox   a_state,
const ProblemDomain   a_domain,
Real    a_dx
const [protected, virtual]
 

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

deprecated interface

Reimplemented from BoxGhostBC.

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

Reimplemented from BoxGhostBC.

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

deprecated interface

Reimplemented from BoxGhostBC.

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

Reimplemented from BoxGhostBC.

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

deprecated interface

Implements BoxGhostBC.

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

Implements BoxGhostBC.

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

virtual constructor workaround.

Implements BoxGhostBC.


Friends And Related Function Documentation

friend class DomainGhostBC [friend]
 

Reimplemented from BoxGhostBC.


The documentation for this class was generated from the following file:
Generated on Thu Aug 29 11:07:40 2002 for Chombo&INS by doxygen1.2.16