Tempus  Version of the Day
Time Integration
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Tempus::StepperIMEX_RKTimeDerivative< Scalar > Class Template Reference

Time-derivative interface for IMEX RK. More...

#include <Tempus_StepperIMEX_RK_decl.hpp>

Inheritance diagram for Tempus::StepperIMEX_RKTimeDerivative< Scalar >:
Tempus::TimeDerivative< Scalar >

Public Member Functions

 StepperIMEX_RKTimeDerivative (Scalar s, Teuchos::RCP< const Thyra::VectorBase< Scalar > > xTilde)
 Constructor. More...
 
virtual ~StepperIMEX_RKTimeDerivative ()
 Destructor. More...
 
virtual void compute (Teuchos::RCP< const Thyra::VectorBase< Scalar > > x, Teuchos::RCP< Thyra::VectorBase< Scalar > > xDot, Teuchos::RCP< Thyra::VectorBase< Scalar > > xDotDot=Teuchos::null)
 Compute the time derivative. More...
 
virtual void initialize (Scalar s, Teuchos::RCP< const Thyra::VectorBase< Scalar > > xTilde)
 

Private Attributes

Teuchos::RCP< const
Thyra::VectorBase< Scalar > > 
xTilde_
 
Scalar s_
 

Detailed Description

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

Time-derivative interface for IMEX RK.

Given the stage state $X_i$ and

\[ \tilde{X} = x_{n-1} +\Delta t \sum_{j=1}^{i-1} a_{ij}\,\dot{X}_{j}, \]

compute the IMEX RK stage time-derivative,

\[ \dot{X}_i = \frac{X_{i} - \tilde{X}}{a_{ii} \Delta t} \]

$\ddot{x}$ is not used and set to null.

Definition at line 469 of file Tempus_StepperIMEX_RK_decl.hpp.

Constructor & Destructor Documentation

template<typename Scalar >
Tempus::StepperIMEX_RKTimeDerivative< Scalar >::StepperIMEX_RKTimeDerivative ( Scalar  s,
Teuchos::RCP< const Thyra::VectorBase< Scalar > >  xTilde 
)
inline

Constructor.

Definition at line 475 of file Tempus_StepperIMEX_RK_decl.hpp.

template<typename Scalar >
virtual Tempus::StepperIMEX_RKTimeDerivative< Scalar >::~StepperIMEX_RKTimeDerivative ( )
inlinevirtual

Destructor.

Definition at line 480 of file Tempus_StepperIMEX_RK_decl.hpp.

Member Function Documentation

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

Compute the time derivative.

Implements Tempus::TimeDerivative< Scalar >.

Definition at line 483 of file Tempus_StepperIMEX_RK_decl.hpp.

template<typename Scalar >
virtual void Tempus::StepperIMEX_RKTimeDerivative< Scalar >::initialize ( Scalar  s,
Teuchos::RCP< const Thyra::VectorBase< Scalar > >  xTilde 
)
inlinevirtual

Definition at line 498 of file Tempus_StepperIMEX_RK_decl.hpp.

Member Data Documentation

template<typename Scalar >
Scalar Tempus::StepperIMEX_RKTimeDerivative< Scalar >::s_
private

Definition at line 505 of file Tempus_StepperIMEX_RK_decl.hpp.

template<typename Scalar >
Teuchos::RCP<const Thyra::VectorBase<Scalar> > Tempus::StepperIMEX_RKTimeDerivative< Scalar >::xTilde_
private

Definition at line 504 of file Tempus_StepperIMEX_RK_decl.hpp.


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