9 #ifndef Tempus_StepperRKObserverComposite_decl_hpp
10 #define Tempus_StepperRKObserverComposite_decl_hpp
13 #include "Tempus_TimeStepControl.hpp"
26 template<
class Scalar>
92 std::vector<Teuchos::RCP<StepperRKObserver<Scalar > > >
observers_;
97 #endif // Tempus_StepperRKObserverComposite_decl_hpp
virtual void observeBeginTakeStep(Teuchos::RCP< SolutionHistory< Scalar > > sh, Stepper< Scalar > &stepper) override
Observe Stepper at beginning of takeStep.
std::size_t getSize() const
virtual void observeEndTakeStep(Teuchos::RCP< SolutionHistory< Scalar > > sh, Stepper< Scalar > &stepper) override
Observe Stepper at end of takeStep.
virtual void observeBeforeSolve(Teuchos::RCP< SolutionHistory< Scalar > > sh, Stepper< Scalar > &stepperRK) override
Observe Stepper before nonlinear solve.
virtual ~StepperRKObserverComposite()
Destructor.
Thyra Base interface for time steppers.
void addObserver(const Teuchos::RCP< StepperRKObserver< Scalar > > &observer)
virtual void observeBeforeExplicit(Teuchos::RCP< SolutionHistory< Scalar > > sh, Stepper< Scalar > &stepperRK) override
Observe Stepper before evaluation of Implicit ODE ME.
SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of...
std::vector< Teuchos::RCP< StepperRKObserver< Scalar > > > observers_
virtual void observeAfterSolve(Teuchos::RCP< SolutionHistory< Scalar > > sh, Stepper< Scalar > &stepperRK) override
Observe Stepper after nonlinear solve.
virtual void observeEndStage(Teuchos::RCP< SolutionHistory< Scalar > > sh, Stepper< Scalar > &stepperRK) override
Observe Stepper at end of each stage.
This observer is a composite observer,.
virtual void observeBeforeImplicitExplicitly(Teuchos::RCP< SolutionHistory< Scalar > >, Stepper< Scalar > &) override
Observe Stepper before Explicit evaluation of Implicit ODE ME.
StepperRKObserver class for StepperRK.
virtual void observeBeginStage(Teuchos::RCP< SolutionHistory< Scalar > > sh, Stepper< Scalar > &stepperRK) override
Observe Stepper at beginning of each stage.
StepperRKObserverComposite()
Default constructor.