#include <BCFunc.H>
Public Member Functions | |
ConstBCFunction (const IntVect &a_loSideType, const RealVect &a_loSideValue, const IntVect &a_hiSideType, const RealVect &a_hiSideValue) | |
~ConstBCFunction () | |
virtual void | operator() (FArrayBox &a_state, const Box &a_valid, const ProblemDomain &a_domain, Real a_dx, bool a_homogeneous) |
Protected Attributes | |
IntVect | m_loSideType |
RealVect | m_loSideValue |
IntVect | m_hiSideType |
RealVect | m_hiSideValue |
ConstBCFunction::ConstBCFunction | ( | const IntVect & | a_loSideType, | |
const RealVect & | a_loSideValue, | |||
const IntVect & | a_hiSideType, | |||
const RealVect & | a_hiSideValue | |||
) |
ConstBCFunction::~ConstBCFunction | ( | ) |
virtual void ConstBCFunction::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 BCFunction.
IntVect ConstBCFunction::m_loSideType [protected] |
RealVect ConstBCFunction::m_loSideValue [protected] |
IntVect ConstBCFunction::m_hiSideType [protected] |
RealVect ConstBCFunction::m_hiSideValue [protected] |