#include <BaseDomainBC.H>
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) |
Protected Attributes | |
bool | m_isFunction |
Real | m_value |
RefCountedPtr< BaseBCFuncEval > | m_func |
Real | m_beta |
bool | m_coefSet |
EBLevelGrid | m_eblg |
RefCountedPtr< LevelData < EBFluxFAB > > | m_eta |
RefCountedPtr< LevelData < EBFluxFAB > > | m_lambda |
ViscousBaseDomainBC::ViscousBaseDomainBC | ( | ) | [inline] |
References m_coefSet, m_func, m_isFunction, and m_value.
virtual ViscousBaseDomainBC::~ViscousBaseDomainBC | ( | ) | [inline, virtual] |
void ViscousBaseDomainBC::setCoef | ( | EBLevelGrid & | a_eblg, | |
Real & | a_beta, | |||
RefCountedPtr< LevelData< EBFluxFAB > > & | a_eta, | |||
RefCountedPtr< LevelData< EBFluxFAB > > & | a_lambda | |||
) | [inline] |
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 | |||
) | [inline, virtual] |
This is used by the projections to get velocity at domain faces.
Implements BaseDomainBC.
References MayDay::Error().
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 | |||
) | [inline, virtual] |
This is used by the projections to get a) grad(phi) at domain faces. b) or rhoinv*grad(phi) at domain faces.
Implements BaseDomainBC.
References MayDay::Error().
virtual void ViscousBaseDomainBC::setValue | ( | Real | a_value | ) | [inline, virtual] |
References m_func, m_isFunction, and m_value.
virtual void ViscousBaseDomainBC::setFunction | ( | RefCountedPtr< BaseBCFuncEval > | a_func | ) | [inline, virtual] |
References m_func, m_isFunction, and m_value.
void ViscousBaseDomainBC::getFluxFromGrad | ( | BaseFab< Real > & | a_flux, | |
const FArrayBox & | a_grad, | |||
const DataIndex & | a_dit, | |||
const int & | a_idir | |||
) |
bool ViscousBaseDomainBC::m_isFunction [protected] |
Referenced by setFunction(), setValue(), and ViscousBaseDomainBC().
Real ViscousBaseDomainBC::m_value [protected] |
Referenced by setFunction(), setValue(), and ViscousBaseDomainBC().
RefCountedPtr<BaseBCFuncEval> ViscousBaseDomainBC::m_func [protected] |
Referenced by setFunction(), setValue(), and ViscousBaseDomainBC().
Real ViscousBaseDomainBC::m_beta [protected] |
Referenced by setCoef().
bool ViscousBaseDomainBC::m_coefSet [protected] |
Referenced by setCoef(), and ViscousBaseDomainBC().
EBLevelGrid ViscousBaseDomainBC::m_eblg [protected] |
Referenced by setCoef().
RefCountedPtr<LevelData<EBFluxFAB> > ViscousBaseDomainBC::m_eta [protected] |
Referenced by setCoef().
RefCountedPtr<LevelData<EBFluxFAB> > ViscousBaseDomainBC::m_lambda [protected] |
Referenced by setCoef().