Tempus
Version of the Day
Time Integration
|
Base ModifierX for StepperLeapfrog. More...
#include <Tempus_StepperLeapfrogModifierXBase.hpp>
Public Types | |
enum | MODIFIER_TYPE { X_BEGIN_STEP, X_BEFORE_X_UPDATE, X_BEFORE_EXPLICIT_EVAL, X_BEFORE_XDOT_UPDATE, X_END_STEP } |
Indicates the location of application action (see algorithm). More... | |
Public Types inherited from Tempus::StepperLeapfrogAppAction< Scalar > | |
enum | ACTION_LOCATION { BEGIN_STEP, BEFORE_X_UPDATE, BEFORE_EXPLICIT_EVAL, BEFORE_XDOT_UPDATE, END_STEP } |
Indicates the location of application action (see algorithm). More... | |
Public Member Functions | |
virtual void | modify (Teuchos::RCP< Thyra::VectorBase< Scalar > >, const Scalar, const Scalar, const MODIFIER_TYPE modType)=0 |
Modify solution based on the MODIFIER_TYPE. More... | |
Public Member Functions inherited from Tempus::StepperLeapfrogAppAction< Scalar > | |
StepperLeapfrogAppAction () | |
Constructor. More... | |
virtual | ~StepperLeapfrogAppAction () |
Destructor. More... | |
Private Member Functions | |
void | execute (Teuchos::RCP< SolutionHistory< Scalar > > sh, Teuchos::RCP< StepperLeapfrog< Scalar > > stepper, const typename StepperLeapfrogAppAction< Scalar >::ACTION_LOCATION actLoc) |
Execute application action for Leapfrog Stepper. More... | |
Base ModifierX for StepperLeapfrog.
This class provides a means to modify just the solution values (i.e., and ), and nothing else, but time and timestep are also provided.
Users deriving from this class can access and change the solution during the timestep (e.g., limiting the solution for monoticity). It is expected that the user knows what changes are allowable without affecting the Stepper correctness, performance, accuracy and stability (i.e., USER BEWARE!!).
The locations of the StepperLeapfrogModifierXBase::MODIFIER_TYPE which correspond to the AppAction calls (StepperLeapfrogAppAction::ACTION_LOCATION) are shown in the algorithm documentation of the StepperLeapfrog.
Definition at line 38 of file Tempus_StepperLeapfrogModifierXBase.hpp.
enum Tempus::StepperLeapfrogModifierXBase::MODIFIER_TYPE |
Indicates the location of application action (see algorithm).
Definition at line 103 of file Tempus_StepperLeapfrogModifierXBase.hpp.
|
inlineprivatevirtual |
Execute application action for Leapfrog Stepper.
Implements Tempus::StepperLeapfrogAppAction< Scalar >.
Definition at line 54 of file Tempus_StepperLeapfrogModifierXBase.hpp.
|
pure virtual |
Modify solution based on the MODIFIER_TYPE.