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

Base modifier for StepperTrapezoidal. More...

#include <Tempus_StepperTrapezoidalModifierBase.hpp>

Inheritance diagram for Tempus::StepperTrapezoidalModifierBase< Scalar >:
Inheritance graph
[legend]

Public Member Functions

virtual void modify (Teuchos::RCP< SolutionHistory< Scalar > >, Teuchos::RCP< StepperTrapezoidal< Scalar > >, const typename StepperTrapezoidalAppAction< Scalar >::ACTION_LOCATION actLoc)=0
 Modify Trapezoidal Stepper. 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...
 

Additional Inherited Members

- 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...
 

Detailed Description

template<class Scalar>
class Tempus::StepperTrapezoidalModifierBase< Scalar >

Base modifier for StepperTrapezoidal.

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 (StepperTrapezoidalAppAction::ACTION_LOCATION) are shown in the algorithm documentation of the StepperTrapezoidal.

Definition at line 37 of file Tempus_StepperTrapezoidalModifierBase.hpp.

Member Function Documentation

template<class Scalar>
void Tempus::StepperTrapezoidalModifierBase< Scalar >::execute ( Teuchos::RCP< SolutionHistory< Scalar > >  sh,
Teuchos::RCP< StepperTrapezoidal< Scalar > >  stepper,
const typename StepperTrapezoidalAppAction< Scalar >::ACTION_LOCATION  actLoc 
)
inlineprivatevirtual

Execute application action for Trapezoidal Stepper.

Implements Tempus::StepperTrapezoidalAppAction< Scalar >.

Definition at line 51 of file Tempus_StepperTrapezoidalModifierBase.hpp.

template<class Scalar>
virtual void Tempus::StepperTrapezoidalModifierBase< Scalar >::modify ( Teuchos::RCP< SolutionHistory< Scalar > >  ,
Teuchos::RCP< StepperTrapezoidal< Scalar > >  ,
const typename StepperTrapezoidalAppAction< Scalar >::ACTION_LOCATION  actLoc 
)
pure virtual

Modify Trapezoidal Stepper.

Implemented in Tempus::StepperTrapezoidalModifierDefault< Scalar >.


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