Tempus
Version of the Day
Time Integration
|
Application Action for StepperRKBase. More...
#include <Tempus_StepperRKAppAction.hpp>
Public Types | |
enum | ACTION_LOCATION { BEGIN_STEP, BEGIN_STAGE, BEFORE_SOLVE, AFTER_SOLVE, BEFORE_EXPLICIT_EVAL, END_STAGE, END_STEP } |
Indicates the location of application action (see algorithm). More... | |
Public Member Functions | |
StepperRKAppAction () | |
Constructor. More... | |
virtual | ~StepperRKAppAction () |
Destructor. More... | |
virtual void | execute (Teuchos::RCP< SolutionHistory< Scalar > > sh, Teuchos::RCP< StepperRKBase< Scalar > > stepper, const typename StepperRKAppAction< Scalar >::ACTION_LOCATION actLoc)=0 |
Execute application action for RK Stepper. More... | |
Application Action for StepperRKBase.
This class provides a means to apply various actions with the RK 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 of the RK AppActions (StepperRKAppAction::ACTION_LOCATION) in takeStep are documented in each of the RK Algorithm sections: StepperExplicitRK, StepperDIRK and StepperIMEX_RK.
Definition at line 35 of file Tempus_StepperRKAppAction.hpp.
enum Tempus::StepperRKAppAction::ACTION_LOCATION |
Indicates the location of application action (see algorithm).
Definition at line 38 of file Tempus_StepperRKAppAction.hpp.
|
inline |
Constructor.
Definition at line 49 of file Tempus_StepperRKAppAction.hpp.
|
inlinevirtual |
Destructor.
Definition at line 52 of file Tempus_StepperRKAppAction.hpp.
|
pure virtual |
Execute application action for RK Stepper.
Implemented in Tempus::StepperRKModifierXBase< Scalar >, Tempus::StepperRKModifierXBase< double >, Tempus::StepperRKModifierBase< Scalar >, Tempus::StepperRKModifierBase< double >, Tempus::StepperRKObserverBase< Scalar >, Tempus::StepperRKObserverBase< double >, and Tempus::StepperRKAppActionComposite< Scalar >.