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

DirichletBC Class Reference

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

#include <PoissonBC.H>

Inheritance diagram for DirichletBC:

Inheritance graph
[legend]
Collaboration diagram for DirichletBC:

Collaboration graph
[legend]
List of all members.

Public Methods

 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.

void setInhomVal (Real a_inhomVal)

Friends

class DomainGhostBC

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


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.


Member Function Documentation

void DirichletBC::setInhomVal Real    a_inhomVal
 


Friends And Related Function Documentation

friend class DomainGhostBC [friend]
 

Reimplemented from BoxGhostBC.

Reimplemented in InhomoDirichletBC.


The documentation for this class was generated from the following file:
Generated on Wed Jan 19 17:55:54 2005 for Chombo&INSwithParticles by doxygen1.2.16