Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class 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 Member Functions

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

Protected Member Functions

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 Oct 5 14:00:41 2005 for Chombo&AMRSelfGravity by  doxygen 1.4.1