#include <NeumannPoissonEBBC.H>
Public Member Functions | |
virtual void | define (const LayoutData< IntVectSet > &a_cfivs, const Real &a_factor) |
void | applyEBFluxPoint (const VolIndex &a_vof, EBCellFAB &a_lphi, const EBCellFAB &a_phi, VoFIterator &a_vofit, const LayoutData< IntVectSet > &a_cfivs, const DataIndex &a_dit, const RealVect &a_probLo, const RealVect &a_dx, const Real &a_factor, const bool &a_useHomogeneous, const Real &a_time) |
virtual void | applyEBFlux (EBCellFAB &a_lphi, const EBCellFAB &a_phi, VoFIterator &a_vofit, const LayoutData< IntVectSet > &a_cfivs, const DataIndex &a_dit, const RealVect &a_probLo, const RealVect &a_dx, const Real &a_factor, const bool &a_useHomogeneous, const Real &a_time) |
NeumannPoissonEBBC (const ProblemDomain &a_domain, const EBISLayout &a_layout, const RealVect &a_dx) | |
virtual LayoutData< BaseIVFAB < VoFStencil > > * | getFluxStencil (int ivar) |
virtual | ~NeumannPoissonEBBC () |
virtual void | setValue (Real a_value) |
virtual int | whichBC () |
virtual void | setFunction (RefCountedPtr< BaseBCValue > a_flux) |
virtual void | getEBFlux (Real &a_flux, const VolIndex &a_vof, const LevelData< EBCellFAB > &a_phi, const LayoutData< IntVectSet > &a_cfivs, const DataIndex &a_dit, const RealVect &a_probLo, const RealVect &a_dx, const bool &a_useHomogeneous, const Real &a_time, const pair< int, Real > *a_cacheHint=0) |
Public Attributes | |
bool | m_onlyHomogeneous |
bool | m_isFunction |
Real | m_value |
RefCountedPtr< BaseBCValue > | m_flux |
Static Public Attributes | |
static int | s_comp |
NeumannPoissonEBBC::NeumannPoissonEBBC | ( | const ProblemDomain & | a_domain, | |
const EBISLayout & | a_layout, | |||
const RealVect & | a_dx | |||
) |
virtual NeumannPoissonEBBC::~NeumannPoissonEBBC | ( | ) | [virtual] |
virtual void NeumannPoissonEBBC::define | ( | const LayoutData< IntVectSet > & | a_cfivs, | |
const Real & | a_factor | |||
) | [inline, virtual] |
Implements BaseEBBC.
void NeumannPoissonEBBC::applyEBFluxPoint | ( | const VolIndex & | a_vof, | |
EBCellFAB & | a_lphi, | |||
const EBCellFAB & | a_phi, | |||
VoFIterator & | a_vofit, | |||
const LayoutData< IntVectSet > & | a_cfivs, | |||
const DataIndex & | a_dit, | |||
const RealVect & | a_probLo, | |||
const RealVect & | a_dx, | |||
const Real & | a_factor, | |||
const bool & | a_useHomogeneous, | |||
const Real & | a_time | |||
) |
virtual void NeumannPoissonEBBC::applyEBFlux | ( | EBCellFAB & | a_lphi, | |
const EBCellFAB & | a_phi, | |||
VoFIterator & | a_vofit, | |||
const LayoutData< IntVectSet > & | a_cfivs, | |||
const DataIndex & | a_dit, | |||
const RealVect & | a_probLo, | |||
const RealVect & | a_dx, | |||
const Real & | a_factor, | |||
const bool & | a_useHomogeneous, | |||
const Real & | a_time | |||
) | [virtual] |
add change in lphi due to eb flux
Implements BaseEBBC.
virtual LayoutData<BaseIVFAB<VoFStencil> >* NeumannPoissonEBBC::getFluxStencil | ( | int | ivar | ) | [inline, virtual] |
Return a pointer to the homogenous flux stencil for the boundary condition. contribution. In the case where there in no contribution in the homogeneous case (ie. homogeneous Neumann) return NULL.
Implements BaseEBBC.
virtual void NeumannPoissonEBBC::setValue | ( | Real | a_value | ) | [virtual] |
virtual int NeumannPoissonEBBC::whichBC | ( | ) | [inline, virtual] |
0 Neumann 1 Dirichlet Anything else is invalid
virtual void NeumannPoissonEBBC::setFunction | ( | RefCountedPtr< BaseBCValue > | a_flux | ) | [virtual] |
virtual void NeumannPoissonEBBC::getEBFlux | ( | Real & | a_flux, | |
const VolIndex & | a_vof, | |||
const LevelData< EBCellFAB > & | a_phi, | |||
const LayoutData< IntVectSet > & | a_cfivs, | |||
const DataIndex & | a_dit, | |||
const RealVect & | a_probLo, | |||
const RealVect & | a_dx, | |||
const bool & | a_useHomogeneous, | |||
const Real & | a_time, | |||
const pair< int, Real > * | a_cacheHint = 0 | |||
) | [virtual] |
deprecated
Reimplemented from BaseEBBC.
int NeumannPoissonEBBC::s_comp [static] |