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::BaseEBBC ( )
inline

References m_dataBased.

◆ ~BaseEBBC()

virtual BaseEBBC::~BaseEBBC ( )
inlinevirtual

References define().

Member Function Documentation

◆ define()

virtual void BaseEBBC::define ( const LayoutData< IntVectSet > &  a_cfivs,
const Real a_factor 
)
pure virtual

◆ getEBFlux()

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

◆ getFluxStencil()

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(), EBConductivityOp::getEBBCFluxStencil(), and getEBFlux().

◆ applyEBFlux()

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

◆ setData()

virtual void BaseEBBC::setData ( RefCountedPtr< LevelData< BaseIVFAB< Real > > > &  a_data)
inlinevirtual

References m_data, and m_dataBased.

◆ dataBased()

bool BaseEBBC::dataBased ( ) const
inline

References m_dataBased.

◆ setType()

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

Member Data Documentation

◆ m_data

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

◆ m_dataBased

bool BaseEBBC::m_dataBased
protected

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