11 #ifndef _EBAMRGODUNOV_H_ 12 #define _EBAMRGODUNOV_H_ 30 #include "NamespaceHeader.H" 51 const int& a_ivar)
const;
54 const Box& a_problem_domain,
101 void dumpDebug(
const string& a_debstring);
167 void tagAll(
bool a_tagAll);
280 #include "NamespaceFooter.H" bool m_useMassRedist
Definition: EBAMRGodunov.H:187
LevelData< EBCellFAB > m_stateNew
Definition: EBAMRGodunov.H:201
virtual void tagBufferSize(int a_tag_buffer_size)
tag buffer size
virtual Real computeInitialDt()
compute dt with initial data
virtual void tagCellsInit(IntVectSet &a_tags)
create tags at initialization
virtual void domainLength(RealVect a_domainLength)
longest length of the domain in real space
virtual void tagCells(IntVectSet &a_tags)
create tags
Definition: EBPatchGodunovFactory.H:20
replaces coarse level data with an average of fine level data.
Definition: EBCoarseAverage.H:38
static void setLoadBalance(LoadBalanceFunc a_func)
Definition: EBAMRGodunov.H:177
virtual void writePlotLevel(HDF5Handle &a_handle) const
write plot file data for this level
An irregular domain on an integer lattice.
Definition: IntVectSet.H:44
virtual void readCheckpointHeader(HDF5Handle &a_handle)
read checkpoint header
int m_nComp
Definition: EBAMRGodunov.H:204
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
virtual void doRZCoords(bool a_doRZCoords)
EBFineToCoarRedist m_ebFineToCoarRedist
Definition: EBAMRGodunov.H:253
bool m_hasSourceTerm
Definition: EBAMRGodunov.H:260
EBAMRGodunov * getFinerLevel() const
virtual void CFL(Real a_cfl)
CFL.
virtual void initialData()
initialize data
EBCoarToCoarRedist m_ebCoarToCoarRedist
Definition: EBAMRGodunov.H:252
bool m_tagAll
Definition: EBAMRGodunov.H:186
RealVect m_domainLength
Definition: EBAMRGodunov.H:217
Definition: EBAMRGodunov.H:42
EBISLayout m_ebisl
Definition: EBAMRGodunov.H:195
virtual void fillConsAndPrim(LevelData< EBCellFAB > &a_data) const
Abstract base class for time-dependent data at a level of refinement.
Definition: AMRLevel.H:47
virtual void useMassRedistribution(bool a_useMassRedist)
RedistStencil m_redStencil
Definition: EBAMRGodunov.H:250
Coarse to fine redistribution class.
Definition: EBCoarToFineRedist.H:35
virtual void writeCheckpointHeader(HDF5Handle &a_handle) const
write checkpoint header
virtual void postTimeStep()
things to do after a timestep
void writePlotHeaderOld(HDF5Handle &a_handle) const
bool m_hasFiner
Definition: EBAMRGodunov.H:263
bool m_isDefined
Definition: EBAMRGodunov.H:264
int m_nGhost
Definition: EBAMRGodunov.H:206
virtual void doSmushing(bool a_doSmushing)
Definition: EBPatchGodunov.H:31
virtual void patchGodunov(const EBPatchGodunovFactory *const a_ebpatchGodunovFactory)
object for physics integration
EBPatchGodunov * m_ebPatchGodunov
Definition: EBAMRGodunov.H:238
EBLevelGodunov m_ebLevelGodunov
Definition: EBAMRGodunov.H:232
RealVect m_dx
Definition: EBAMRGodunov.H:213
Real m_dtNew
Definition: EBAMRGodunov.H:223
virtual void syncWithFineLevel()
setup fine->coarse stuff
void sumConserved(Real &a_sumcons, const int &a_ivar) const
LevelData< EBCellFAB > m_stateOld
Definition: EBAMRGodunov.H:198
int m_tagBufferSize
Definition: EBAMRGodunov.H:256
virtual void define(AMRLevel *a_coarser_level_ptr, const Box &a_problem_domain, int a_level, int a_ref_ratio)
virtual void postInitialize()
things to do after initialization
EBCoarToFineRedist m_ebCoarToFineRedist
Definition: EBAMRGodunov.H:251
virtual void readCheckpointLevel(HDF5Handle &a_handle)
read checkpoint data for this level
Vector< string > m_primNames
Definition: EBAMRGodunov.H:209
Real calculateMass() const
virtual Real getDt() const
void operator=(const EBAMRGodunov &a_input)
Definition: EBAMRGodunov.H:269
bool m_doSmushing
Definition: EBAMRGodunov.H:261
double Real
Definition: REAL.H:33
Definition: EBCoarToCoarRedist.H:36
void writePlotLevelOld(HDF5Handle &a_handle) const
Definition: EBFineToCoarRedist.H:35
static int s_NewPlotFile
Definition: EBAMRGodunov.H:175
virtual Real advance()
advance by one timestep
static LoadBalanceFunc s_loadBalance
Definition: EBAMRGodunov.H:184
Real m_refineThresh
Definition: EBAMRGodunov.H:244
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
int(* LoadBalanceFunc)(Vector< int > &a_procs, const Vector< Box > &a_boxes, const ProblemDomain &a_domain, bool a_verbose)
interface for load balancing
Definition: EBAMRGodunov.H:33
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.
virtual void writeCheckpointLevel(HDF5Handle &a_handle) const
write checkpoint data for this level
LayoutData< IntVectSet > m_sets
Definition: EBAMRGodunov.H:248
Definition: EBPWLFineInterp.H:31
virtual void levelSetup()
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
Level Godunov.
Definition: EBLevelGodunov.H:30
Real m_cfl
Definition: EBAMRGodunov.H:220
const EBPatchGodunovFactory * m_ebPatchGodunovFactory
Definition: EBAMRGodunov.H:241
stencil for mass redistribution
Definition: RedistStencil.H:38
EBAMRGodunov(const EBAMRGodunov &a_input)
Definition: EBAMRGodunov.H:273
static bool s_isLoadBalanceSet
Definition: EBAMRGodunov.H:185
RealVect m_aspect
Definition: EBAMRGodunov.H:214
EBPWLFineInterp m_ebFineInterp
Definition: EBAMRGodunov.H:229
EBCoarseAverage m_ebCoarseAverage
Definition: EBAMRGodunov.H:226
virtual void redistRadius(int a_redistRad)
redistribution radius
Handle to a particular group in an HDF file.
Definition: CH_HDF5.H:294
LevelData< BaseIVFAB< Real > > m_massDiff
Definition: EBAMRGodunov.H:247
virtual void writePlotHeader(HDF5Handle &a_handle) const
write plotfile header
virtual void initialGrid(const Vector< Box > &a_new_grids)
initialize grids
bool m_doRZCoords
Definition: EBAMRGodunov.H:259
DisjointBoxLayout m_grids
Definition: EBAMRGodunov.H:194
int m_redistRad
Definition: EBAMRGodunov.H:257
Box m_domainBox
Definition: EBAMRGodunov.H:188
LevelData< EBCellFAB > & getStateNew()
virtual Real computeDt()
compute dt
Vector< string > m_stateNames
Definition: EBAMRGodunov.H:208
void tagAll(bool a_tagAll)
Definition: EBISLayout.H:39
LevelData< EBCellFAB > & getStateOld()
virtual void hasSourceTerm(bool a_hasSourceTerm)
RealVect m_origin
Definition: EBAMRGodunov.H:212
EBAMRGodunov * getCoarserLevel() const
EBFluxRegister-A class to encapsulate a levels worth of flux registers.
Definition: EBFluxRegister.H:37
virtual void regrid(const Vector< Box > &a_new_grids)
regrid
EBFluxRegister m_ebFluxRegister
Definition: EBAMRGodunov.H:235
const EBISLayout & getEBISLayout() const
virtual void refinementThreshold(Real a_refine_thresh)
refinement threshold
bool m_hasCoarser
Definition: EBAMRGodunov.H:262