13 #ifndef _EBLEVELGODUNOV_H_ 14 #define _EBLEVELGODUNOV_H_ 25 #include "NamespaceHeader.H" 63 const bool& a_useMassRedist,
64 const bool& a_doSmushing,
65 const bool& a_doRZCoords,
66 const bool& a_hasSourceTerm,
68 const bool& a_hasCoarser,
69 const bool& a_hasFiner);
116 const Real& a_coarTimeOld,
117 const Real& a_coarTimeNew);
178 #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:164
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:130
EBLevelGodunov()
Default constructor.
EBLevelRedist m_ebLevelRedist
Definition: EBLevelGodunov.H:160
static int s_timestep
Definition: EBLevelGodunov.H:161
LevelData< BaseIVFAB< Real > > m_nonConsDivergence
Definition: EBLevelGodunov.H:141
bool m_useMassRedist
Definition: EBLevelGodunov.H:159
bool m_isDefined
Definition: EBLevelGodunov.H:150
Definition: EBPWLFillPatch.H:35
EBLevelGodunov(const EBLevelGodunov &a_input)
Definition: EBLevelGodunov.H:172
int m_nFlux
Definition: EBLevelGodunov.H:156
bool m_doSmushing
Definition: EBLevelGodunov.H:162
DisjointBoxLayout m_coarGrids
Definition: EBLevelGodunov.H:147
void operator=(const EBLevelGodunov &a_input)
Definition: EBLevelGodunov.H:168
EBISLayout m_thisEBISL
Definition: EBLevelGodunov.H:148
~EBLevelGodunov()
Destructor.
const int SpaceDim
Definition: SPACE.H:39
Real getMaxWaveSpeed(const LevelData< EBCellFAB > &a_state)
Get maximum wave speed.
Definition: EBPatchGodunov.H:31
LayoutData< IntVectSet > m_irregSetsSmall
Definition: EBLevelGodunov.H:135
EBPatchGodunov * m_ebPatchGodunov
Definition: EBLevelGodunov.H:151
LayoutData< IntVectSet > m_irregSetsGrown[SpaceDim]
Definition: EBLevelGodunov.H:138
LayoutData< IntVectSet > m_cfIVS
Definition: EBLevelGodunov.H:143
int m_refRatCrse
Definition: EBLevelGodunov.H:154
LevelData< BaseIFFAB< Real > > m_fluxInterpolants[SpaceDim]
Definition: EBLevelGodunov.H:140
LevelData< BaseIVFAB< Real > > m_ebIrregFaceFlux
Definition: EBLevelGodunov.H:142
double Real
Definition: REAL.H:33
bool m_hasFiner
Definition: EBLevelGodunov.H:145
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:31
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:146
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:165
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
Level Godunov.
Definition: EBLevelGodunov.H:30
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)
Actual constructor.
EBPWLFillPatch m_patcher
Definition: EBLevelGodunov.H:158
void computeFlattening(Real a_time, Real a_dt, LevelData< EBCellFAB > &a_consState)
void doRegularUpdate(EBFluxRegister &a_fineFluxRegister, EBFluxRegister &a_coarFluxRegister, Real a_time, Real a_dt, LevelData< EBCellFAB > &a_consState)
bool m_hasCoarser
Definition: EBLevelGodunov.H:144
EBISLayout m_coarEBISL
Definition: EBLevelGodunov.H:149
Definition: EBISLayout.H:39
ProblemDomain m_domain
Definition: EBLevelGodunov.H:153
int m_nCons
Definition: EBLevelGodunov.H:155
int m_nGhost
Definition: EBLevelGodunov.H:157
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:31
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:152
bool m_doRZCoords
Definition: EBLevelGodunov.H:163