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 the data) to change any of it (USER BEWARE!).
Below is the ForwardEuler algorithm and includes the locations where the application can take actions (in italicized).
Definition at line 46 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 51 of file Tempus_StepperForwardEulerAppAction.hpp.
|
inline |
Constructor.
Definition at line 58 of file Tempus_StepperForwardEulerAppAction.hpp.
|
inlinevirtual |
Destructor.
Definition at line 61 of file Tempus_StepperForwardEulerAppAction.hpp.
|
pure virtual |
Execute application action for ForwardEuler Stepper.
Implemented in Tempus::StepperForwardEulerModifierXBase< Scalar >, Tempus::StepperForwardEulerModifierXBase< double >, Tempus::StepperForwardEulerObserverBase< Scalar >, Tempus::StepperForwardEulerObserverBase< double >, Tempus::StepperForwardEulerModifierBase< Scalar >, Tempus::StepperForwardEulerModifierBase< double >, and Tempus::StepperForwardEulerAppActionComposite< Scalar >.