13 #ifndef _EBLEVELGODUNOV_H_ 14 #define _EBLEVELGODUNOV_H_ 25 #include "NamespaceHeader.H" 67 const bool& a_useMassRedist,
68 const bool& a_doSmushing,
69 const bool& a_doRZCoords,
70 const bool& a_hasSourceTerm,
72 const bool& a_hasCoarser,
73 const bool& a_hasFiner,
75 const bool& a_forceNoEBCF =
false 123 const Real& a_coarTimeOld,
124 const Real& a_coarTimeNew);
189 #include "NamespaceFooter.H"
Real doIrregularUpdate(EBFluxRegister &a_fineFluxRegister, EBFluxRegister &a_coarFluxRegister, LevelData< BaseIVFAB< Real > > &a_massDiff, Real a_time, Real a_dt, LevelData< EBCellFAB > &a_consState)
bool m_hasSourceTerm
Definition: EBLevelGodunov.H:173
Definition: EBPatchGodunovFactory.H:20
Real step(LevelData< EBCellFAB > &a_consState, LevelData< BaseIVFAB< Real > > &a_massDiff, EBFluxRegister &a_fineFluxRegister, EBFluxRegister &a_coarFluxRegister, const LevelData< EBCellFAB > &a_consStateCoarseOld, const LevelData< EBCellFAB > &a_consStateCoarseNew, const Real &a_time, const Real &a_TCold, const Real &a_TCNew, const Real &a_dt)
Take one timestep for this grid level.
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
EBLevelGodunov()
Default constructor.
EBLevelRedist m_ebLevelRedist
Definition: EBLevelGodunov.H:169
static int s_timestep
Definition: EBLevelGodunov.H:170
LevelData< BaseIVFAB< Real > > m_nonConsDivergence
Definition: EBLevelGodunov.H:148
bool m_useMassRedist
Definition: EBLevelGodunov.H:168
bool m_isDefined
Definition: EBLevelGodunov.H:157
Definition: AggEBPWLFillPatch.H:36
LayoutData< EBPatchGodunov * > m_ebPatchGodunov
Definition: EBLevelGodunov.H:158
EBLevelGodunov(const EBLevelGodunov &a_input)
Definition: EBLevelGodunov.H:183
int m_nFlux
Definition: EBLevelGodunov.H:165
void define(const DisjointBoxLayout &a_thisDBL, const DisjointBoxLayout &a_coarDBL, const EBISLayout &a_thisEBISL, const EBISLayout &a_coarEBISL, const ProblemDomain &a_DProblem, const int &a_nRefine, const RealVect &a_dx, const bool &a_useMassRedist, const bool &a_doSmushing, const bool &a_doRZCoords, const bool &a_hasSourceTerm, const EBPatchGodunovFactory *const a_patchGodunov, const bool &a_hasCoarser, const bool &a_hasFiner, const IntVect &a_ivGhost, const bool &a_forceNoEBCF=false)
Actual constructor.
bool m_doSmushing
Definition: EBLevelGodunov.H:171
DisjointBoxLayout m_coarGrids
Definition: EBLevelGodunov.H:154
EBPatchGodunov * m_ebPatchGodunovSP
Definition: EBLevelGodunov.H:160
void operator=(const EBLevelGodunov &a_input)
Definition: EBLevelGodunov.H:179
EBISLayout m_thisEBISL
Definition: EBLevelGodunov.H:155
~EBLevelGodunov()
Destructor.
const int SpaceDim
Definition: SPACE.H:38
Real getMaxWaveSpeed(const LevelData< EBCellFAB > &a_state)
Get maximum wave speed.
Definition: EBPatchGodunov.H:31
LayoutData< IntVectSet > m_irregSetsSmall
Definition: EBLevelGodunov.H:142
LayoutData< IntVectSet > m_irregSetsGrown[SpaceDim]
Definition: EBLevelGodunov.H:145
IntVect m_ivGhost
Definition: EBLevelGodunov.H:176
LayoutData< IntVectSet > m_cfIVS
Definition: EBLevelGodunov.H:150
int m_refRatCrse
Definition: EBLevelGodunov.H:163
LevelData< BaseIFFAB< Real > > m_fluxInterpolants[SpaceDim]
Definition: EBLevelGodunov.H:147
LevelData< BaseIVFAB< Real > > m_ebIrregFaceFlux
Definition: EBLevelGodunov.H:149
double Real
Definition: REAL.H:33
bool m_forceNoEBCF
Definition: EBLevelGodunov.H:175
bool m_hasFiner
Definition: EBLevelGodunov.H:152
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
void getDrhoDtOverRho(LevelData< EBCellFAB > &a_drhoDt, const LevelData< EBCellFAB > &a_rhoNew, const LevelData< EBCellFAB > &a_rhoOld, const Real &a_dt)
DisjointBoxLayout m_thisGrids
Definition: EBLevelGodunov.H:153
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.
LevelData< EBCellFAB > m_flattening
Definition: EBLevelGodunov.H:174
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
Level Godunov.
Definition: EBLevelGodunov.H:30
void computeFlattening(Real a_time, Real a_dt, LevelData< EBCellFAB > &a_consState)
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
void doRegularUpdate(EBFluxRegister &a_fineFluxRegister, EBFluxRegister &a_coarFluxRegister, Real a_time, Real a_dt, LevelData< EBCellFAB > &a_consState)
bool m_hasCoarser
Definition: EBLevelGodunov.H:151
AggEBPWLFillPatch m_patcher
Definition: EBLevelGodunov.H:167
EBISLayout m_coarEBISL
Definition: EBLevelGodunov.H:156
Definition: EBISLayout.H:39
ProblemDomain m_domain
Definition: EBLevelGodunov.H:162
int m_nCons
Definition: EBLevelGodunov.H:164
int m_nGhost
Definition: EBLevelGodunov.H:166
void fillConsState(LevelData< EBCellFAB > &a_consState, const LevelData< EBCellFAB > &a_consStateCoarseOld, const LevelData< EBCellFAB > &a_consStateCoarseNew, const Real &a_time, const Real &a_coarTimeOld, const Real &a_coarTimeNew)
Definition: EBLevelRedist.H:33
EBFluxRegister-A class to encapsulate a levels worth of flux registers.
Definition: EBFluxRegister.H:37
void floorConserved(LevelData< EBCellFAB > &a_consState, Real a_time, Real a_dt)
RealVect m_dx
Definition: EBLevelGodunov.H:161
bool m_doRZCoords
Definition: EBLevelGodunov.H:172