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

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

#include <Tempus_StepperIMEX_RK_Partition_decl.hpp>

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

Public Member Functions

 StepperIMEX_RKPartTimeDerivative (Scalar s, Teuchos::RCP< const Thyra::VectorBase< Scalar > > xTilde)
 Constructor. More...
 
virtual ~StepperIMEX_RKPartTimeDerivative ()
 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_RKPartTimeDerivative< Scalar >

Time-derivative interface for Partitioned 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 485 of file Tempus_StepperIMEX_RK_Partition_decl.hpp.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 489 of file Tempus_StepperIMEX_RK_Partition_decl.hpp.

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

Destructor.

Definition at line 496 of file Tempus_StepperIMEX_RK_Partition_decl.hpp.

Member Function Documentation

template<typename Scalar >
virtual void Tempus::StepperIMEX_RKPartTimeDerivative< 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 499 of file Tempus_StepperIMEX_RK_Partition_decl.hpp.

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

Definition at line 514 of file Tempus_StepperIMEX_RK_Partition_decl.hpp.

Member Data Documentation

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

Definition at line 522 of file Tempus_StepperIMEX_RK_Partition_decl.hpp.

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

Definition at line 523 of file Tempus_StepperIMEX_RK_Partition_decl.hpp.


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