#include <AbstractTimeAdaptivityController.hpp>
Abstract class for defining rules for adaptive time-stepping.
Definition at line 45 of file AbstractTimeAdaptivityController.hpp.
◆ AbstractTimeAdaptivityController()
AbstractTimeAdaptivityController::AbstractTimeAdaptivityController |
( |
double |
minimumTimeStep, |
|
|
double |
maximumTimeStep |
|
) |
| |
|
inline |
◆ ~AbstractTimeAdaptivityController()
virtual AbstractTimeAdaptivityController::~AbstractTimeAdaptivityController |
( |
| ) |
|
|
inlinevirtual |
◆ ComputeTimeStep()
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().
◆ GetNextTimeStep()
double AbstractTimeAdaptivityController::GetNextTimeStep |
( |
double |
currentTime, |
|
|
Vec |
currentSolution |
|
) |
| |
|
inline |
◆ mMaximumTimeStep
double AbstractTimeAdaptivityController::mMaximumTimeStep |
|
private |
◆ mMinimumTimeStep
double AbstractTimeAdaptivityController::mMinimumTimeStep |
|
private |
The documentation for this class was generated from the following file: