Tempus
Version of the Day
Time Integration
|
Base ModifierX for StepperTrapezoidal. More...
#include <Tempus_StepperTrapezoidalModifierXBase.hpp>
Public Types | |
enum | MODIFIER_TYPE { X_BEGIN_STEP, X_BEFORE_SOLVE, X_AFTER_SOLVE, XDOT_END_STEP } |
Indicates the location of application action (see algorithm). More... | |
Public Types inherited from Tempus::StepperTrapezoidalAppAction< Scalar > | |
enum | ACTION_LOCATION { BEGIN_STEP, BEFORE_SOLVE, AFTER_SOLVE, 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::StepperTrapezoidalAppAction< Scalar > | |
StepperTrapezoidalAppAction () | |
Constructor. More... | |
virtual | ~StepperTrapezoidalAppAction () |
Destructor. More... | |
Private Member Functions | |
void | execute (Teuchos::RCP< SolutionHistory< Scalar > > sh, Teuchos::RCP< StepperTrapezoidal< Scalar > > stepper, const typename StepperTrapezoidalAppAction< Scalar >::ACTION_LOCATION actLoc) |
Execute application action for Trapezoidal Stepper. More... | |
Base ModifierX for StepperTrapezoidal.
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 StepperTrapezoidalModifierXBase::MODIFIER_TYPE which correspond to the AppAction calls (StepperTrapezoidalAppAction::ACTION_LOCATION) are shown in the algorithm documentation of the StepperTrapezoidal.
Definition at line 37 of file Tempus_StepperTrapezoidalModifierXBase.hpp.
enum Tempus::StepperTrapezoidalModifierXBase::MODIFIER_TYPE |
Indicates the location of application action (see algorithm).
Definition at line 101 of file Tempus_StepperTrapezoidalModifierXBase.hpp.
|
inlineprivatevirtual |
Execute application action for Trapezoidal Stepper.
Implements Tempus::StepperTrapezoidalAppAction< Scalar >.
Definition at line 53 of file Tempus_StepperTrapezoidalModifierXBase.hpp.
|
pure virtual |
Modify solution based on the MODIFIER_TYPE.