Chombo + EB  3.2
Public Member Functions | Protected Attributes | List of all members
ConstBCFunction Class Reference

#include <BCFunc.H>

Inheritance diagram for ConstBCFunction:
Inheritance graph
[legend]

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)
 
- Public Member Functions inherited from BCFunction
 BCFunction ()
 Base class constructor. Called by all subclass constructors. More...
 
virtual ~BCFunction ()
 Destructor. More...
 
virtual void operator() (FArrayBox &a_state, const Box &a_valid, const ProblemDomain &a_domain, Real a_dx, const DataIndex &a_index, bool a_homogeneous)
 
virtual void setTime (const Real &a_time)
 
void fillGhostCells (const LevelData< FArrayBox > &phi, const Real dx, const bool homogeneous)
 Fill the ghost cells for a single level. More...
 
void fillGhostCells (const Vector< LevelData< FArrayBox > *> &phi, const Real dx0, const Vector< int > &refV, const bool homogeneous)
 Fill the ghost cells for a Hierarchy of levels. More...
 

Protected Attributes

IntVect m_loSideType
 
RealVect m_loSideValue
 
IntVect m_hiSideType
 
RealVect m_hiSideValue
 

Constructor & Destructor Documentation

◆ ConstBCFunction()

ConstBCFunction::ConstBCFunction ( const IntVect a_loSideType,
const RealVect a_loSideValue,
const IntVect a_hiSideType,
const RealVect a_hiSideValue 
)

◆ ~ConstBCFunction()

ConstBCFunction::~ConstBCFunction ( )

Member Function Documentation

◆ operator()()

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, $\phi$, on ghost cells. These ghost values impose the boundary condition represented by the BCFunction object.

Parameters
a_stateThe values of $\phi$ on the box given by a_valid.
a_validThe box on which the boundary condition is to be imposed.
a_domainThe problem domain on which this boundary condition is imposed.
a_dxThe grid spacing.
a_homogeneousIf set to true, ghost values are computed for a homogeneous boundary condition. This is useful for multigrid solves.

Implements BCFunction.

Member Data Documentation

◆ m_loSideType

IntVect ConstBCFunction::m_loSideType
protected

◆ m_loSideValue

RealVect ConstBCFunction::m_loSideValue
protected

◆ m_hiSideType

IntVect ConstBCFunction::m_hiSideType
protected

◆ m_hiSideValue

RealVect ConstBCFunction::m_hiSideValue
protected

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