Tempus
Version of the Day
Time Integration
|
Application Action for StepperForwardEuler. More...
#include <Tempus_StepperForwardEulerAppAction.hpp>
Public Types | |
enum | ACTION_LOCATION { BEGIN_STEP, BEFORE_EXPLICIT_EVAL, END_STEP } |
Indicates the location of application action (see algorithm). More... | |
Public Member Functions | |
StepperForwardEulerAppAction () | |
Constructor. More... | |
virtual | ~StepperForwardEulerAppAction () |
Destructor. More... | |
virtual void | execute (Teuchos::RCP< SolutionHistory< Scalar > > sh, Teuchos::RCP< StepperForwardEuler< Scalar > > stepper, const typename StepperForwardEulerAppAction< Scalar >::ACTION_LOCATION actLoc)=0 |
Execute application action for ForwardEuler Stepper. More... | |
Application Action for StepperForwardEuler.
This class provides a means to apply various actions with the ForwardEuler 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 (StepperForwardEulerAppAction::ACTION_LOCATION) are shown in the algorithm documentation of the StepperForwardEuler.
Definition at line 35 of file Tempus_StepperForwardEulerAppAction.hpp.
enum Tempus::StepperForwardEulerAppAction::ACTION_LOCATION |
Indicates the location of application action (see algorithm).
Enumerator | |
---|---|
BEGIN_STEP |
At the beginning of the step. |
BEFORE_EXPLICIT_EVAL |
Before the explicit evaluation. |
END_STEP |
At the end of the step. |
Definition at line 38 of file Tempus_StepperForwardEulerAppAction.hpp.
|
inline |
Constructor.
Definition at line 45 of file Tempus_StepperForwardEulerAppAction.hpp.
|
inlinevirtual |
Destructor.
Definition at line 48 of file Tempus_StepperForwardEulerAppAction.hpp.
|
pure virtual |
Execute application action for ForwardEuler Stepper.
Implemented in Tempus::StepperForwardEulerModifierXBase< Scalar >, Tempus::StepperForwardEulerModifierXBase< double >, Tempus::StepperForwardEulerModifierBase< Scalar >, Tempus::StepperForwardEulerModifierBase< double >, Tempus::StepperForwardEulerObserverBase< Scalar >, Tempus::StepperForwardEulerObserverBase< double >, and Tempus::StepperForwardEulerAppActionComposite< Scalar >.