|
Tempus
Version of the Day
Time Integration
|
Go to the documentation of this file.
9 #ifndef Tempus_IntegratorObserverLogging_decl_hpp
10 #define Tempus_IntegratorObserverLogging_decl_hpp
22 template<
class Scalar>
60 Teuchos::RCP<const std::map<std::string,int> >
getCounters();
62 Teuchos::RCP<const std::list<std::string> >
getOrder();
84 void logCall(
const std::string call)
const;
86 Teuchos::RCP< std::map<std::string,int> >
counters_;
87 Teuchos::RCP< std::list<std::string> >
order_;
92 #endif // Tempus_IntegratorObserverLogging_decl_hpp
virtual void observeBeforeTakeStep(const Integrator< Scalar > &integrator) override
Observe before Stepper takes step.
virtual void observeStartTimeStep(const Integrator< Scalar > &integrator) override
Observe the beginning of the time step loop.
Teuchos::RCP< const std::map< std::string, int > > getCounters()
const std::string nameObserveEndIntegrator_
Teuchos::RCP< const std::list< std::string > > getOrder()
virtual void observeStartIntegrator(const Integrator< Scalar > &integrator) override
Observe the beginning of the time integrator.
Teuchos::RCP< std::map< std::string, int > > counters_
const std::string nameObserveNextTimeStep_
This observer logs calls to observer functions. This observer simply logs and counts the calls to eac...
virtual void observeNextTimeStep(const Integrator< Scalar > &integrator) override
Observe after the next time step size is selected.
Teuchos::RCP< std::list< std::string > > order_
const std::string nameObserveStartIntegrator_
Thyra Base interface for time integrators. Time integrators are designed to advance the solution from...
IntegratorObserverLogging()
Constructor.
void logCall(const std::string call) const
Asserts next call on the stack is correct and removes from stack.
const std::string nameObserveBeforeTakeStep_
IntegratorObserver class for time integrators.
virtual ~IntegratorObserverLogging()
Destructor.
const std::string nameObserveStartTimeStep_
const std::string nameObserveAcceptedTimeStep_
virtual void observeEndIntegrator(const Integrator< Scalar > &integrator) override
Observe the end of the time integrator.
virtual void observeAfterTakeStep(const Integrator< Scalar > &integrator) override
Observe after Stepper takes step.
const std::string nameObserveAfterTakeStep_
virtual void observeAcceptedTimeStep(const Integrator< Scalar > &integrator) override
Observe after accepting time step.