Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound 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 ()
 Null 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 a_dx, const Box &a_domain) const
virtual void fillBCValues (FArrayBox &a_neumfac, FArrayBox &a_dircfac, FArrayBox &a_inhmval, Real a_dx, const ProblemDomain &a_domain) const
BoxGhostBCnew_boxghostbc () const
 DirichletBC (const DirichletBC &a_dircin)
virtual void operator= (const DirichletBC &a_dircin)

Friends

class DomainGhostBC


Constructor & Destructor Documentation

DirichletBC::DirichletBC  ) 
 

Null 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 a_dircin  )  [inline, private]
 


Member Function Documentation

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

fills Dirichlet factor with 1.0 and other two fields with 0.0

Implements BoxGhostBC.

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

fills Dirichlet factor with 1.0 and other two fields with 0.0

Implements BoxGhostBC.

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

Virtual constructor workaround.

Implements BoxGhostBC.

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


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 Fri Jul 2 17:55:46 2004 for Chombo by doxygen 1.3.2