Tempus
Version of the Day
Time Integration
|
This observer is a composite observer,. More...
#include <Tempus_IntegratorObserverComposite_decl.hpp>
Public Member Functions | |
IntegratorObserverComposite () | |
Default constructor. More... | |
virtual | ~IntegratorObserverComposite () |
Destructor. More... | |
Override IntegratorObserver basic methods | |
virtual void | observeStartIntegrator (const Integrator< Scalar > &integrator) override |
Observe the beginning of the time integrator. More... | |
virtual void | observeStartTimeStep (const Integrator< Scalar > &integrator) override |
Observe the beginning of the time step loop. More... | |
virtual void | observeNextTimeStep (const Integrator< Scalar > &integrator) override |
Observe after the next time step size is selected. More... | |
virtual void | observeBeforeTakeStep (const Integrator< Scalar > &integrator) override |
Observe before Stepper takes step. More... | |
virtual void | observeAfterTakeStep (const Integrator< Scalar > &integrator) override |
Observe after Stepper takes step. More... | |
virtual void | observeAfterCheckTimeStep (const Integrator< Scalar > &integrator) override |
Observe after checking time step. More... | |
virtual void | observeEndTimeStep (const Integrator< Scalar > &integrator) override |
Observe the end of the time step loop. More... | |
virtual void | observeEndIntegrator (const Integrator< Scalar > &integrator) override |
Observe the end of the time integrator. More... | |
void | addObserver (const Teuchos::RCP< IntegratorObserver< Scalar > > &observer) |
void | clearObservers () |
Public Member Functions inherited from Tempus::IntegratorObserver< Scalar > | |
virtual | ~IntegratorObserver ()=default |
default destructor More... | |
Private Attributes | |
std::vector< Teuchos::RCP < IntegratorObserver< Scalar > > > | observers_ |
This observer is a composite observer,.
which takes other IntegratorObservers and sequentially calls each individual observer function.
Definition at line 24 of file Tempus_IntegratorObserverComposite_decl.hpp.
Tempus::IntegratorObserverComposite< Scalar >::IntegratorObserverComposite | ( | ) |
Default constructor.
Definition at line 18 of file Tempus_IntegratorObserverComposite_impl.hpp.
|
virtual |
Destructor.
Definition at line 21 of file Tempus_IntegratorObserverComposite_impl.hpp.
void Tempus::IntegratorObserverComposite< Scalar >::addObserver | ( | const Teuchos::RCP< IntegratorObserver< Scalar > > & | observer | ) |
Definition at line 89 of file Tempus_IntegratorObserverComposite_impl.hpp.
void Tempus::IntegratorObserverComposite< Scalar >::clearObservers | ( | ) |
Definition at line 96 of file Tempus_IntegratorObserverComposite_impl.hpp.
|
overridevirtual |
Observe after checking time step.
Implements Tempus::IntegratorObserver< Scalar >.
Definition at line 65 of file Tempus_IntegratorObserverComposite_impl.hpp.
|
overridevirtual |
Observe after Stepper takes step.
Implements Tempus::IntegratorObserver< Scalar >.
Definition at line 57 of file Tempus_IntegratorObserverComposite_impl.hpp.
|
overridevirtual |
Observe before Stepper takes step.
Implements Tempus::IntegratorObserver< Scalar >.
Definition at line 49 of file Tempus_IntegratorObserverComposite_impl.hpp.
|
overridevirtual |
Observe the end of the time integrator.
Implements Tempus::IntegratorObserver< Scalar >.
Definition at line 81 of file Tempus_IntegratorObserverComposite_impl.hpp.
|
overridevirtual |
Observe the end of the time step loop.
Implements Tempus::IntegratorObserver< Scalar >.
Definition at line 73 of file Tempus_IntegratorObserverComposite_impl.hpp.
|
overridevirtual |
Observe after the next time step size is selected.
Implements Tempus::IntegratorObserver< Scalar >.
Definition at line 41 of file Tempus_IntegratorObserverComposite_impl.hpp.
|
overridevirtual |
Observe the beginning of the time integrator.
Implements Tempus::IntegratorObserver< Scalar >.
Definition at line 25 of file Tempus_IntegratorObserverComposite_impl.hpp.
|
overridevirtual |
Observe the beginning of the time step loop.
Implements Tempus::IntegratorObserver< Scalar >.
Definition at line 33 of file Tempus_IntegratorObserverComposite_impl.hpp.
|
private |
Definition at line 70 of file Tempus_IntegratorObserverComposite_decl.hpp.