9 #ifndef Tempus_StepperRKObserverLogging_decl_hpp
10 #define Tempus_StepperRKObserverLogging_decl_hpp
22 template<
class Scalar>
79 Teuchos::RCP<const std::map<std::string,int> >
getCounters();
81 Teuchos::RCP<const std::list<std::string> >
getOrder();
104 void logCall(
const std::string call)
const;
107 Teuchos::RCP< std::list<std::string> >
order_;
112 #endif // Tempus_StepperRKObserverLogging_decl_hpp
const std::string nameObserveBeginTakeStep_
void logCall(const std::string call) const
Asserts next call on the stack is correct and removes from stack.
This observer logs calls to observer functions. This observer simply logs and counts the calls to eac...
Teuchos::RCP< std::list< std::string > > order_
Teuchos::RCP< std::map< std::string, int > > counters_
virtual void observeBeginStage(Teuchos::RCP< SolutionHistory< Scalar > >, Stepper< Scalar > &) override
2.) Observe Stepper at beginning of each stage.
Teuchos::RCP< const std::map< std::string, int > > getCounters()
const std::string nameObserveBeforeSolve_
const std::string nameObserveBeforeExplicit_
Thyra Base interface for time steppers.
const std::string nameObserveBeginStage_
StepperRKObserverLogging()
Constructor.
SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of...
virtual void observeBeforeExplicit(Teuchos::RCP< SolutionHistory< Scalar > >, Stepper< Scalar > &) override
6.) Observe Stepper before Explicit evaluation of Implicit ODE ME (IMEX).
Teuchos::RCP< const std::list< std::string > > getOrder()
virtual ~StepperRKObserverLogging()
Destructor.
const std::string nameObserveEndStage_
const std::string nameObserveBeforeImplicitExplicitly_
virtual void observeBeforeImplicitExplicitly(Teuchos::RCP< SolutionHistory< Scalar > >, Stepper< Scalar > &) override
3.) Observe Stepper before Explicit evaluation of Implicit ODE ME (IMEX).
const std::string nameObserveAfterSolve_
const std::string nameObserveEndTakeStep_
StepperRKObserver class for StepperRK.
virtual void observeBeginTakeStep(Teuchos::RCP< SolutionHistory< Scalar > >, Stepper< Scalar > &) override
1.) Observe Stepper at beginning of takeStep.
virtual void observeAfterSolve(Teuchos::RCP< SolutionHistory< Scalar > >, Stepper< Scalar > &) override
5.) Observe Stepper after nonlinear solve (DIRK/IMEX).
virtual void observeEndStage(Teuchos::RCP< SolutionHistory< Scalar > >, Stepper< Scalar > &) override
7.) Observe Stepper at end of each stage.
virtual void observeEndTakeStep(Teuchos::RCP< SolutionHistory< Scalar > >, Stepper< Scalar > &) override
8.) Observe Stepper at end of takeStep.
virtual void observeBeforeSolve(Teuchos::RCP< SolutionHistory< Scalar > >, Stepper< Scalar > &) override
4.) Observe Stepper before nonlinear solve (DIRK/IMEX).