Tempus
Version of the Day
Time Integration
|
StepControlStrategy class for TimeStepControl. More...
#include <Tempus_TimeStepControlStrategyIntegralController.hpp>
Public Member Functions | |
TimeStepControlStrategyIntegralController (Teuchos::RCP< Teuchos::ParameterList > pList=Teuchos::null) | |
Constructor. More... | |
virtual | ~TimeStepControlStrategyIntegralController () |
Destructor. More... | |
virtual void | getNextTimeStep (const TimeStepControl< Scalar > tsc, Teuchos::RCP< SolutionHistory< Scalar > > solutionHistory, Status &) override |
Determine the time step size. More... | |
Overridden from Teuchos::ParameterListAcceptor | |
void | setParameterList (const Teuchos::RCP< Teuchos::ParameterList > &pList) override |
Teuchos::RCP< const Teuchos::ParameterList > | getValidParameters () const override |
Teuchos::RCP < Teuchos::ParameterList > | getNonconstParameterList () override |
Teuchos::RCP < Teuchos::ParameterList > | unsetParameterList () override |
Public Member Functions inherited from Tempus::TimeStepControlStrategy< Scalar > | |
TimeStepControlStrategy () | |
Constructor. More... | |
virtual | ~TimeStepControlStrategy () |
Destructor. More... | |
void | setParameterList (const Teuchos::RCP< Teuchos::ParameterList > &) |
Teuchos::RCP< const Teuchos::ParameterList > | getValidParameters () const |
Teuchos::RCP < Teuchos::ParameterList > | getNonconstParameterList () |
Teuchos::RCP < Teuchos::ParameterList > | unsetParameterList () |
Private Attributes | |
Teuchos::RCP < Teuchos::ParameterList > | tscsPL_ |
Scalar | k1_ |
Scalar | k2_ |
Scalar | k3_ |
Scalar | errN_ |
Scalar | errNm1_ |
Scalar | errNm2_ |
Scalar | safetyFactor_ |
Scalar | facMax_ |
Scalar | facMin_ |
bool | firstSuccessfulStep_ = false |
bool | lastStepRejected_ = false |
std::string | controller_ |
StepControlStrategy class for TimeStepControl.
Gustaf Soderlind. Automatic control and adaptive time-stepping. Numerical Algorithms, 31(1):281–310, Dec 2002.
The step size is chosen based on "Controller Type":
PID = Proportional-Integral-Derivative Controller
PI = Proportional-Integral Controller
I = Integral Controller
where is the error at time step .
Appropriate for Explicit Methods
Definition at line 54 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
inline |
Constructor.
Definition at line 60 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
inlinevirtual |
Destructor.
Definition at line 65 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
inlineoverridevirtual |
Determine the time step size.
Reimplemented from Tempus::TimeStepControlStrategy< Scalar >.
Definition at line 68 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
inlineoverride |
Definition at line 213 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
inlineoverride |
Definition at line 195 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
inlineoverride |
Definition at line 149 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
inlineoverride |
Definition at line 217 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
private |
Definition at line 237 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
private |
Definition at line 229 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
private |
Definition at line 230 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
private |
Definition at line 231 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
private |
Definition at line 233 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
private |
Definition at line 234 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
private |
Definition at line 235 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
private |
Definition at line 226 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
private |
Definition at line 227 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
private |
Definition at line 228 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
private |
Definition at line 236 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
private |
Definition at line 232 of file Tempus_TimeStepControlStrategyIntegralController.hpp.
|
private |
Definition at line 225 of file Tempus_TimeStepControlStrategyIntegralController.hpp.