|
Public Member Functions |
| AMRLevelMHD () |
| Constructor.
|
virtual | ~AMRLevelMHD () |
| 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_doFilterBField) |
| 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 () |
void | DivergenceB (LevelData< FArrayBox > &a_divb, const LayoutData< FluxBox > &a_WHalf) |
void | ProjectBField (LayoutData< FluxBox > &a_WHalf, const LevelData< FArrayBox > &a_phi) |
void | FilterBFieldOld (LevelData< FArrayBox > &a_U) |
void | FilterBField (LevelData< FArrayBox > &a_U, LevelFluxRegister &a_finerFluxRegister, LevelFluxRegister &a_coarserFluxRegister) |
AMRLevelMHD * | getCoarserLevel () const |
AMRLevelMHD * | getFinerLevel () const |
Protected Attributes |
LevelData< FArrayBox > | m_UOld |
LevelData< FArrayBox > | m_UNew |
LevelData< FArrayBox > | m_Phi |
LevelData< FArrayBox > | m_flux [CH_SPACEDIM] |
LayoutData< FluxBox > | m_whalf |
LevelData< FArrayBox > | m_source |
LevelData< FArrayBox > | m_rhs |
Real | m_cfl |
Real | m_dx |
FineInterp | m_fineInterp |
CoarseAverage | m_coarseAverage |
Real | m_dtNew |
int | m_numStates |
int | m_numPrims |
int | m_numFluxes |
Vector< string > | m_stateNames |
Vector< string > | m_plotNames |
int | m_numGhost |
Real | m_domainLength |
LevelGodunov | m_levelGodunov |
LevelSolver | m_levelSolver |
LevelFluxRegister | m_fluxRegister |
GodunovPhysics * | m_gdnvPhysics |
PoissonOp | m_poissonOp |
int | m_normalPredOrder |
bool | m_useFourthOrderSlopes |
bool | m_usePrimLimiting |
bool | m_useCharLimiting |
bool | m_useFlattening |
bool | m_useArtificialViscosity |
Real | m_artificialViscosity |
bool | m_doFilterBField |
Real | m_refineThresh |
int | m_tagBufferSize |
bool | m_hasCoarser |
bool | m_hasFiner |
DisjointBoxLayout | m_grids |
bool | m_paramsDefined |