11 #ifndef _BASEDOMAINBC_H_ 12 #define _BASEDOMAINBC_H_ 26 #include "NamespaceHeader.H" 59 const bool& a_useHomogeneous) = 0;
100 const bool& a_useHomogeneous) = 0;
113 MayDay::Error(
"BaseDomainBC:: isDirichletDom:: default implementation is invalid");
152 const bool& a_useAreaFrac,
154 const bool& a_useHomogeneous) = 0;
164 const bool& a_doDivFreeOutflow);
173 const bool& a_doDivFreeOutflow,
190 const bool& a_doDivFreeOutflow) = 0;
206 m_value = 12345.6789;
208 m_isFunction =
false;
238 const bool& a_doDivFreeOutflow)
253 const bool& a_useAreaFrac,
255 const bool& a_useHomogeneous)
268 m_isFunction =
false;
277 m_value = 12345.6789;
367 #include "NamespaceFooter.H" 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 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
ViscousBaseDomainBC()
Definition: BaseDomainBC.H:203
RefCountedPtr< BaseBCFuncEval > m_func
Definition: BaseDomainBC.H:293
virtual ~BaseDomainBCFactory()
Definition: BaseDomainBC.H:356
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:130
Definition: BaseDomainBC.H:31
RefCountedPtr< LevelData< EBFluxFAB > > m_eta
Definition: BaseDomainBC.H:298
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)
Definition: BaseDomainBC.H:243
Definition: FaceIndex.H:28
RefCountedPtr< LevelData< EBFluxFAB > > m_bcoef
Definition: BaseDomainBC.H:338
Definition: BaseDomainBC.H:305
virtual ~ViscousBaseDomainBC()
Definition: BaseDomainBC.H:211
Definition: EBLevelGrid.H:30
ConductivityBaseDomainBC()
Definition: BaseDomainBC.H:311
Real m_beta
Definition: BaseDomainBC.H:337
virtual ~BaseDomainBC()
Definition: BaseDomainBC.H:44
virtual bool isDirichletDom(const VolIndex &a_ivof, const VolIndex &a_jvof, const EBCellFAB &a_phi) const
Definition: BaseDomainBC.H:109
virtual ~ConductivityBaseDomainBC()
Definition: BaseDomainBC.H:316
bool m_coefSet
Definition: BaseDomainBC.H:296
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)
Definition: BaseDomainBC.H:123
VoF-centered stencil.
Definition: Stencils.H:59
Definition: BaseDomainBC.H:197
A EBFaceFAB-like container for edge-centered fluxes.
Definition: EBFluxFAB.H:25
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)
Definition: BaseDomainBC.H:63
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)
Definition: BaseDomainBC.H:229
Definition: EBCellFAB.H:29
EBLevelGrid m_eblg
Definition: BaseDomainBC.H:297
double Real
Definition: REAL.H:33
virtual void setFunction(RefCountedPtr< BaseBCFuncEval > a_func)
Definition: BaseDomainBC.H:275
Definition: BaseDomainBC.H:343
BaseDomainBC()
Definition: BaseDomainBC.H:37
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)=0
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)
Definition: BaseDomainBC.H:74
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:31
Real m_value
Definition: BaseDomainBC.H:292
LoHiSide
Definition: LoHiSide.H:27
static void Error(const char *const a_msg=m_nullString, int m_exitCode=CH_DEFAULT_ERROR_CODE)
Print out message to cerr and exit with the specified exit code.
BaseDomainBCFactory()
Definition: BaseDomainBC.H:349
void setCoef(EBLevelGrid &a_eblg, Real &a_beta, RefCountedPtr< LevelData< EBFluxFAB > > &a_eta, RefCountedPtr< LevelData< EBFluxFAB > > &a_lambda)
Definition: BaseDomainBC.H:217
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
bool m_coefSet
Definition: BaseDomainBC.H:335
Definition: DataIndex.H:112
EBLevelGrid m_eblg
Definition: BaseDomainBC.H:336
Real m_beta
Definition: BaseDomainBC.H:295
virtual void setValue(Real a_value)
Definition: BaseDomainBC.H:263
Definition: FArrayBox.H:44
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)=0
Volume of Fluid Index.
Definition: VolIndex.H:31
bool m_isFunction
Definition: BaseDomainBC.H:289
Definition: EBISLayout.H:39
RefCountedPtr< LevelData< EBFluxFAB > > m_lambda
Definition: BaseDomainBC.H:299
void setCoef(EBLevelGrid &a_eblg, Real &a_beta, RefCountedPtr< LevelData< EBFluxFAB > > &a_bcoef)
Definition: BaseDomainBC.H:323