Chombo + EB + MF  3.2
Public Member Functions | Protected Attributes | List of all members
ViscousBaseEBBC Class Reference

#include <BaseEBBC.H>

Inheritance diagram for ViscousBaseEBBC:
Inheritance graph
[legend]

Public Member Functions

 ViscousBaseEBBC ()
 
virtual ~ViscousBaseEBBC ()
 
void setCoef (EBLevelGrid &a_eblg, Real &a_beta, RefCountedPtr< LevelData< BaseIVFAB< Real > > > &a_eta, RefCountedPtr< LevelData< BaseIVFAB< Real > > > &a_lambda, RefCountedPtr< LevelData< EBFluxFAB > > &a_etaOpen, RefCountedPtr< LevelData< EBFluxFAB > > &a_lambdaOpen)
 
virtual void setValue (Real a_value)
 
virtual void setFunction (RefCountedPtr< BaseBCFuncEval > a_func)
 
void getBoundaryGrad (Real a_grad[CH_SPACEDIM][CH_SPACEDIM], const VolIndex &a_vof, const RealVect &a_dx, const RealVect &a_probLo, const EBISBox &a_ebisBox)
 
void getFluxFromGrad (Real a_flux[CH_SPACEDIM][CH_SPACEDIM], const Real a_grad[CH_SPACEDIM][CH_SPACEDIM], const VolIndex &a_vof, const DataIndex &a_dit)
 
void getChangeInSolution (Real a_deltaLph[CH_SPACEDIM], const Real a_flux[CH_SPACEDIM][CH_SPACEDIM], const RealVect &a_dx, const VolIndex &a_vof, const DataIndex &a_dit, const EBISBox &a_ebisBox)
 
- Public Member Functions inherited from BaseEBBC
 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

bool m_isFunction
 
Real m_value
 
RefCountedPtr< BaseBCFuncEvalm_func
 
EBLevelGrid m_eblg
 
bool m_coefSet
 
Real m_beta
 
RefCountedPtr< LevelData
< BaseIVFAB< Real > > > 
m_eta
 
RefCountedPtr< LevelData
< BaseIVFAB< Real > > > 
m_lambda
 
RefCountedPtr< LevelData
< EBFluxFAB > > 
m_etaOpen
 
RefCountedPtr< LevelData
< EBFluxFAB > > 
m_lambdaOpen
 
- Protected Attributes inherited from BaseEBBC
RefCountedPtr< LevelData
< BaseIVFAB< Real > > > 
m_data
 
bool m_dataBased
 

Constructor & Destructor Documentation

ViscousBaseEBBC::ViscousBaseEBBC ( )
inline

References m_coefSet, m_func, m_isFunction, and m_value.

virtual ViscousBaseEBBC::~ViscousBaseEBBC ( )
inlinevirtual

Member Function Documentation

void ViscousBaseEBBC::setCoef ( EBLevelGrid a_eblg,
Real a_beta,
RefCountedPtr< LevelData< BaseIVFAB< Real > > > &  a_eta,
RefCountedPtr< LevelData< BaseIVFAB< Real > > > &  a_lambda,
RefCountedPtr< LevelData< EBFluxFAB > > &  a_etaOpen,
RefCountedPtr< LevelData< EBFluxFAB > > &  a_lambdaOpen 
)
inline
virtual void ViscousBaseEBBC::setValue ( Real  a_value)
inlinevirtual

References m_func, m_isFunction, and m_value.

virtual void ViscousBaseEBBC::setFunction ( RefCountedPtr< BaseBCFuncEval a_func)
inlinevirtual

References m_func, m_isFunction, and m_value.

void ViscousBaseEBBC::getBoundaryGrad ( Real  a_grad[CH_SPACEDIM][CH_SPACEDIM],
const VolIndex a_vof,
const RealVect a_dx,
const RealVect a_probLo,
const EBISBox a_ebisBox 
)
inline
void ViscousBaseEBBC::getFluxFromGrad ( Real  a_flux[CH_SPACEDIM][CH_SPACEDIM],
const Real  a_grad[CH_SPACEDIM][CH_SPACEDIM],
const VolIndex a_vof,
const DataIndex a_dit 
)
inline

References SpaceDim.

void ViscousBaseEBBC::getChangeInSolution ( Real  a_deltaLph[CH_SPACEDIM],
const Real  a_flux[CH_SPACEDIM][CH_SPACEDIM],
const RealVect a_dx,
const VolIndex a_vof,
const DataIndex a_dit,
const EBISBox a_ebisBox 
)
inline

Member Data Documentation

bool ViscousBaseEBBC::m_isFunction
protected
Real ViscousBaseEBBC::m_value
protected
RefCountedPtr<BaseBCFuncEval> ViscousBaseEBBC::m_func
protected
EBLevelGrid ViscousBaseEBBC::m_eblg
protected

Referenced by setCoef().

bool ViscousBaseEBBC::m_coefSet
protected

Referenced by setCoef(), and ViscousBaseEBBC().

Real ViscousBaseEBBC::m_beta
protected

Referenced by getChangeInSolution(), and setCoef().

RefCountedPtr<LevelData<BaseIVFAB<Real> > > ViscousBaseEBBC::m_eta
protected

Referenced by setCoef().

RefCountedPtr<LevelData<BaseIVFAB<Real> > > ViscousBaseEBBC::m_lambda
protected

Referenced by setCoef().

RefCountedPtr<LevelData<EBFluxFAB > > ViscousBaseEBBC::m_etaOpen
protected

Referenced by setCoef().

RefCountedPtr<LevelData<EBFluxFAB > > ViscousBaseEBBC::m_lambdaOpen
protected

Referenced by setCoef().


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