Tempus
Version of the Day
Time Integration
|
Time-derivative interface for Trapezoidal method. More...
#include <Tempus_StepperTrapezoidal_decl.hpp>
Public Member Functions | |
StepperTrapezoidalTimeDerivative (Scalar s, Teuchos::RCP< const Thyra::VectorBase< Scalar > > xOld, Teuchos::RCP< const Thyra::VectorBase< Scalar > > xDotOld) | |
Constructor. More... | |
virtual | ~StepperTrapezoidalTimeDerivative () |
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 > > xOld, Teuchos::RCP< const Thyra::VectorBase< Scalar > > xDotOld) |
Private Attributes | |
Scalar | s_ |
Teuchos::RCP< const Thyra::VectorBase< Scalar > > | xOld_ |
Teuchos::RCP< const Thyra::VectorBase< Scalar > > | xDotOld_ |
Time-derivative interface for Trapezoidal method.
Given the state , compute the Trapezoidal method time-derivative,
is not used and set to null.
Definition at line 127 of file Tempus_StepperTrapezoidal_decl.hpp.
|
inline |
Constructor.
Definition at line 133 of file Tempus_StepperTrapezoidal_decl.hpp.
|
inlinevirtual |
Destructor.
Definition at line 139 of file Tempus_StepperTrapezoidal_decl.hpp.
|
inlinevirtual |
Compute the time derivative.
Implements Tempus::TimeDerivative< Scalar >.
Definition at line 142 of file Tempus_StepperTrapezoidal_decl.hpp.
|
inlinevirtual |
Definition at line 153 of file Tempus_StepperTrapezoidal_decl.hpp.
|
private |
Definition at line 160 of file Tempus_StepperTrapezoidal_decl.hpp.
|
private |
Definition at line 162 of file Tempus_StepperTrapezoidal_decl.hpp.
|
private |
Definition at line 161 of file Tempus_StepperTrapezoidal_decl.hpp.