Tempus Version of the Day
Time Integration
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Tempus::IntegratorObserverComposite< Scalar > Class Template Reference

This observer is a composite observer,. More...

#include <Tempus_IntegratorObserverComposite_decl.hpp>

Inheritance diagram for Tempus::IntegratorObserverComposite< Scalar >:
Tempus::IntegratorObserver< Scalar >

Public Member Functions

 IntegratorObserverComposite ()
 Default constructor.
 
virtual ~IntegratorObserverComposite ()
 Destructor.
 
- Public Member Functions inherited from Tempus::IntegratorObserver< Scalar >
virtual ~IntegratorObserver ()=default
 default destructor
 

Override IntegratorObserver basic methods

std::vector< Teuchos::RCP< IntegratorObserver< Scalar > > > observers_
 
virtual void observeStartIntegrator (const Integrator< Scalar > &integrator) override
 Observe the beginning of the time integrator.
 
virtual void observeStartTimeStep (const Integrator< Scalar > &integrator) override
 Observe the beginning of the time step loop.
 
virtual void observeNextTimeStep (const Integrator< Scalar > &integrator) override
 Observe after the next time step size is selected.
 
virtual void observeBeforeTakeStep (const Integrator< Scalar > &integrator) override
 Observe before Stepper takes step.
 
virtual void observeAfterTakeStep (const Integrator< Scalar > &integrator) override
 Observe after Stepper takes step.
 
virtual void observeAfterCheckTimeStep (const Integrator< Scalar > &integrator) override
 Observe after checking time step.
 
virtual void observeEndTimeStep (const Integrator< Scalar > &integrator) override
 Observe the end of the time step loop.
 
virtual void observeEndIntegrator (const Integrator< Scalar > &integrator) override
 Observe the end of the time integrator.
 
void addObserver (const Teuchos::RCP< IntegratorObserver< Scalar > > &observer)
 
void clearObservers ()
 

Detailed Description

template<class Scalar>
class Tempus::IntegratorObserverComposite< Scalar >

This observer is a composite observer,.

which takes other IntegratorObservers and sequentially calls each individual observer function.

Definition at line 25 of file Tempus_IntegratorObserverComposite_decl.hpp.

Constructor & Destructor Documentation

◆ IntegratorObserverComposite()

template<class Scalar >
Tempus::IntegratorObserverComposite< Scalar >::IntegratorObserverComposite ( )

Default constructor.

Definition at line 18 of file Tempus_IntegratorObserverComposite_impl.hpp.

◆ ~IntegratorObserverComposite()

template<class Scalar >
Tempus::IntegratorObserverComposite< Scalar >::~IntegratorObserverComposite ( )
virtual

Destructor.

Definition at line 21 of file Tempus_IntegratorObserverComposite_impl.hpp.

Member Function Documentation

◆ observeStartIntegrator()

template<class Scalar >
void Tempus::IntegratorObserverComposite< Scalar >::observeStartIntegrator ( const Integrator< Scalar > & integrator)
overridevirtual

Observe the beginning of the time integrator.

Implements Tempus::IntegratorObserver< Scalar >.

Definition at line 24 of file Tempus_IntegratorObserverComposite_impl.hpp.

◆ observeStartTimeStep()

template<class Scalar >
void Tempus::IntegratorObserverComposite< Scalar >::observeStartTimeStep ( const Integrator< Scalar > & integrator)
overridevirtual

Observe the beginning of the time step loop.

Implements Tempus::IntegratorObserver< Scalar >.

Definition at line 32 of file Tempus_IntegratorObserverComposite_impl.hpp.

◆ observeNextTimeStep()

template<class Scalar >
void Tempus::IntegratorObserverComposite< Scalar >::observeNextTimeStep ( const Integrator< Scalar > & integrator)
overridevirtual

Observe after the next time step size is selected.

Implements Tempus::IntegratorObserver< Scalar >.

Definition at line 40 of file Tempus_IntegratorObserverComposite_impl.hpp.

◆ observeBeforeTakeStep()

template<class Scalar >
void Tempus::IntegratorObserverComposite< Scalar >::observeBeforeTakeStep ( const Integrator< Scalar > & integrator)
overridevirtual

Observe before Stepper takes step.

Implements Tempus::IntegratorObserver< Scalar >.

Definition at line 48 of file Tempus_IntegratorObserverComposite_impl.hpp.

◆ observeAfterTakeStep()

template<class Scalar >
void Tempus::IntegratorObserverComposite< Scalar >::observeAfterTakeStep ( const Integrator< Scalar > & integrator)
overridevirtual

Observe after Stepper takes step.

Implements Tempus::IntegratorObserver< Scalar >.

Definition at line 56 of file Tempus_IntegratorObserverComposite_impl.hpp.

◆ observeAfterCheckTimeStep()

template<class Scalar >
void Tempus::IntegratorObserverComposite< Scalar >::observeAfterCheckTimeStep ( const Integrator< Scalar > & integrator)
overridevirtual

Observe after checking time step.

Implements Tempus::IntegratorObserver< Scalar >.

Definition at line 64 of file Tempus_IntegratorObserverComposite_impl.hpp.

◆ observeEndTimeStep()

template<class Scalar >
void Tempus::IntegratorObserverComposite< Scalar >::observeEndTimeStep ( const Integrator< Scalar > & integrator)
overridevirtual

Observe the end of the time step loop.

Implements Tempus::IntegratorObserver< Scalar >.

Definition at line 72 of file Tempus_IntegratorObserverComposite_impl.hpp.

◆ observeEndIntegrator()

template<class Scalar >
void Tempus::IntegratorObserverComposite< Scalar >::observeEndIntegrator ( const Integrator< Scalar > & integrator)
overridevirtual

Observe the end of the time integrator.

Implements Tempus::IntegratorObserver< Scalar >.

Definition at line 80 of file Tempus_IntegratorObserverComposite_impl.hpp.

◆ addObserver()

template<class Scalar >
void Tempus::IntegratorObserverComposite< Scalar >::addObserver ( const Teuchos::RCP< IntegratorObserver< Scalar > > & observer)

Definition at line 88 of file Tempus_IntegratorObserverComposite_impl.hpp.

◆ clearObservers()

template<class Scalar >
void Tempus::IntegratorObserverComposite< Scalar >::clearObservers ( )

Definition at line 95 of file Tempus_IntegratorObserverComposite_impl.hpp.

Member Data Documentation

◆ observers_

template<class Scalar >
std::vector<Teuchos::RCP<IntegratorObserver<Scalar > > > Tempus::IntegratorObserverComposite< Scalar >::observers_
private

Definition at line 71 of file Tempus_IntegratorObserverComposite_decl.hpp.


The documentation for this class was generated from the following files: