#include <DivergenceStencil.H>
Public Member Functions | |
DivergenceStencil (const EBCellFAB &a_diveFluxFaB, const EBFluxFAB &a_faceFluxFAB, const BaseIVFAB< Real > &a_bndyFluxFAB, const Box &a_grid, const EBISBox &a_ebisBox, const RealVect &a_dx, bool a_useEBFlux=true) | |
~DivergenceStencil () | |
void | divergence (EBCellFAB &a_divF, const EBFluxFAB &a_faceFlux, const BaseIVFAB< Real > &a_bndryFlux, const int &a_destVar, bool incrementOnly=false) |
Protected Attributes | |
bool | m_useEBFlux |
Box | m_grid |
RealVect | m_dx |
RefCountedPtr< AggStencil < EBFaceFAB, EBCellFAB > > | m_openStencil [CH_SPACEDIM] |
RefCountedPtr< AggStencil < BaseIVFAB< Real >, EBCellFAB > > | m_bdryStencil |
Private Member Functions | |
DivergenceStencil () | |
disallowed operators. Without code because Jeff says that is better. | |
DivergenceStencil & | operator= (const DivergenceStencil &stenin) |
deep copy for this object would kill performance | |
DivergenceStencil (const DivergenceStencil &stenin) | |
no reason to allow this one either. |
DivergenceStencil::DivergenceStencil | ( | const EBCellFAB & | a_diveFluxFaB, | |
const EBFluxFAB & | a_faceFluxFAB, | |||
const BaseIVFAB< Real > & | a_bndyFluxFAB, | |||
const Box & | a_grid, | |||
const EBISBox & | a_ebisBox, | |||
const RealVect & | a_dx, | |||
bool | a_useEBFlux = true | |||
) |
The data holders sent in can be dummies but they must be the right size.
DivergenceStencil::~DivergenceStencil | ( | ) | [inline] |
DivergenceStencil::DivergenceStencil | ( | ) | [private] |
disallowed operators. Without code because Jeff says that is better.
weak construction is bad.
DivergenceStencil::DivergenceStencil | ( | const DivergenceStencil & | stenin | ) | [private] |
no reason to allow this one either.
void DivergenceStencil::divergence | ( | EBCellFAB & | a_divF, | |
const EBFluxFAB & | a_faceFlux, | |||
const BaseIVFAB< Real > & | a_bndryFlux, | |||
const int & | a_destVar, | |||
bool | incrementOnly = false | |||
) |
Take the divergence of the incoming fluxes
DivergenceStencil& DivergenceStencil::operator= | ( | const DivergenceStencil & | stenin | ) | [private] |
deep copy for this object would kill performance
bool DivergenceStencil::m_useEBFlux [protected] |
Box DivergenceStencil::m_grid [protected] |
RealVect DivergenceStencil::m_dx [protected] |
RefCountedPtr< AggStencil<EBFaceFAB, EBCellFAB> > DivergenceStencil::m_openStencil[CH_SPACEDIM] [protected] |
RefCountedPtr< AggStencil<BaseIVFAB<Real>, EBCellFAB> > DivergenceStencil::m_bdryStencil [protected] |