Tempus Version of the Day
Time Integration
|
The classic Dahlquist Test Problem. More...
#include <DahlquistTestModel_decl.hpp>
Public Member Functions | |
DahlquistTestModel () | |
DahlquistTestModel (Scalar lambda, bool includeXDot) | |
void | constructDahlquistTestModel (Scalar lambda, bool includeXDot) |
~DahlquistTestModel ()=default | |
Default destructor. | |
Thyra::ModelEvaluatorBase::InArgs< Scalar > | getExactSolution (double t) const |
Exact solution. | |
Scalar | getLambda () const |
Private functions overridden from ModelEvaluatorDefaultBase. | |
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. | |
Scalar | xDotIC_ |
Initial condition for xDot. | |
Thyra::ModelEvaluatorBase::OutArgs< Scalar > | createOutArgsImpl () const |
void | evalModelImpl (const Thyra::ModelEvaluatorBase::InArgs< Scalar > &inArgs_bar, const Thyra::ModelEvaluatorBase::OutArgs< Scalar > &outArgs_bar) const |
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 |
The classic Dahlquist Test Problem.
This is the canonical Dahlquist test equation
where
When
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 33 of file DahlquistTestModel_impl.hpp.
|
default |
Default destructor.
void Tempus_Test::DahlquistTestModel< Scalar >::constructDahlquistTestModel | ( | Scalar | lambda, |
bool | includeXDot ) |
Definition at line 40 of file DahlquistTestModel_impl.hpp.
Thyra::ModelEvaluatorBase::InArgs< Scalar > Tempus_Test::DahlquistTestModel< Scalar >::getExactSolution | ( | double | t | ) | const |
Exact solution.
Definition at line 123 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 154 of file DahlquistTestModel_impl.hpp.
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > Tempus_Test::DahlquistTestModel< Scalar >::get_f_space | ( | ) | const |
Definition at line 163 of file DahlquistTestModel_impl.hpp.
Thyra::ModelEvaluatorBase::InArgs< Scalar > Tempus_Test::DahlquistTestModel< Scalar >::getNominalValues | ( | ) | const |
Definition at line 172 of file DahlquistTestModel_impl.hpp.
Teuchos::RCP< Thyra::LinearOpWithSolveBase< Scalar > > Tempus_Test::DahlquistTestModel< Scalar >::create_W | ( | ) | const |
Definition at line 263 of file DahlquistTestModel_impl.hpp.
Teuchos::RCP< Thyra::LinearOpBase< Scalar > > Tempus_Test::DahlquistTestModel< Scalar >::create_W_op | ( | ) | const |
Definition at line 290 of file DahlquistTestModel_impl.hpp.
Teuchos::RCP< const Thyra::LinearOpWithSolveFactoryBase< Scalar > > Tempus_Test::DahlquistTestModel< Scalar >::get_W_factory | ( | ) | const |
Definition at line 301 of file DahlquistTestModel_impl.hpp.
Thyra::ModelEvaluatorBase::InArgs< Scalar > Tempus_Test::DahlquistTestModel< Scalar >::createInArgs | ( | ) | const |
Definition at line 181 of file DahlquistTestModel_impl.hpp.
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > Tempus_Test::DahlquistTestModel< Scalar >::get_p_space | ( | int | l | ) | const |
Definition at line 311 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 328 of file DahlquistTestModel_impl.hpp.
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > Tempus_Test::DahlquistTestModel< Scalar >::get_g_space | ( | int | j | ) | const |
Definition at line 351 of file DahlquistTestModel_impl.hpp.
|
private |
Definition at line 190 of file DahlquistTestModel_impl.hpp.
|
private |
Definition at line 199 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.