Tempus
Version of the Day
Time Integration
|
Base ModifierX for StepperSubcycling. More...
#include <Tempus_StepperSubcyclingModifierXBase.hpp>
Public Types | |
enum | MODIFIER_TYPE { X_BEGIN_STEP, XDOT_END_STEP } |
Indicates the location of application action (see algorithm). More... | |
Public Types inherited from Tempus::StepperSubcyclingAppAction< Scalar > | |
enum | ACTION_LOCATION { BEGIN_STEP, 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::StepperSubcyclingAppAction< Scalar > | |
StepperSubcyclingAppAction () | |
Constructor. More... | |
virtual | ~StepperSubcyclingAppAction () |
Destructor. More... | |
Private Member Functions | |
void | execute (Teuchos::RCP< SolutionHistory< Scalar > > sh, Teuchos::RCP< StepperSubcycling< Scalar > > stepper, const typename StepperSubcyclingAppAction< Scalar >::ACTION_LOCATION actLoc) |
Execute application action for Subcycling Stepper. More... | |
Base ModifierX for StepperSubcycling.
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!!).
Below is the Subcycling algorithm with the locations of the ModifierX calls italicized.
Definition at line 44 of file Tempus_StepperSubcyclingModifierXBase.hpp.
enum Tempus::StepperSubcyclingModifierXBase::MODIFIER_TYPE |
Indicates the location of application action (see algorithm).
Enumerator | |
---|---|
X_BEGIN_STEP |
Modify at the beginning of the step. |
XDOT_END_STEP |
Modify at the end of the step. |
Definition at line 99 of file Tempus_StepperSubcyclingModifierXBase.hpp.
|
inlineprivatevirtual |
Execute application action for Subcycling Stepper.
Implements Tempus::StepperSubcyclingAppAction< Scalar >.
Definition at line 62 of file Tempus_StepperSubcyclingModifierXBase.hpp.
|
pure virtual |
Modify solution based on the MODIFIER_TYPE.