|
Tempus Version of the Day
Time Integration
|
Time-derivative interface for DIRK. More...
#include <Tempus_StepperDIRK_decl.hpp>
Public Member Functions | |
| StepperDIRKTimeDerivative (Scalar s, Teuchos::RCP< const Thyra::VectorBase< Scalar > > xTilde) | |
| Constructor. | |
| virtual | ~StepperDIRKTimeDerivative () |
| Destructor. | |
| 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. | |
| virtual void | initialize (Scalar s, Teuchos::RCP< const Thyra::VectorBase< Scalar > > xTilde) |
Private Attributes | |
| Teuchos::RCP< const Thyra::VectorBase< Scalar > > | xTilde_ |
| Scalar | s_ |
Time-derivative interface for DIRK.
Given the stage state 
![\[
\tilde{X} = x_{n-1} +\Delta t \sum_{j=1}^{i-1} a_{ij}\,\dot{X}_{j},
\]](form_88.png)
compute the DIRK stage time-derivative,
![\[
\dot{X}_i = \frac{X_{i} - \tilde{X}}{a_{ii} \Delta t}
\]](form_89.png)

Definition at line 295 of file Tempus_StepperDIRK_decl.hpp.
|
inline |
Constructor.
Definition at line 299 of file Tempus_StepperDIRK_decl.hpp.
|
inlinevirtual |
Destructor.
Definition at line 306 of file Tempus_StepperDIRK_decl.hpp.
|
inlinevirtual |
Compute the time derivative.
Implements Tempus::TimeDerivative< Scalar >.
Definition at line 309 of file Tempus_StepperDIRK_decl.hpp.
|
inlinevirtual |
Definition at line 318 of file Tempus_StepperDIRK_decl.hpp.
|
private |
Definition at line 326 of file Tempus_StepperDIRK_decl.hpp.
|
private |
Definition at line 327 of file Tempus_StepperDIRK_decl.hpp.