#include <AbstractTimeAdaptivityController.hpp>
Abstract class for defining rules for adaptive time-stepping.
Definition at line 45 of file AbstractTimeAdaptivityController.hpp.
AbstractTimeAdaptivityController::AbstractTimeAdaptivityController |
( |
double |
minimumTimeStep, |
|
|
double |
maximumTimeStep |
|
) |
| |
|
inline |
virtual AbstractTimeAdaptivityController::~AbstractTimeAdaptivityController |
( |
| ) |
|
|
inlinevirtual |
virtual double AbstractTimeAdaptivityController::ComputeTimeStep |
( |
double |
currentTime, |
|
|
Vec |
currentSolution |
|
) |
| |
|
privatepure virtual |
- Returns
- the timestep based on the current solution and current time. Doesn't need to be checked to be between the minimum and maximum timesteps.
- Parameters
-
currentTime | current time |
currentSolution | current solution |
Referenced by GetNextTimeStep().
double AbstractTimeAdaptivityController::GetNextTimeStep |
( |
double |
currentTime, |
|
|
Vec |
currentSolution |
|
) |
| |
|
inline |
double AbstractTimeAdaptivityController::mMaximumTimeStep |
|
private |
double AbstractTimeAdaptivityController::mMinimumTimeStep |
|
private |
The documentation for this class was generated from the following file: