Tempus
Version of the Day
Time Integration
|
Application Action for StepperBackwardEuler. More...
#include <Tempus_StepperBackwardEulerAppAction.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 | |
StepperBackwardEulerAppAction () | |
Constructor. More... | |
virtual | ~StepperBackwardEulerAppAction () |
Destructor. More... | |
virtual void | execute (Teuchos::RCP< SolutionHistory< Scalar > > sh, Teuchos::RCP< StepperBackwardEuler< Scalar > > stepper, const typename StepperBackwardEulerAppAction< Scalar >::ACTION_LOCATION actLoc)=0 |
Execute application action for BackwardEuler Stepper. More... | |
Application Action for StepperBackwardEuler.
This class provides a means to apply various actions with the BackwardEuler 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 BackwardEuler algorithm and includes the locations where the application can take actions (in italicized).
Definition at line 47 of file Tempus_StepperBackwardEulerAppAction.hpp.
enum Tempus::StepperBackwardEulerAppAction::ACTION_LOCATION |
Indicates the location of application action (see algorithm).
Enumerator | |
---|---|
BEGIN_STEP |
At the beginning of the step. |
BEFORE_SOLVE |
Before the implicit solve. |
AFTER_SOLVE |
After the implicit solve. |
END_STEP |
At the end of the step. |
Definition at line 52 of file Tempus_StepperBackwardEulerAppAction.hpp.
|
inline |
Constructor.
Definition at line 60 of file Tempus_StepperBackwardEulerAppAction.hpp.
|
inlinevirtual |
Destructor.
Definition at line 63 of file Tempus_StepperBackwardEulerAppAction.hpp.
|
pure virtual |
Execute application action for BackwardEuler Stepper.
Implemented in Tempus::StepperBackwardEulerModifierXBase< Scalar >, Tempus::StepperBackwardEulerModifierXBase< double >, Tempus::StepperBackwardEulerModifierBase< Scalar >, Tempus::StepperBackwardEulerModifierBase< double >, Tempus::StepperBackwardEulerObserverBase< Scalar >, Tempus::StepperBackwardEulerObserverBase< double >, and Tempus::StepperBackwardEulerAppActionComposite< Scalar >.