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

RegNeumannBC Class Reference

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

#include <RegPoissonBC.H>

Inheritance diagram for RegNeumannBC:

Inheritance graph
[legend]
Collaboration diagram for RegNeumannBC:

Collaboration graph
[legend]
List of all members.

Public Methods

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

Protected Methods

RegNeumannBC * 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

Private Methods

 RegNeumannBC (const RegNeumannBC &)
void operator= (const RegNeumannBC &)

Friends

class RegDomainGhostBC

Detailed Description

Class to enforce homogeneous neumann boundary conditions.

RegBoxGhostBC class implentation to enforce homogeneous neumann 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, A = C = 0, B = 1 These functions are only meant to be called by DomainGhostBC


Constructor & Destructor Documentation

RegNeumannBC::RegNeumannBC  
 

RegNeumannBC::RegNeumannBC int    a_dir,
Side::LoHiSide    a_side
 

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

RegNeumannBC::~RegNeumannBC  
 

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


Member Function Documentation

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

fills neumann factor with 1.0 and other two fields with zero.

Implements RegBoxGhostBC.

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

fills neumann factor with 1.0 and other two fields with zero.

Implements RegBoxGhostBC.

RegNeumannBC* RegNeumannBC::newBoxGhostBC   const [protected, virtual]
 

virtual constructor workaround.

Implements RegBoxGhostBC.

void RegNeumannBC::operator= const RegNeumannBC &    [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:30 2003 for EBChombo by doxygen1.2.16