Tempus
Version of the Day
Time Integration
|
Time-derivative interface for BDF2. More...
#include <Tempus_StepperBDF2_decl.hpp>
Public Member Functions | |
StepperBDF2TimeDerivative (Scalar dt, Scalar dtOld, Teuchos::RCP< const Thyra::VectorBase< Scalar > > xOld, Teuchos::RCP< const Thyra::VectorBase< Scalar > > xOldOld) | |
Constructor. More... | |
virtual | ~StepperBDF2TimeDerivative () |
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 dt, Scalar dtOld, Teuchos::RCP< const Thyra::VectorBase< Scalar > > xOld, Teuchos::RCP< const Thyra::VectorBase< Scalar > > xOldOld) |
Private Attributes | |
Teuchos::RCP< const Thyra::VectorBase< Scalar > > | xOld_ |
Teuchos::RCP< const Thyra::VectorBase< Scalar > > | xOldOld_ |
Scalar | dt_ |
Scalar | dtOld_ |
Time-derivative interface for BDF2.
Given the state , compute the BDF2 time-derivative,
where
is not used and set to null.
Definition at line 209 of file Tempus_StepperBDF2_decl.hpp.
|
inline |
Constructor.
Definition at line 213 of file Tempus_StepperBDF2_decl.hpp.
|
inlinevirtual |
Destructor.
Definition at line 222 of file Tempus_StepperBDF2_decl.hpp.
|
inlinevirtual |
Compute the time derivative.
Implements Tempus::TimeDerivative< Scalar >.
Definition at line 225 of file Tempus_StepperBDF2_decl.hpp.
|
inlinevirtual |
Definition at line 239 of file Tempus_StepperBDF2_decl.hpp.
|
private |
Definition at line 251 of file Tempus_StepperBDF2_decl.hpp.
|
private |
Definition at line 252 of file Tempus_StepperBDF2_decl.hpp.
|
private |
Definition at line 253 of file Tempus_StepperBDF2_decl.hpp.
|
private |
Definition at line 254 of file Tempus_StepperBDF2_decl.hpp.