Tempus
Version of the Day
Time Integration
|
Application Action for StepperBDF2. More...
#include <Tempus_StepperBDF2AppAction.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 | |
StepperBDF2AppAction () | |
Constructor. More... | |
virtual | ~StepperBDF2AppAction () |
Destructor. More... | |
virtual void | execute (Teuchos::RCP< SolutionHistory< Scalar > > sh, Teuchos::RCP< StepperBDF2< Scalar > > stepper, const typename StepperBDF2AppAction< Scalar >::ACTION_LOCATION actLoc)=0 |
Execute application action for BDF2 Stepper. More... | |
Application Action for StepperBDF2.
This class provides a means to apply various actions with the BDF2 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 (StepperBDF2AppAction::ACTION_LOCATION) are shown in the algorithm documentation of the StepperBDF2.
Definition at line 35 of file Tempus_StepperBDF2AppAction.hpp.
enum Tempus::StepperBDF2AppAction::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 the solve. |
END_STEP |
At the end of the step. |
Definition at line 38 of file Tempus_StepperBDF2AppAction.hpp.
|
inline |
Constructor.
Definition at line 46 of file Tempus_StepperBDF2AppAction.hpp.
|
inlinevirtual |
Destructor.
Definition at line 49 of file Tempus_StepperBDF2AppAction.hpp.
|
pure virtual |
Execute application action for BDF2 Stepper.
Implemented in Tempus::StepperBDF2ModifierXBase< Scalar >, Tempus::StepperBDF2ModifierXBase< double >, Tempus::StepperBDF2ModifierBase< Scalar >, Tempus::StepperBDF2ModifierBase< double >, Tempus::StepperBDF2ObserverBase< Scalar >, Tempus::StepperBDF2ObserverBase< double >, and Tempus::StepperBDF2AppActionComposite< Scalar >.