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

RegDirichletBC Class Reference

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

#include <RegPoissonBC.H>

Inheritance diagram for RegDirichletBC:

Inheritance graph
[legend]
Collaboration diagram for RegDirichletBC:

Collaboration graph
[legend]
List of all members.

Public Methods

 RegDirichletBC ()
 RegDirichletBC (int a_dir, Side::LoHiSide a_side)
 RegDirichletBC (int a_dir, Side::LoHiSide a_side, const Interval &a_comps)
 ~RegDirichletBC ()

Private Methods

RegDirichletBC * newBoxGhostBC () const
 virtual constructor workaround.

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
 RegDirichletBC (const RegDirichletBC &)
void operator= (const RegDirichletBC &)

Friends

class RegDomainGhostBC

Detailed Description

Class to enforce homogeneous dirchelet boundary conditions.

RegBoxGhostBC class implentation to enforce homogeneous dirchelet boundary conditions Recall that RegBoxGhostBC 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

RegDirichletBC::RegDirichletBC  
 

RegDirichletBC::RegDirichletBC int    a_dir,
Side::LoHiSide    a_side
 

RegDirichletBC::RegDirichletBC int    a_dir,
Side::LoHiSide    a_side,
const Interval   a_comps
 

RegDirichletBC::~RegDirichletBC  
 

RegDirichletBC::RegDirichletBC const RegDirichletBC &    [inline, private]
 


Member Function Documentation

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

fills dirchelet factor with 1.0 and other two fields with zero

Implements RegBoxGhostBC.

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

fills dirchelet factor with 1.0 and other two fields with zero

Implements RegBoxGhostBC.

RegDirichletBC* RegDirichletBC::newBoxGhostBC   const [private, virtual]
 

virtual constructor workaround.

Implements RegBoxGhostBC.

void RegDirichletBC::operator= const RegDirichletBC &    [inline, private]
 


Friends And Related Function Documentation

friend class RegDomainGhostBC [friend]
 

Reimplemented from RegBoxGhostBC.


The documentation for this class was generated from the following file:
Generated on Wed Apr 16 14:35:29 2003 for EBChombo by doxygen1.2.16