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

This interface defines the time derivative connection between an implicit Stepper and WrapperModelEvaluator. More...

#include <Tempus_TimeDerivative.hpp>

Inheritance diagram for Tempus::TimeDerivative< Scalar >:
Tempus::StepperBackwardEulerTimeDerivative< Scalar > Tempus::StepperBDF2TimeDerivative< Scalar > Tempus::StepperDIRKTimeDerivative< Scalar > Tempus::StepperIMEX_RKPartTimeDerivative< Scalar > Tempus::StepperIMEX_RKTimeDerivative< Scalar > Tempus::StepperTrapezoidalTimeDerivative< Scalar >

Public Member Functions

virtual void compute (Teuchos::RCP< const Thyra::VectorBase< Scalar > > x, Teuchos::RCP< Thyra::VectorBase< Scalar > > xDot, Teuchos::RCP< Thyra::VectorBase< Scalar > > xDotDot=Teuchos::null)=0
 Set the underlying application ModelEvaluator. More...
 

Detailed Description

template<typename Scalar>
class Tempus::TimeDerivative< Scalar >

This interface defines the time derivative connection between an implicit Stepper and WrapperModelEvaluator.

For a WrapperModelEvaluator which uses an implicit Stepper, i.e., uses the implicit ODE or DAE form, $\mathcal{F}(\ddot{x},\dot{x},x,t)$, requires definition of the time derivatives during the iterations of the nonlinear solve. Note that if the Stepper solves for a time derivative, e.g., $\ddot{x}$ for the Newmark- $\beta$ methods, definitions for $x$ and $\dot{x}$ are required in the function compute(). This interface defines the calling function to compute those derivatives and/or state.

Definition at line 34 of file Tempus_TimeDerivative.hpp.

Member Function Documentation

template<typename Scalar >
virtual void Tempus::TimeDerivative< Scalar >::compute ( Teuchos::RCP< const Thyra::VectorBase< Scalar > >  x,
Teuchos::RCP< Thyra::VectorBase< Scalar > >  xDot,
Teuchos::RCP< Thyra::VectorBase< Scalar > >  xDotDot = Teuchos::null 
)
pure virtual

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