Chombo + EB  3.2
Public Member Functions | Private Attributes | List of all members
MixedViscousTensorDomainBC Class Reference

#include <MixedViscousTensorDomainBC.H>

Inheritance diagram for MixedViscousTensorDomainBC:
Inheritance graph
[legend]

Public Member Functions

 MixedViscousTensorDomainBC ()
 
virtual ~MixedViscousTensorDomainBC ()
 
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)
 
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)
 
void setStartDirichlet (const Real &a_startDirichlet)
 
virtual void fillVelGhost (FArrayBox &a_phi, const Box &a_valid, const Box &a_domain, Real a_dx, bool a_homogeneous)
 
- Public Member Functions inherited from ViscousBaseDomainBC
 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)
 
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 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 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
 

Private Attributes

Real m_startDirichlet
 

Additional Inherited Members

- Protected Attributes inherited from ViscousBaseDomainBC
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

◆ MixedViscousTensorDomainBC()

MixedViscousTensorDomainBC::MixedViscousTensorDomainBC ( )
inline

set default start length to huge so it defaults to Neumann

References m_startDirichlet.

◆ ~MixedViscousTensorDomainBC()

virtual MixedViscousTensorDomainBC::~MixedViscousTensorDomainBC ( )
inlinevirtual

References getFaceFlux().

Member Function Documentation

◆ getFaceFlux() [1/2]

virtual void MixedViscousTensorDomainBC::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 
)
virtual

Implements BaseDomainBC.

Referenced by ~MixedViscousTensorDomainBC().

◆ getFaceFlux() [2/2]

virtual void MixedViscousTensorDomainBC::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 
)
virtual

This is used by the elliptic solvers to get the flux of stuff through domain faces.

Implements BaseDomainBC.

◆ setStartDirichlet()

void MixedViscousTensorDomainBC::setStartDirichlet ( const Real a_startDirichlet)
inline

References m_startDirichlet.

◆ fillVelGhost()

virtual void MixedViscousTensorDomainBC::fillVelGhost ( FArrayBox a_phi,
const Box a_valid,
const Box a_domain,
Real  a_dx,
bool  a_homogeneous 
)
inlinevirtual

Member Data Documentation

◆ m_startDirichlet

Real MixedViscousTensorDomainBC::m_startDirichlet
private

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