Tempus
Version of the Day
Time Integration
|
Base modifier for StepperBDF2. More...
#include <Tempus_StepperBDF2ModifierBase.hpp>
Public Member Functions | |
virtual void | modify (Teuchos::RCP< SolutionHistory< Scalar > >, Teuchos::RCP< StepperBDF2< Scalar > >, const typename StepperBDF2AppAction< Scalar >::ACTION_LOCATION actLoc)=0 |
Modify BDF2 Stepper. More... | |
Public Member Functions inherited from Tempus::StepperBDF2AppAction< Scalar > | |
StepperBDF2AppAction () | |
Constructor. More... | |
virtual | ~StepperBDF2AppAction () |
Destructor. More... | |
Private Member Functions | |
void | execute (Teuchos::RCP< SolutionHistory< Scalar > > sh, Teuchos::RCP< StepperBDF2< Scalar > > stepper, const typename StepperBDF2AppAction< Scalar >::ACTION_LOCATION actLoc) |
Execute application action for BDF2 Stepper. More... | |
Additional Inherited Members | |
Public Types inherited from Tempus::StepperBDF2AppAction< Scalar > | |
enum | ACTION_LOCATION { BEGIN_STEP, BEFORE_SOLVE, AFTER_SOLVE, END_STEP } |
Indicates the location of application action (see algorithm). More... | |
Base modifier for StepperBDF2.
This class provides a means to modify values (e.g., solution variables through SolutionHistory, and stepper member data through the Stepper), and can be very powerful and easy to make changes to the stepper and the solution.
Users deriving from this class can access a lot of data, and it is expected that those users know what changes are allowable without affecting the Stepper correctness, performance, accuracy and stability. Thus the user should be careful when accessing data through classes derived from the default modifier (i.e., USER BEWARE!!).
The locations for these AppAction calls (StepperBDF2AppAction::ACTION_LOCATION) are shown in the algorithm documentation of the StepperBDF2.
Definition at line 37 of file Tempus_StepperBDF2ModifierBase.hpp.
|
inlineprivatevirtual |
Execute application action for BDF2 Stepper.
Implements Tempus::StepperBDF2AppAction< Scalar >.
Definition at line 49 of file Tempus_StepperBDF2ModifierBase.hpp.
|
pure virtual |
Modify BDF2 Stepper.
Implemented in Tempus::StepperBDF2ModifierDefault< Scalar >.