Tempus
Version of the Day
Time Integration
|
IntegratorObserver class for time integrators. More...
#include <Tempus_IntegratorObserver.hpp>
Public Member Functions | |
Basic IntegratorObserver methods | |
virtual void | observeStartIntegrator (const Integrator< Scalar > &integrator)=0 |
Observe the beginning of the time integrator. More... | |
virtual void | observeStartTimeStep (const Integrator< Scalar > &integrator)=0 |
Observe the beginning of the time step loop. More... | |
virtual void | observeNextTimeStep (const Integrator< Scalar > &integrator)=0 |
virtual void | observeBeforeTakeStep (const Integrator< Scalar > &integrator)=0 |
Observe before Stepper takes step. More... | |
virtual void | observeAfterTakeStep (const Integrator< Scalar > &integrator)=0 |
Observe after Stepper takes step. More... | |
virtual void | observeAfterCheckTimeStep (const Integrator< Scalar > &integrator)=0 |
Observe after checking time step. Observer can still fail the time step here. More... | |
virtual void | observeEndTimeStep (const Integrator< Scalar > &integrator)=0 |
Observe the end of the time step loop. More... | |
virtual void | observeEndIntegrator (const Integrator< Scalar > &integrator)=0 |
Observe the end of the time integrator. More... | |
virtual | ~IntegratorObserver ()=default |
default destructor More... | |
IntegratorObserver class for time integrators.
This is a means for application developers to perform tasks during the time integrator, e.g.,
Design Considerations
Definition at line 41 of file Tempus_IntegratorObserver.hpp.
|
virtualdefault |
default destructor
|
pure virtual |
Observe after checking time step. Observer can still fail the time step here.
Implemented in Tempus::IntegratorObserverComposite< Scalar >, Tempus::IntegratorObserverBasic< Scalar >, Tempus::IntegratorObserverLogging< Scalar >, Tempus::IntegratorObserverNoOp< Scalar >, and Tempus::IntegratorObserverSubcycling< Scalar >.
|
pure virtual |
|
pure virtual |
Observe before Stepper takes step.
Implemented in Tempus::IntegratorObserverComposite< Scalar >, Tempus::IntegratorObserverBasic< Scalar >, Tempus::IntegratorObserverLogging< Scalar >, Tempus::IntegratorObserverNoOp< Scalar >, and Tempus::IntegratorObserverSubcycling< Scalar >.
|
pure virtual |
Observe the end of the time integrator.
Implemented in Tempus::IntegratorObserverComposite< Scalar >, Tempus::IntegratorObserverBasic< Scalar >, Tempus::IntegratorObserverLogging< Scalar >, Tempus::IntegratorObserverNoOp< Scalar >, and Tempus::IntegratorObserverSubcycling< Scalar >.
|
pure virtual |
Observe the end of the time step loop.
Implemented in Tempus::IntegratorObserverComposite< Scalar >, Tempus::IntegratorObserverBasic< Scalar >, Tempus::IntegratorObserverLogging< Scalar >, Tempus::IntegratorObserverNoOp< Scalar >, and Tempus::IntegratorObserverSubcycling< Scalar >.
|
pure virtual |
Observe after the next time step size is selected. The observer can choose to change the current integratorStatus.
Implemented in Tempus::IntegratorObserverComposite< Scalar >, Tempus::IntegratorObserverBasic< Scalar >, Tempus::IntegratorObserverLogging< Scalar >, Tempus::IntegratorObserverNoOp< Scalar >, and Tempus::IntegratorObserverSubcycling< Scalar >.
|
pure virtual |
Observe the beginning of the time integrator.
Implemented in Tempus::IntegratorObserverComposite< Scalar >, Tempus::IntegratorObserverBasic< Scalar >, Tempus::IntegratorObserverLogging< Scalar >, Tempus::IntegratorObserverNoOp< Scalar >, and Tempus::IntegratorObserverSubcycling< Scalar >.
|
pure virtual |
Observe the beginning of the time step loop.
Implemented in Tempus::IntegratorObserverComposite< Scalar >, Tempus::IntegratorObserverBasic< Scalar >, Tempus::IntegratorObserverLogging< Scalar >, Tempus::IntegratorObserverNoOp< Scalar >, and Tempus::IntegratorObserverSubcycling< Scalar >.