#include <PetscCompGrid.H>
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) |
ConstDiriBC::ConstDiriBC | ( | int | a_nSource = 1 , |
|
IntVect | a_nGhosts = IntVect::Unit | |||
) | [inline] |
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, , on ghost cells. These ghost values impose the boundary condition represented by the BCFunction object.
a_state | The values of 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.