11 #ifndef _AMRLEVELPOLYTROPICGAS_H_ 12 #define _AMRLEVELPOLYTROPICGAS_H_ 28 #include "NamespaceHeader.H" 52 const Real& a_domainLength,
54 const int& a_verbosity,
56 const Real& a_refineThresh,
58 const int& a_tagBufferSize,
60 const Real& a_initialDtMultiplier,
64 const int& a_normalPredOrder,
66 const bool& a_useFourthOrderSlopes,
68 const bool& a_usePrimLimiting,
70 const bool& a_useCharLimiting,
72 const bool& a_useFlattening,
74 const bool& a_useArtificialViscosity,
76 const Real& a_artificialViscosity,
78 const bool& a_useSourceTerm,
80 const Real& a_sourceTermScaling,
82 const bool& a_highOrderLimiter);
88 const Box& a_problemDomain,
291 #include "NamespaceFooter.H" replaces coarse level data with an average of fine level data.
Definition: CoarseAverage.H:30
virtual void tagCellsInit(IntVectSet &a_tags)
Create tags at initialization.
bool m_hasFiner
Definition: AMRLevelPolytropicGas.H:276
virtual void writeCheckpointHeader(HDF5Handle &a_handle) const
Write checkpoint header.
AMR Godunov.
Definition: AMRLevelPolytropicGas.H:33
bool m_paramsDefined
Definition: AMRLevelPolytropicGas.H:282
bool m_useCharLimiting
Definition: AMRLevelPolytropicGas.H:252
virtual void regrid(const Vector< Box > &a_newGrids)
Set up data on this level after regridding.
virtual void define(AMRLevel *a_coarserLevelPtr, const Box &a_problemDomain, int a_level, int a_refRatio)
This instance should never get called - historical.
An irregular domain on an integer lattice.
Definition: IntVectSet.H:44
AMRLevelPolytropicGas * getCoarserLevel() const
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
int m_tagBufferSize
Definition: AMRLevelPolytropicGas.H:272
Real m_dtNew
Definition: AMRLevelPolytropicGas.H:221
bool m_useFlattening
Definition: AMRLevelPolytropicGas.H:255
bool m_hasCoarser
Definition: AMRLevelPolytropicGas.H:275
Real m_dx
Definition: AMRLevelPolytropicGas.H:212
bool m_useFourthOrderSlopes
Definition: AMRLevelPolytropicGas.H:248
const LevelData< FArrayBox > & getStateNew() const
virtual void postTimeStep()
Things to do after a timestep.
LevelFluxRegister m_fluxRegister
Definition: AMRLevelPolytropicGas.H:239
Abstract base class for time-dependent data at a level of refinement.
Definition: AMRLevel.H:47
LevelData< FArrayBox > m_UNew
Definition: AMRLevelPolytropicGas.H:206
Real m_domainLength
Definition: AMRLevelPolytropicGas.H:233
virtual Real computeInitialDt()
Compute dt using initial data.
int m_numGhost
Definition: AMRLevelPolytropicGas.H:230
virtual void initialData()
Initialize data.
virtual void tagCells(IntVectSet &a_tags)
Create tags for regridding.
Vector< string > m_stateNames
Definition: AMRLevelPolytropicGas.H:227
replaces fine level data with interpolation of coarse level data.
Definition: FineInterp.H:32
virtual Real computeDt()
Returns the dt computed earlier for this level.
int m_numStates
Definition: AMRLevelPolytropicGas.H:224
void defineParams(const Real &a_cfl, const Real &a_domainLength, const int &a_verbosity, const Real &a_refineThresh, const int &a_tagBufferSize, const Real &a_initialDtMultiplier, const GodunovPhysics *const a_godunovPhysics, const int &a_normalPredOrder, const bool &a_useFourthOrderSlopes, const bool &a_usePrimLimiting, const bool &a_useCharLimiting, const bool &a_useFlattening, const bool &a_useArtificialViscosity, const Real &a_artificialViscosity, const bool &a_useSourceTerm, const Real &a_sourceTermScaling, const bool &a_highOrderLimiter)
Define the parameters the object needs.
virtual void writePlotLevel(HDF5Handle &a_handle) const
Write plotfile data for this level.
void operator=(const AMRLevelPolytropicGas &)
Real m_refineThresh
Definition: AMRLevelPolytropicGas.H:269
double Real
Definition: REAL.H:33
virtual void readCheckpointLevel(HDF5Handle &a_handle)
Read checkpoint data for this level.
virtual void writeCheckpointLevel(HDF5Handle &a_handle) const
Write checkpoint data for this level.
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
const LevelData< FArrayBox > & getStateOld() const
virtual Real advance()
Advance by one timestep.
DisjointBoxLayout loadBalance(const Vector< Box > &a_grids)
Definition: GodunovPhysics.H:40
LevelFluxRegister-A class to encapsulate a levels worth of flux registers.
Definition: LevelFluxRegister.H:29
virtual void writePlotHeader(HDF5Handle &a_handle) const
Write plotfile header.
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469
virtual void postInitialize()
Things to do after initialization.
Handle to a particular group in an HDF file.
Definition: CH_HDF5.H:294
bool m_highOrderLimiter
Definition: AMRLevelPolytropicGas.H:266
virtual void initialGrid(const Vector< Box > &a_newGrids)
Initialize grids.
bool m_useArtificialViscosity
Definition: AMRLevelPolytropicGas.H:258
int m_normalPredOrder
Definition: AMRLevelPolytropicGas.H:245
virtual ~AMRLevelPolytropicGas()
Destructor.
CoarseAverage m_coarseAverage
Definition: AMRLevelPolytropicGas.H:218
LevelData< FArrayBox > m_UOld
Definition: AMRLevelPolytropicGas.H:206
bool m_useSourceTerm
Definition: AMRLevelPolytropicGas.H:262
bool m_usePrimLimiting
Definition: AMRLevelPolytropicGas.H:251
GodunovPhysics * m_gdnvPhysics
Definition: AMRLevelPolytropicGas.H:242
FineInterp m_fineInterp
Definition: AMRLevelPolytropicGas.H:215
LevelGodunov m_levelGodunov
Definition: AMRLevelPolytropicGas.H:236
Real m_cfl
Definition: AMRLevelPolytropicGas.H:209
Level Godunov - really a hyperbolic level integrator.
Definition: LevelGodunov.H:29
AMRLevelPolytropicGas()
Constructor.
Real m_sourceTermScaling
Definition: AMRLevelPolytropicGas.H:263
AMRLevelPolytropicGas * getFinerLevel() const
virtual void readCheckpointHeader(HDF5Handle &a_handle)
Read checkpoint header.
Real m_artificialViscosity
Definition: AMRLevelPolytropicGas.H:259
DisjointBoxLayout m_grids
Definition: AMRLevelPolytropicGas.H:279