ConstDiriBC Class Reference

#include <PetscCompGrid.H>

Inheritance diagram for ConstDiriBC:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 ConstDiriBC (int a_nSource=1, IntVect a_nGhosts=IntVect::Unit)
virtual void createCoefs ()
virtual void operator() (FArrayBox &a_state, const Box &a_valid, const ProblemDomain &a_domain, Real a_dx, bool a_homogeneous)


Constructor & Destructor Documentation

ConstDiriBC::ConstDiriBC ( int  a_nSource = 1,
IntVect  a_nGhosts = IntVect::Unit 
) [inline]


Member Function Documentation

virtual void ConstDiriBC::createCoefs (  )  [virtual]

Implements CompBC.

virtual void ConstDiriBC::operator() ( FArrayBox a_state,
const Box a_valid,
const ProblemDomain a_domain,
Real  a_dx,
bool  a_homogeneous 
) [virtual]

Computes values of a solution, $\phi$, on ghost cells. These ghost values impose the boundary condition represented by the BCFunction object.

Parameters:
a_state The values of $\phi$ on the box given by a_valid.
a_valid The box on which the boundary condition is to be imposed.
a_domain The problem domain on which this boundary condition is imposed.
a_dx The grid spacing.
a_homogeneous If set to true, ghost values are computed for a homogeneous boundary condition. This is useful for multigrid solves.

Implements CompBC.


The documentation for this class was generated from the following file:

Generated on Fri Aug 18 04:03:52 2017 for Chombo + EB by  doxygen 1.5.5