Tempus  Version of the Day
Time Integration
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Member Functions | List of all members
Tempus::StepperNewmarkExplicitAFormModifierXBase< Scalar > Class Template Referenceabstract

Base ModifierX for StepperNewmarkExplicitAForm. More...

#include <Tempus_StepperNewmarkExplicitAFormModifierXBase.hpp>

Inheritance diagram for Tempus::StepperNewmarkExplicitAFormModifierXBase< Scalar >:
Tempus::StepperNewmarkExplicitAFormAppAction< Scalar > Tempus::StepperNewmarkExplicitAFormModifierXDefault< Scalar >

Public Types

enum  MODIFIER_TYPE { X_BEGIN_STEP, X_BEFORE_EXPLICIT_EVAL, X_AFTER_EXPLICIT_EVAL, X_END_STEP }
 Indicates the location of application action (see algorithm). More...
 
- Public Types inherited from Tempus::StepperNewmarkExplicitAFormAppAction< Scalar >
enum  ACTION_LOCATION { BEGIN_STEP, BEFORE_EXPLICIT_EVAL, AFTER_EXPLICIT_EVAL, 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::StepperNewmarkExplicitAFormAppAction< Scalar >
 StepperNewmarkExplicitAFormAppAction ()
 Constructor. More...
 
virtual ~StepperNewmarkExplicitAFormAppAction ()
 Destructor. More...
 

Private Member Functions

void execute (Teuchos::RCP< SolutionHistory< Scalar > > sh, Teuchos::RCP< StepperNewmarkExplicitAForm< Scalar > > stepper, const typename StepperNewmarkExplicitAFormAppAction< Scalar >::ACTION_LOCATION actLoc)
 Execute application action for NewmarkExplicitAForm Stepper. More...
 

Detailed Description

template<class Scalar>
class Tempus::StepperNewmarkExplicitAFormModifierXBase< Scalar >

Base ModifierX for StepperNewmarkExplicitAForm.

This class provides a means to modify just the solution values (i.e., $x$ and $dot{x}$), 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 StepperNewmarkExplicitAFormModifierXBase::MODIFIER_TYPE which correspond to the AppAction calls (StepperNewmarkExplicitAFormAppAction::ACTION_LOCATION) are shown in the algorithm documentation of the StepperNewmarkExplicitAForm.

Definition at line 37 of file Tempus_StepperNewmarkExplicitAFormModifierXBase.hpp.

Member Enumeration Documentation

Indicates the location of application action (see algorithm).

Enumerator
X_BEGIN_STEP 

Modify $x$ at the beginning of the step.

X_BEFORE_EXPLICIT_EVAL 

Modify $x$ before the explicit evaluation.

X_AFTER_EXPLICIT_EVAL 

Modify $x$ after the explicit evaluation.

X_END_STEP 

Modify $x$ at the end of the step.

Definition at line 98 of file Tempus_StepperNewmarkExplicitAFormModifierXBase.hpp.

Member Function Documentation

template<class Scalar>
void Tempus::StepperNewmarkExplicitAFormModifierXBase< Scalar >::execute ( Teuchos::RCP< SolutionHistory< Scalar > >  sh,
Teuchos::RCP< StepperNewmarkExplicitAForm< Scalar > >  stepper,
const typename StepperNewmarkExplicitAFormAppAction< Scalar >::ACTION_LOCATION  actLoc 
)
inlineprivatevirtual

Execute application action for NewmarkExplicitAForm Stepper.

Implements Tempus::StepperNewmarkExplicitAFormAppAction< Scalar >.

Definition at line 54 of file Tempus_StepperNewmarkExplicitAFormModifierXBase.hpp.

template<class Scalar>
virtual void Tempus::StepperNewmarkExplicitAFormModifierXBase< Scalar >::modify ( Teuchos::RCP< Thyra::VectorBase< Scalar > >  ,
const Scalar  ,
const Scalar  ,
const MODIFIER_TYPE  modType 
)
pure virtual

Modify solution based on the MODIFIER_TYPE.


The documentation for this class was generated from the following file: