Tempus
Version of the Day
Time Integration
|
Application Action for StepperTrapezoidal. More...
#include <Tempus_StepperTrapezoidalAppAction.hpp>
Public Types | |
enum | ACTION_LOCATION { BEGIN_STEP, BEFORE_SOLVE, AFTER_SOLVE, END_STEP } |
Indicates the location of application action (see algorithm). More... | |
Public Member Functions | |
StepperTrapezoidalAppAction () | |
Constructor. More... | |
virtual | ~StepperTrapezoidalAppAction () |
Destructor. More... | |
virtual void | execute (Teuchos::RCP< SolutionHistory< Scalar > > sh, Teuchos::RCP< StepperTrapezoidal< Scalar > > stepper, const typename StepperTrapezoidalAppAction< Scalar >::ACTION_LOCATION actLoc)=0 |
Execute application action for Trapezoidal Stepper. More... | |
Application Action for StepperTrapezoidal.
This class provides a means to apply various actions with the Trapezoidal time step. The data available to this class is solution variables (through SolutionHistory), and stepper data (through the Stepper). It allows the application to just observe this data, i.e., use but not change any of it (USER BEWARE!).
The locations for these AppAction calls (StepperTrapezoidalAppAction::ACTION_LOCATION) are shown in the algorithm documentation of the StepperTrapezoidal.
Definition at line 35 of file Tempus_StepperTrapezoidalAppAction.hpp.
enum Tempus::StepperTrapezoidalAppAction::ACTION_LOCATION |
Indicates the location of application action (see algorithm).
Enumerator | |
---|---|
BEGIN_STEP |
At the beginning of the step. |
BEFORE_SOLVE |
Before the solve. |
AFTER_SOLVE |
After then solve. |
END_STEP |
At the end of the step. |
Definition at line 38 of file Tempus_StepperTrapezoidalAppAction.hpp.
|
inline |
Constructor.
Definition at line 46 of file Tempus_StepperTrapezoidalAppAction.hpp.
|
inlinevirtual |
Destructor.
Definition at line 49 of file Tempus_StepperTrapezoidalAppAction.hpp.
|
pure virtual |
Execute application action for Trapezoidal Stepper.
Implemented in Tempus::StepperTrapezoidalModifierXBase< Scalar >, Tempus::StepperTrapezoidalModifierXBase< double >, Tempus::StepperTrapezoidalModifierBase< Scalar >, Tempus::StepperTrapezoidalModifierBase< double >, Tempus::StepperTrapezoidalObserverBase< Scalar >, Tempus::StepperTrapezoidalObserverBase< double >, and Tempus::StepperTrapezoidalAppActionComposite< Scalar >.