Chombo + EB + MF
3.2
|
#include <AMRLevelMappedStabilityStrategy.H>
Public Member Functions | |
AMRLevelMappedStabilityStrategy (Real a_stabilityFactor) | |
virtual | ~AMRLevelMappedStabilityStrategy () |
Destructor. More... | |
Real | maxTimeStep (const ProblemDomain &a_problem_domain, const DisjointBoxLayout &a_grids, const LevelGridMetrics *const a_gridMetrics, const MOLPhysics &a_physics, const MappedLevelData &a_data, Real a_dx, Real a_time) const |
virtual Real | maxWaveSpeed (const ProblemDomain &a_problem_domain, const DisjointBoxLayout &a_grids, const LevelGridMetrics *const a_gridMetrics, const MOLPhysics &a_physics, const MappedLevelData &a_data, Real a_dx, Real a_time) const =0 |
virtual AMRLevelMappedStabilityStrategy * | clone () const =0 |
Override this method to create a new AMRLevelMappedStabilityStrategy instance. More... | |
Protected Attributes | |
Real | m_stabilityFactor |
The stability factor. More... | |
Private Member Functions | |
AMRLevelMappedStabilityStrategy () | |
AMRLevelMappedStabilityStrategy (const AMRLevelMappedStabilityStrategy &) | |
AMRLevelMappedStabilityStrategy & | operator= (const AMRLevelMappedStabilityStrategy &) |
This class defines an interface for computing quantities needed for deciding on a stable time step for high-order mapped AMR algorithms.
|
explicit |
Base class strategy constructor. Must be called by all subclasses.
a_stabilityFactor | The factor representing the broadest height of the region of stability for the time integrator of interest. |
|
virtual |
Destructor.
|
private |
|
private |
Real AMRLevelMappedStabilityStrategy::maxTimeStep | ( | const ProblemDomain & | a_problem_domain, |
const DisjointBoxLayout & | a_grids, | ||
const LevelGridMetrics *const | a_gridMetrics, | ||
const MOLPhysics & | a_physics, | ||
const MappedLevelData & | a_data, | ||
Real | a_dx, | ||
Real | a_time | ||
) | const |
This returns the maximum allowable time step (without a CFL safety factor.
a_data | The mapped grid data to be used in determining the time step. |
a_dx | The grid spacing that determines the time step. |
a_time | The time at which the time step is computed. |
|
pure virtual |
Override this method to determine the maximum wave speed on the computational domain.
a_data | The mapped grid data to be used in determining the wave speed. |
|
pure virtual |
Override this method to create a new AMRLevelMappedStabilityStrategy instance.
|
private |
|
protected |
The stability factor.