Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class 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 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.
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.


The documentation for this class was generated from the following file:
Generated on Wed Oct 5 12:46:47 2005 for Chombo&AMRIdealMHD by  doxygen 1.4.1