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

DircheletBC Class Reference

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

#include <PoissonBC.H>

Inheritance diagram for DircheletBC:

Inheritance graph
[legend]
Collaboration diagram for DircheletBC:

Collaboration graph
[legend]
List of all members.

Public Methods

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

Private Methods

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
 virtual constructor workaround.

 DircheletBC (const DircheletBC &neuin)
void operator= (const DircheletBC &neuin)

Friends

class DomainGhostBC

Detailed Description

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


Constructor & Destructor Documentation

DircheletBC::DircheletBC int    dir,
Side::LoHiSide    sd
 

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

DircheletBC::~DircheletBC  
 

DircheletBC::DircheletBC  
 

DircheletBC::DircheletBC const DircheletBC &    neuin [inline, private]
 


Member Function Documentation

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

fills dirchelet factor with 1.0 and other two fields with zero

Implements BoxGhostBC.

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

fills dirchelet factor with 1.0 and other two fields with zero

Implements BoxGhostBC.

BoxGhostBC* DircheletBC::new_boxghostbc   const [private, virtual]
 

virtual constructor workaround.

Implements BoxGhostBC.

void DircheletBC::operator= const DircheletBC &    neuin [inline, private]
 


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 Tue Jul 2 10:44:06 2002 for Chombo by doxygen1.2.16