Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

DirichletBC Class Reference

#include <PoissonBC.H>

Inheritance diagram for DirichletBC:

Inheritance graph
[legend]
Collaboration diagram for DirichletBC:

Collaboration graph
[legend]
List of all members.

Detailed Description

Class to enforce homogeneous Dirichlet boundary conditions.

BoxGhostBC class implentation to enforce homogeneous dirchelet 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 Dirichlet BCs, B=C=0, A= 1 These functions are only meant to be called by DomainGhostBC


Public Member Functions

 DirichletBC ()
 Default constructor.
 DirichletBC (int dir, Side::LoHiSide sd)
 Simple constructor (sets Interval to (0,0).
 DirichletBC (int dir, Side::LoHiSide sd, const Interval &a_comps)
 Full constructor.
 ~DirichletBC ()
 Destructor.

Private Member Functions

virtual void fillBCValues (FArrayBox &a_neumfac, FArrayBox &a_dircfac, FArrayBox &a_inhmval, Real dx, const Box &a_domain) const
virtual void fillBCValues (FArrayBox &a_neumfac, FArrayBox &a_dircfac, FArrayBox &a_inhmval, Real dx, const ProblemDomain &a_domain) const
BoxGhostBCnew_boxghostbc () const
 DirichletBC (const DirichletBC &dircin)
virtual void operator= (const DirichletBC &dircin)


Constructor & Destructor Documentation

DirichletBC::DirichletBC  ) 
 

Default constructor.

DirichletBC::DirichletBC int  dir,
Side::LoHiSide  sd
 

Simple constructor (sets Interval to (0,0).

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

Full constructor.

DirichletBC::~DirichletBC  ) 
 

Destructor.

DirichletBC::DirichletBC const DirichletBC dircin  )  [inline, private]
 


Member Function Documentation

virtual void DirichletBC::fillBCValues FArrayBox a_neumfac,
FArrayBox a_dircfac,
FArrayBox a_inhmval,
Real  dx,
const Box a_domain
const [private, virtual]
 

fills Dirichlet factor with 1.0 and other two fields with zero

Implements BoxGhostBC.

virtual void DirichletBC::fillBCValues FArrayBox a_neumfac,
FArrayBox a_dircfac,
FArrayBox a_inhmval,
Real  dx,
const ProblemDomain a_domain
const [private, virtual]
 

fills Dirichlet factor with 1.0 and other two fields with zero

Implements BoxGhostBC.

BoxGhostBC* DirichletBC::new_boxghostbc  )  const [private, virtual]
 

Virtual constructor workaround.

Implements BoxGhostBC.

virtual void DirichletBC::operator= const DirichletBC dircin  )  [inline, private, virtual]
 


The documentation for this class was generated from the following file:
Generated on Thu May 12 18:21:09 2005 for Chombo by doxygen 1.3.8