Chombo + EB  3.0
Public Member Functions | Protected Attributes | List of all members
ViscousBaseDomainBC Class Reference

#include <BaseDomainBC.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, const bool &a_doDivFreeOutflow)
 
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)
 
- 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, const bool &a_doDivFreeOutflow)
 
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 bool &a_doDivFreeOutflow, const int &a_comp)
 

Protected Attributes

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
 

Constructor & Destructor Documentation

◆ ViscousBaseDomainBC()

ViscousBaseDomainBC::ViscousBaseDomainBC ( )
inline

◆ ~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

◆ 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,
const bool &  a_doDivFreeOutflow 
)
inlinevirtual

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

Implements 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

◆ setFunction()

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

◆ getFluxFromGrad()

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

Member Data Documentation

◆ 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

◆ m_coefSet

bool ViscousBaseDomainBC::m_coefSet
protected

◆ m_eblg

EBLevelGrid ViscousBaseDomainBC::m_eblg
protected

◆ m_eta

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

◆ m_lambda

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

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