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

#include <ViscousBaseDomainBC.H>

Inheritance diagram for ViscousBaseDomainBC:
Inheritance graph
[legend]

Public Member Functions

 ViscousBaseDomainBC ()
 
virtual ~ViscousBaseDomainBC ()
 
void setCoef (EBLevelGrid &a_eblg, Real &a_beta, RefCountedPtr< LevelData< EBFluxFAB > > &a_eta, RefCountedPtr< LevelData< EBFluxFAB > > &a_lambda)
 
virtual void getFaceVel (Real &a_faceFlux, const FaceIndex &a_vof, const EBFluxFAB &a_vel, const RealVect &a_probLo, const RealVect &a_dx, const int &a_idir, const int &a_icomp, const Real &a_time, const Side::LoHiSide &a_side)
 
virtual void getFaceGradPhi (Real &a_faceFlux, const FaceIndex &a_face, const int &a_comp, const EBCellFAB &a_phi, const RealVect &a_probLo, const RealVect &a_dx, const int &a_idir, const Side::LoHiSide &a_side, const DataIndex &a_dit, const Real &a_time, const bool &a_useAreaFrac, const RealVect &a_centroid, const bool &a_useHomogeneous)
 
virtual void setValue (Real a_value)
 
virtual void setFunction (RefCountedPtr< BaseBCFuncEval > a_func)
 
void getFluxFromGrad (BaseFab< Real > &a_flux, const FArrayBox &a_grad, const DataIndex &a_dit, const int &a_idir)
 
virtual void fillVelGhost (FArrayBox &a_state, const Box &a_valid, const Box &a_domain, Real a_dx, bool a_homogeneous)=0
 
RealVect bcvaluefunc (const RealVect &a_point, const int &a_dir, const Side::LoHiSide &a_side)
 
- Public Member Functions inherited from BaseDomainBC
 BaseDomainBC ()
 
virtual ~BaseDomainBC ()
 
virtual void getFaceFlux (BaseFab< Real > &a_faceFlux, const BaseFab< Real > &a_phi, const RealVect &a_probLo, const RealVect &a_dx, const int &a_idir, const Side::LoHiSide &a_side, const DataIndex &a_dit, const Real &a_time, const bool &a_useHomogeneous)=0
 
virtual void getFluxStencil (VoFStencil &a_stencil, const VolIndex &a_vof, const int &a_comp, const RealVect &a_dx, const int &a_idir, const Side::LoHiSide &a_side, const EBISBox &a_ebisBox)
 
virtual void getFluxStencil (VoFStencil &a_stencil, const FaceIndex &a_face, const int &a_comp, const RealVect &a_dx, const int &a_idir, const Side::LoHiSide &a_side, const EBISBox &a_ebisBox)
 
virtual void getFaceFlux (Real &a_faceFlux, const VolIndex &a_vof, const int &a_comp, const EBCellFAB &a_phi, const RealVect &a_probLo, const RealVect &a_dx, const int &a_idir, const Side::LoHiSide &a_side, const DataIndex &a_dit, const Real &a_time, const bool &a_useHomogeneous)=0
 
virtual bool isDirichletDom (const VolIndex &a_ivof, const VolIndex &a_jvof, const EBCellFAB &a_phi) const
 
virtual void getInhomFaceFlux (Real &a_faceFlux, const VolIndex &a_vof, const int &a_comp, const EBCellFAB &a_phi, const RealVect &a_probLo, const RealVect &a_dx, const int &a_idir, const Side::LoHiSide &a_side, const DataIndex &a_dit, const Real &a_time)
 
virtual void enforceFaceVel (LevelData< EBFluxFAB > &a_velocity, const DisjointBoxLayout &a_grids, const EBISLayout &a_ebisl, const ProblemDomain &a_domain, const RealVect &a_dx, const Real &a_time, const RealVect &a_origin)
 
virtual void enforceFaceVel (LevelData< EBFluxFAB > &a_velocity, const DisjointBoxLayout &a_grids, const EBISLayout &a_ebisl, const ProblemDomain &a_domain, const RealVect &a_dx, const Real &a_time, const RealVect &a_origin, const int &a_comp)
 
virtual void setData (LevelData< EBCellFAB > *a_data)
 
bool dataBased () const
 

Protected Attributes

bool m_onlyHomogeneous
 
bool m_isFunction
 
Real m_value
 
RefCountedPtr< BaseBCFuncEvalm_func
 
