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

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]
 

Apply the homogeneous form of the boundary conditions to a_state along the boundary of a_domain.

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]
 

Apply the inhomogeneous form of the boundary conditions to a_state along the boundary of a_domain.

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]
 

Pure-virtual Worker function to fill arrays which define the boundary condition. Essentially, if the boundary condition is represented as A*phi + B*dphi/dn = C, then a_dircfac is A, a_neumfac is B, and a_inhmval is C.

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 Wed Jan 19 17:55:58 2005 for Chombo&INSwithParticles by doxygen1.2.16