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 154 of file Tempus_StepperBDF2_decl.hpp.
|
inline |
Constructor.
Definition at line 160 of file Tempus_StepperBDF2_decl.hpp.
|
inlinevirtual |
Destructor.
Definition at line 166 of file Tempus_StepperBDF2_decl.hpp.
|
inlinevirtual |
Compute the time derivative.
Implements Tempus::TimeDerivative< Scalar >.
Definition at line 169 of file Tempus_StepperBDF2_decl.hpp.
|
inlinevirtual |
Definition at line 183 of file Tempus_StepperBDF2_decl.hpp.
|
private |
Definition at line 192 of file Tempus_StepperBDF2_decl.hpp.
|
private |
Definition at line 193 of file Tempus_StepperBDF2_decl.hpp.
|
private |
Definition at line 190 of file Tempus_StepperBDF2_decl.hpp.
|
private |
Definition at line 191 of file Tempus_StepperBDF2_decl.hpp.