DivergenceStencil Class Reference

#include <DivergenceStencil.H>

List of all members.


Detailed Description

stencil to evaluate the conservative divergence of a flux

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

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


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

Generated on Thu Aug 17 03:27:11 2017 for Chombo + EB + MF by  doxygen 1.5.5