Chombo + EB  3.0
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
DivergenceStencil Class Reference

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...
 
DivergenceStenciloperator= (const DivergenceStencil &stenin)
 deep copy for this object would kill performance More...
 
 DivergenceStencil (const DivergenceStencil &stenin)
 no reason to allow this one either. More...
 

Detailed Description

stencil to evaluate the conservative divergence of a flux

Constructor & Destructor Documentation

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.

Member Function Documentation

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

Member Data Documentation

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

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