Real m_beta
 
bool m_coefSet
 
EBLevelGrid m_eblg
 
RefCountedPtr< LevelData< EBFluxFAB > > m_eta
 
RefCountedPtr< LevelData< EBFluxFAB > > m_lambda
 
- Protected Attributes inherited from BaseDomainBC
LevelData< EBCellFAB > * m_data
 
bool m_dataBased
 

Constructor & Destructor Documentation

◆ ViscousBaseDomainBC()

ViscousBaseDomainBC::ViscousBaseDomainBC ( )
inline

References m_coefSet, m_func, m_isFunction, and m_value.

◆ ~ViscousBaseDomainBC()

virtual ViscousBaseDomainBC::~ViscousBaseDomainBC ( )
inlinevirtual

Member Function Documentation

◆ setCoef()

void ViscousBaseDomainBC::setCoef ( EBLevelGrid a_eblg,
Real a_beta,
RefCountedPtr< LevelData< EBFluxFAB > > &  a_eta,
RefCountedPtr< LevelData< EBFluxFAB > > &  a_lambda 
)
inline

References m_beta, m_coefSet, m_eblg, m_eta, and m_lambda.

◆ getFaceVel()

virtual void ViscousBaseDomainBC::getFaceVel ( Real a_faceFlux,
const FaceIndex a_vof,
const EBFluxFAB a_vel,
const RealVect a_probLo,
const RealVect a_dx,
const int &  a_idir,
const int &  a_icomp,
const Real a_time,
const Side::LoHiSide a_side 
)
inlinevirtual

This is used by the projections to get velocity at domain faces.

Reimplemented from BaseDomainBC.

References MayDay::Error().

◆ getFaceGradPhi()

virtual void ViscousBaseDomainBC::getFaceGradPhi ( Real a_faceFlux,
const FaceIndex a_face,
const int &  a_comp,
const EBCellFAB a_phi,
const RealVect a_probLo,
const RealVect a_dx,
const int &  a_idir,
const Side::LoHiSide a_side,
const DataIndex a_dit,
const Real a_time,
const bool &  a_useAreaFrac,
const RealVect a_centroid,
const bool &  a_useHomogeneous 
)
inlinevirtual

This is used by the projections to get a) grad(phi) at domain faces.

Implements BaseDomainBC.

References MayDay::Error().

◆ setValue()

virtual void ViscousBaseDomainBC::setValue ( Real  a_value)
inlinevirtual

References m_func, m_isFunction, and m_value.

◆ setFunction()

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

References m_func, m_isFunction, and m_value.

◆ getFluxFromGrad()

void ViscousBaseDomainBC::getFluxFromGrad ( BaseFab< Real > &  a_flux,
const FArrayBox a_grad,
const DataIndex a_dit,
const int &  a_idir 
)
inline

◆ fillVelGhost()

virtual void ViscousBaseDomainBC::fillVelGhost ( FArrayBox a_state,
const Box a_valid,
const Box a_domain,
Real  a_dx,
bool  a_homogeneous 
)
pure virtual

◆ bcvaluefunc()

RealVect ViscousBaseDomainBC::bcvaluefunc ( const RealVect a_point,
const int &  a_dir,
const Side::LoHiSide a_side 
)
inline

Member Data Documentation

◆ m_onlyHomogeneous

bool ViscousBaseDomainBC::m_onlyHomogeneous
protected

◆ m_isFunction

bool ViscousBaseDomainBC::m_isFunction
protected

◆ m_value

Real ViscousBaseDomainBC::m_value
protected

◆ m_func

RefCountedPtr<BaseBCFuncEval> ViscousBaseDomainBC::m_func
protected

◆ m_beta

Real ViscousBaseDomainBC::m_beta
protected

Referenced by setCoef().

◆ m_coefSet

bool ViscousBaseDomainBC::m_coefSet
protected

Referenced by setCoef(), and ViscousBaseDomainBC().

◆ m_eblg

EBLevelGrid ViscousBaseDomainBC::m_eblg
protected

Referenced by setCoef().

◆ m_eta

RefCountedPtr<LevelData<EBFluxFAB> > ViscousBaseDomainBC::m_eta
protected

Referenced by getFluxFromGrad(), and setCoef().

◆ m_lambda

RefCountedPtr<LevelData<EBFluxFAB> > ViscousBaseDomainBC::m_lambda
protected

Referenced by getFluxFromGrad(), and setCoef().


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