#include <AbstractTimeAdaptivityController.hpp>
Public Member Functions | |
AbstractTimeAdaptivityController (double minimumTimeStep, double maximumTimeStep) | |
virtual | ~AbstractTimeAdaptivityController () |
double | GetNextTimeStep (double currentTime, Vec currentSolution) |
Private Member Functions | |
virtual double | ComputeTimeStep (double currentTime, Vec currentSolution)=0 |
Private Attributes | |
double | mMinimumTimeStep |
double | mMaximumTimeStep |
Abstract class for defining rules for adaptive time-stepping.
Definition at line 45 of file AbstractTimeAdaptivityController.hpp.
AbstractTimeAdaptivityController::AbstractTimeAdaptivityController | ( | double | minimumTimeStep, | |
double | maximumTimeStep | |||
) | [inline] |
Constructor.
minimumTimeStep | minimum timestep to be used | |
maximumTimeStep | maximum timestep to be used |
Definition at line 73 of file AbstractTimeAdaptivityController.hpp.
virtual AbstractTimeAdaptivityController::~AbstractTimeAdaptivityController | ( | ) | [inline, virtual] |
Destructor.
Definition at line 83 of file AbstractTimeAdaptivityController.hpp.
virtual double AbstractTimeAdaptivityController::ComputeTimeStep | ( | double | currentTime, | |
Vec | currentSolution | |||
) | [private, pure virtual] |
currentTime | current time | |
currentSolution | current solution |
Referenced by GetNextTimeStep().
double AbstractTimeAdaptivityController::GetNextTimeStep | ( | double | currentTime, | |
Vec | currentSolution | |||
) | [inline] |
currentTime | current time | |
currentSolution | current solution |
Definition at line 93 of file AbstractTimeAdaptivityController.hpp.
References ComputeTimeStep(), mMaximumTimeStep, and mMinimumTimeStep.
Referenced by AbstractDynamicLinearPdeSolver< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::Solve().
Maximum timestep to be used
Definition at line 53 of file AbstractTimeAdaptivityController.hpp.
Referenced by GetNextTimeStep().
Minimum timestep to be used
Definition at line 50 of file AbstractTimeAdaptivityController.hpp.
Referenced by GetNextTimeStep().