#include <AMRLevelPolytropicGas.H>
Public Member Functions | |
AMRLevelPolytropicGas () | |
Constructor. | |
virtual | ~AMRLevelPolytropicGas () |
Destructor. | |
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 | define (AMRLevel *a_coarserLevelPtr, const Box &a_problemDomain, int a_level, int a_refRatio) |
This instance should never get called - historical. | |
virtual void | define (AMRLevel *a_coarserLevelPtr, const ProblemDomain &a_problemDomain, int a_level, int a_refRatio) |
Define new AMR level. | |
virtual Real | advance () |
Advance by one timestep. | |
virtual void | postTimeStep () |
Things to do after a timestep. | |
virtual void | tagCells (IntVectSet &a_tags) |
Create tags for regridding. | |
virtual void | tagCellsInit (IntVectSet &a_tags) |
Create tags at initialization. | |
virtual void | regrid (const Vector< Box > &a_newGrids) |
Set up data on this level after regridding. | |
virtual void | initialGrid (const Vector< Box > &a_newGrids) |
Initialize grids. | |
virtual void | initialData () |
Initialize data. | |
virtual void | postInitialize () |
Things to do after initialization. | |
virtual Real | computeDt () |
Returns the dt computed earlier for this level. | |
virtual Real | computeInitialDt () |
Compute dt using initial data. | |
const LevelData< FArrayBox > & | getStateNew () const |
const LevelData< FArrayBox > & | getStateOld () const |
bool | allDefined () const |
Protected Member Functions | |
DisjointBoxLayout | loadBalance (const Vector< Box > &a_grids) |
void | levelSetup () |
AMRLevelPolytropicGas * | getCoarserLevel () const |
AMRLevelPolytropicGas * | getFinerLevel () const |
Protected Attributes | |
LevelData< FArrayBox > | m_UOld |
LevelData< FArrayBox > | m_UNew |
Real | m_cfl |
Real | m_dx |
FineInterp | m_fineInterp |
CoarseAverage | m_coarseAverage |
Real | m_dtNew |
int | m_numStates |
Vector< string > | m_stateNames |
int | m_numGhost |
Real | m_domainLength |
LevelGodunov | m_levelGodunov |
LevelFluxRegister | m_fluxRegister |
GodunovPhysics * | m_gdnvPhysics |
int | m_normalPredOrder |
bool | m_useFourthOrderSlopes |
bool | m_usePrimLimiting |
bool | m_useCharLimiting |
bool | m_useFlattening |
bool | m_useArtificialViscosity |
Real | m_artificialViscosity |
bool | m_useSourceTerm |
Real | m_sourceTermScaling |
bool | m_highOrderLimiter |
Real | m_refineThresh |
int | m_tagBufferSize |
bool | m_hasCoarser |
bool | m_hasFiner |
DisjointBoxLayout | m_grids |
bool | m_paramsDefined |
Private Member Functions | |
void | operator= (const AMRLevelPolytropicGas &a_input) |
AMRLevelPolytropicGas (const AMRLevelPolytropicGas &a_input) |
AMRLevelPolytropicGas::AMRLevelPolytropicGas | ( | ) |
Constructor.
virtual AMRLevelPolytropicGas::~AMRLevelPolytropicGas | ( | ) | [virtual] |
Destructor.
AMRLevelPolytropicGas::AMRLevelPolytropicGas | ( | const AMRLevelPolytropicGas & | a_input | ) | [inline, private] |
References MayDay::Error().
void AMRLevelPolytropicGas::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 AMRLevelPolytropicGas::define | ( | AMRLevel * | a_coarserLevelPtr, | |
const ProblemDomain & | a_problemDomain, | |||
int | a_level, | |||
int | a_refRatio | |||
) | [virtual] |
virtual Real AMRLevelPolytropicGas::advance | ( | ) | [virtual] |
virtual void AMRLevelPolytropicGas::postTimeStep | ( | ) | [virtual] |
virtual void AMRLevelPolytropicGas::tagCells | ( | IntVectSet & | a_tags | ) | [virtual] |
virtual void AMRLevelPolytropicGas::tagCellsInit | ( | IntVectSet & | a_tags | ) | [virtual] |
virtual void AMRLevelPolytropicGas::initialData | ( | ) | [virtual] |
virtual void AMRLevelPolytropicGas::postInitialize | ( | ) | [virtual] |
virtual Real AMRLevelPolytropicGas::computeDt | ( | ) | [virtual] |
virtual Real AMRLevelPolytropicGas::computeInitialDt | ( | ) | [virtual] |
bool AMRLevelPolytropicGas::allDefined | ( | ) | const |
DisjointBoxLayout AMRLevelPolytropicGas::loadBalance | ( | const Vector< Box > & | a_grids | ) | [protected] |
void AMRLevelPolytropicGas::levelSetup | ( | ) | [protected] |
AMRLevelPolytropicGas* AMRLevelPolytropicGas::getCoarserLevel | ( | ) | const [protected] |
AMRLevelPolytropicGas* AMRLevelPolytropicGas::getFinerLevel | ( | ) | const [protected] |
void AMRLevelPolytropicGas::operator= | ( | const AMRLevelPolytropicGas & | a_input | ) | [inline, private] |
References MayDay::Error().
LevelData<FArrayBox> AMRLevelPolytropicGas::m_UOld [protected] |
LevelData<FArrayBox> AMRLevelPolytropicGas::m_UNew [protected] |
Real AMRLevelPolytropicGas::m_cfl [protected] |
Real AMRLevelPolytropicGas::m_dx [protected] |
FineInterp AMRLevelPolytropicGas::m_fineInterp [protected] |
CoarseAverage AMRLevelPolytropicGas::m_coarseAverage [protected] |
Real AMRLevelPolytropicGas::m_dtNew [protected] |
int AMRLevelPolytropicGas::m_numStates [protected] |
Vector<string> AMRLevelPolytropicGas::m_stateNames [protected] |
int AMRLevelPolytropicGas::m_numGhost [protected] |
Real AMRLevelPolytropicGas::m_domainLength [protected] |
LevelGodunov AMRLevelPolytropicGas::m_levelGodunov [protected] |
GodunovPhysics* AMRLevelPolytropicGas::m_gdnvPhysics [protected] |
int AMRLevelPolytropicGas::m_normalPredOrder [protected] |
bool AMRLevelPolytropicGas::m_useFourthOrderSlopes [protected] |
bool AMRLevelPolytropicGas::m_usePrimLimiting [protected] |
bool AMRLevelPolytropicGas::m_useCharLimiting [protected] |
bool AMRLevelPolytropicGas::m_useFlattening [protected] |
bool AMRLevelPolytropicGas::m_useArtificialViscosity [protected] |
Real AMRLevelPolytropicGas::m_artificialViscosity [protected] |
bool AMRLevelPolytropicGas::m_useSourceTerm [protected] |
Real AMRLevelPolytropicGas::m_sourceTermScaling [protected] |
bool AMRLevelPolytropicGas::m_highOrderLimiter [protected] |
Real AMRLevelPolytropicGas::m_refineThresh [protected] |
int AMRLevelPolytropicGas::m_tagBufferSize [protected] |
bool AMRLevelPolytropicGas::m_hasCoarser [protected] |
bool AMRLevelPolytropicGas::m_hasFiner [protected] |
DisjointBoxLayout AMRLevelPolytropicGas::m_grids [protected] |
bool AMRLevelPolytropicGas::m_paramsDefined [protected] |