Chombo + EB  3.2
Public Member Functions | Protected Attributes | List of all members
BaseEBBC Class Referenceabstract

#include <BaseEBBC.H>

Inheritance diagram for BaseEBBC:
Inheritance graph
[legend]

Public Member Functions

 BaseEBBC ()
 
virtual ~BaseEBBC ()
 
virtual void define (const LayoutData< IntVectSet > &a_cfivs, const Real &a_factor)=0
 
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)
 deprecated interface. More...
 
virtual LayoutData< BaseIVFAB
< VoFStencil > > * 
getFluxStencil (int ivar)=0
 
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)=0
 
virtual void setData (RefCountedPtr< LevelData< BaseIVFAB< Real > > > &a_data)
 
bool dataBased () const
 
virtual void setType (RefCountedPtr< LevelData< BaseIVFAB< int > > > &a_type)
 

Protected Attributes

RefCountedPtr< LevelData
< BaseIVFAB< Real > > > 
m_data
 
bool m_dataBased
 

Constructor & Destructor Documentation

BaseEBBC::BaseEBBC ( )
inline

References m_dataBased.

virtual BaseEBBC::~BaseEBBC ( )
inlinevirtual

Member Function Documentation

virtual void BaseEBBC::define ( const LayoutData< IntVectSet > &  a_cfivs,
const Real a_factor 
)
pure virtual
virtual void BaseEBBC::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 
)
inlinevirtual
virtual LayoutData<BaseIVFAB<VoFStencil> >* BaseEBBC::getFluxStencil ( int  ivar)
pure 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.

Implemented in NeumannPoissonEBBC, DirichletPoissonEBBC, DirichletViscousTensorEBBC, NeumannViscousTensorEBBC, DirichletConductivityEBBC, and NeumannConductivityEBBC.

Referenced by NWOEBConductivityOp::getEBBCFluxStencil(), and EBConductivityOp::getEBBCFluxStencil().

virtual void BaseEBBC::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 
)
pure virtual
virtual void BaseEBBC::setData ( RefCountedPtr< LevelData< BaseIVFAB< Real > > > &  a_data)
inlinevirtual

References m_data, and m_dataBased.

bool BaseEBBC::dataBased ( ) const
inline

References m_dataBased.

virtual void BaseEBBC::setType ( RefCountedPtr< LevelData< BaseIVFAB< int > > > &  a_type)
inlinevirtual

Member Data Documentation

RefCountedPtr<LevelData<BaseIVFAB<Real> > > BaseEBBC::m_data
protected

Referenced by setData().

bool BaseEBBC::m_dataBased
protected

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