|
Tempus
Version of the Day
Time Integration
|
The classic Dahlquist Test Problem. More...
#include <DahlquistTestModel_decl.hpp>
Inherits StateFuncModelEvaluatorBase< Scalar >.
Public Member Functions | |
| DahlquistTestModel () | |
| DahlquistTestModel (Scalar lambda, bool includeXDot) | |
| void | constructDahlquistTestModel (Scalar lambda, bool includeXDot) |
| ~DahlquistTestModel ()=default | |
| Default destructor. More... | |
| Thyra::ModelEvaluatorBase::InArgs< Scalar > | getExactSolution (double t) const |
| Exact solution. More... | |
| Scalar | getLambda () const |
Private Attributes | |
| int | dim_ |
| int | Np_ |
| int | np_ |
| int | Ng_ |
| int | ng_ |
| bool | haveIC_ |
| bool | acceptModelParams_ |
| Scalar | lambda_ |
| bool | includeXDot_ |
| bool | isInitialized_ |
| Thyra::ModelEvaluatorBase::InArgs< Scalar > | inArgs_ |
| Thyra::ModelEvaluatorBase::OutArgs< Scalar > | outArgs_ |
| Thyra::ModelEvaluatorBase::InArgs< Scalar > | nominalValues_ |
| Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > | x_space_ |
| Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > | f_space_ |
| Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > | p_space_ |
| Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > | g_space_ |
| Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > | DxDp_space_ |
| Scalar | xIC_ |
| Initial condition for x. More... | |
| Scalar | xDotIC_ |
| Initial condition for xDot. More... | |
Public functions overridden from ModelEvaluator. | |
| Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > | get_x_space () const |
| Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > | get_f_space () const |
| Thyra::ModelEvaluatorBase::InArgs< Scalar > | getNominalValues () const |
| Teuchos::RCP< Thyra::LinearOpWithSolveBase< Scalar > > | create_W () const |
| Teuchos::RCP< Thyra::LinearOpBase< Scalar > > | create_W_op () const |
| Teuchos::RCP< const Thyra::LinearOpWithSolveFactoryBase< Scalar > > | get_W_factory () const |
| Thyra::ModelEvaluatorBase::InArgs< Scalar > | createInArgs () const |
| Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > | get_p_space (int l) const |
| Teuchos::RCP< const Teuchos::Array< std::string > > | get_p_names (int l) const |
| Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > | get_g_space (int j) const |
Private functions overridden from ModelEvaluatorDefaultBase. | |
| Thyra::ModelEvaluatorBase::OutArgs< Scalar > | createOutArgsImpl () const |
| void | evalModelImpl (const Thyra::ModelEvaluatorBase::InArgs< Scalar > &inArgs_bar, const Thyra::ModelEvaluatorBase::OutArgs< Scalar > &outArgs_bar) const |
The classic Dahlquist Test Problem.
This is the canonical Dahlquist test equation
where
with the initial condition
. The exact solution is
When
,
as
. Numerical methods that exhibit this property are said to be A-stable.
Definition at line 35 of file DahlquistTestModel_decl.hpp.
| Tempus_Test::DahlquistTestModel< Scalar >::DahlquistTestModel | ( | ) |
Definition at line 28 of file DahlquistTestModel_impl.hpp.
| Tempus_Test::DahlquistTestModel< Scalar >::DahlquistTestModel | ( | Scalar | lambda, |
| bool | includeXDot | ||
| ) |
Definition at line 34 of file DahlquistTestModel_impl.hpp.
|
default |
Default destructor.
| void Tempus_Test::DahlquistTestModel< Scalar >::constructDahlquistTestModel | ( | Scalar | lambda, |
| bool | includeXDot | ||
| ) |
Definition at line 41 of file DahlquistTestModel_impl.hpp.
| Thyra::ModelEvaluatorBase::InArgs< Scalar > Tempus_Test::DahlquistTestModel< Scalar >::getExactSolution | ( | double | t | ) | const |
Exact solution.
Definition at line 124 of file DahlquistTestModel_impl.hpp.
|
inline |
Definition at line 54 of file DahlquistTestModel_decl.hpp.
| Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > Tempus_Test::DahlquistTestModel< Scalar >::get_x_space | ( | ) | const |
Definition at line 155 of file DahlquistTestModel_impl.hpp.
| Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > Tempus_Test::DahlquistTestModel< Scalar >::get_f_space | ( | ) | const |
Definition at line 164 of file DahlquistTestModel_impl.hpp.
| Thyra::ModelEvaluatorBase::InArgs< Scalar > Tempus_Test::DahlquistTestModel< Scalar >::getNominalValues | ( | ) | const |
Definition at line 173 of file DahlquistTestModel_impl.hpp.
| Teuchos::RCP< Thyra::LinearOpWithSolveBase< Scalar > > Tempus_Test::DahlquistTestModel< Scalar >::create_W | ( | ) | const |
Definition at line 264 of file DahlquistTestModel_impl.hpp.
| Teuchos::RCP< Thyra::LinearOpBase< Scalar > > Tempus_Test::DahlquistTestModel< Scalar >::create_W_op | ( | ) | const |
Definition at line 291 of file DahlquistTestModel_impl.hpp.
| Teuchos::RCP< const Thyra::LinearOpWithSolveFactoryBase< Scalar > > Tempus_Test::DahlquistTestModel< Scalar >::get_W_factory | ( | ) | const |
Definition at line 302 of file DahlquistTestModel_impl.hpp.
| Thyra::ModelEvaluatorBase::InArgs< Scalar > Tempus_Test::DahlquistTestModel< Scalar >::createInArgs | ( | ) | const |
Definition at line 182 of file DahlquistTestModel_impl.hpp.
| Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > Tempus_Test::DahlquistTestModel< Scalar >::get_p_space | ( | int | l | ) | const |
Definition at line 312 of file DahlquistTestModel_impl.hpp.
| Teuchos::RCP< const Teuchos::Array< std::string > > Tempus_Test::DahlquistTestModel< Scalar >::get_p_names | ( | int | l | ) | const |
Definition at line 329 of file DahlquistTestModel_impl.hpp.
| Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > Tempus_Test::DahlquistTestModel< Scalar >::get_g_space | ( | int | j | ) | const |
Definition at line 352 of file DahlquistTestModel_impl.hpp.
|
private |
Definition at line 191 of file DahlquistTestModel_impl.hpp.
|
private |
Definition at line 200 of file DahlquistTestModel_impl.hpp.
|
private |
Definition at line 83 of file DahlquistTestModel_decl.hpp.
|
private |
Definition at line 84 of file DahlquistTestModel_decl.hpp.
|
private |
Definition at line 85 of file DahlquistTestModel_decl.hpp.
|
private |
Definition at line 86 of file DahlquistTestModel_decl.hpp.
|
private |
Definition at line 87 of file DahlquistTestModel_decl.hpp.
|
private |
Definition at line 88 of file DahlquistTestModel_decl.hpp.
|
private |
Definition at line 89 of file DahlquistTestModel_decl.hpp.
|
private |
Definition at line 90 of file DahlquistTestModel_decl.hpp.
|
private |
Definition at line 91 of file DahlquistTestModel_decl.hpp.
|
mutableprivate |
Definition at line 93 of file DahlquistTestModel_decl.hpp.
|
mutableprivate |
Definition at line 94 of file DahlquistTestModel_decl.hpp.
|
mutableprivate |
Definition at line 95 of file DahlquistTestModel_decl.hpp.
|
mutableprivate |
Definition at line 96 of file DahlquistTestModel_decl.hpp.
|
private |
Definition at line 97 of file DahlquistTestModel_decl.hpp.
|
private |
Definition at line 98 of file DahlquistTestModel_decl.hpp.
|
private |
Definition at line 99 of file DahlquistTestModel_decl.hpp.
|
private |
Definition at line 100 of file DahlquistTestModel_decl.hpp.
|
private |
Definition at line 101 of file DahlquistTestModel_decl.hpp.
|
private |
Initial condition for x.
Definition at line 103 of file DahlquistTestModel_decl.hpp.
|
private |
Initial condition for xDot.
Definition at line 104 of file DahlquistTestModel_decl.hpp.
1.8.14