10 #ifndef Tempus_IntegratorObserverComposite_decl_hpp
11 #define Tempus_IntegratorObserverComposite_decl_hpp
13 #include "Tempus_config.hpp"
15 #include "Tempus_TimeStepControl.hpp"
25 template <
class Scalar>
77 std::vector<Teuchos::RCP<IntegratorObserver<Scalar> > >
observers_;
81 #endif // Tempus_IntegratorObserverComposite_decl_hpp
virtual void observeBeforeTakeStep(const Integrator< Scalar > &integrator) override
Observe before Stepper takes step.
virtual ~IntegratorObserverComposite()
Destructor.
virtual void observeEndIntegrator(const Integrator< Scalar > &integrator) override
Observe the end of the time integrator.
void addObserver(const Teuchos::RCP< IntegratorObserver< Scalar > > &observer)
virtual void observeEndTimeStep(const Integrator< Scalar > &integrator) override
Observe the end of the time step loop.
IntegratorObserver class for time integrators.
IntegratorObserverComposite()
Default constructor.
std::vector< Teuchos::RCP< IntegratorObserver< Scalar > > > observers_
Thyra Base interface for time integrators. Time integrators are designed to advance the solution from...
virtual void observeStartIntegrator(const Integrator< Scalar > &integrator) override
Observe the beginning of the time integrator.
virtual void observeAfterCheckTimeStep(const Integrator< Scalar > &integrator) override
Observe after checking time step.
virtual void observeAfterTakeStep(const Integrator< Scalar > &integrator) override
Observe after Stepper takes step.
virtual void observeStartTimeStep(const Integrator< Scalar > &integrator) override
Observe the beginning of the time step loop.
This observer is a composite observer,.
virtual void observeNextTimeStep(const Integrator< Scalar > &integrator) override
Observe after the next time step size is selected.