Chombo + EB
3.2
|
stencil to evaluate the conservative divergence of a flux More...
#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. More... | |
DivergenceStencil & | operator= (const DivergenceStencil &stenin) |
deep copy for this object would kill performance More... | |
DivergenceStencil (const DivergenceStencil &stenin) | |
no reason to allow this one either. More... | |
stencil to evaluate the conservative divergence of a flux
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.
|
inline |
References divergence().
|
private |
disallowed operators. Without code because Jeff says that is better.
weak construction is bad.
|
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
Referenced by ~DivergenceStencil().
|
private |
deep copy for this object would kill performance
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |