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 206 of file Tempus_StepperBDF2_decl.hpp.
|
inline |
Constructor.
Definition at line 212 of file Tempus_StepperBDF2_decl.hpp.
|
inlinevirtual |
Destructor.
Definition at line 218 of file Tempus_StepperBDF2_decl.hpp.
|
inlinevirtual |
Compute the time derivative.
Implements Tempus::TimeDerivative< Scalar >.
Definition at line 221 of file Tempus_StepperBDF2_decl.hpp.
|
inlinevirtual |
Definition at line 235 of file Tempus_StepperBDF2_decl.hpp.
|
private |
Definition at line 242 of file Tempus_StepperBDF2_decl.hpp.
|
private |
Definition at line 243 of file Tempus_StepperBDF2_decl.hpp.
|
private |
Definition at line 244 of file Tempus_StepperBDF2_decl.hpp.
|
private |
Definition at line 245 of file Tempus_StepperBDF2_decl.hpp.