Tempus
Version of the Day
Time Integration
|
Simple quadratic equation with a stable steady-state. This is a simple differential equation
which has steady state solutions . The solution is stable if and the solution is stable if . This model is used to test pseudo-transient sensitivity analysis methods. More...
#include <SteadyQuadraticModel_decl.hpp>
Public Member Functions | |
SteadyQuadraticModel (Teuchos::RCP< Teuchos::ParameterList > pList=Teuchos::null) | |
Scalar | getSteadyStateSolution () const |
Scalar | getSteadyStateSolutionSensitivity () 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 |
Public functions overridden from ParameterListAcceptor. | |
void | setParameterList (Teuchos::RCP< Teuchos::ParameterList > const ¶mList) |
Teuchos::RCP< const Teuchos::ParameterList > | getValidParameters () const |
Private Member Functions | |
void | setupInOutArgs_ () 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 |
Private Attributes | |
int | dim_ |
Number of state unknowns (2) More... | |
int | Np_ |
Number of parameter vectors (1) More... | |
int | np_ |
Number of parameters in this vector (2) More... | |
int | Ng_ |
Number of observation functions (1) More... | |
int | ng_ |
Number of elements in this observation function (1) More... | |
bool | useDfDpAsTangent_ |
Treat DfDp OutArg as tangent (df/dx*dx/dp+df/dp) More... | |
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 | b_ |
Model parameter. More... | |
Simple quadratic equation with a stable steady-state. This is a simple differential equation
which has steady state solutions . The solution is stable if and the solution is stable if . This model is used to test pseudo-transient sensitivity analysis methods.
Definition at line 31 of file SteadyQuadraticModel_decl.hpp.
Tempus_Test::SteadyQuadraticModel< Scalar >::SteadyQuadraticModel | ( | Teuchos::RCP< Teuchos::ParameterList > | pList = Teuchos::null | ) |
Definition at line 31 of file SteadyQuadraticModel_impl.hpp.
Teuchos::RCP< Thyra::LinearOpWithSolveBase< Scalar > > Tempus_Test::SteadyQuadraticModel< Scalar >::create_W | ( | ) | const |
Definition at line 107 of file SteadyQuadraticModel_impl.hpp.
Teuchos::RCP< Thyra::LinearOpBase< Scalar > > Tempus_Test::SteadyQuadraticModel< Scalar >::create_W_op | ( | ) | const |
Definition at line 140 of file SteadyQuadraticModel_impl.hpp.
Thyra::ModelEvaluatorBase::InArgs< Scalar > Tempus_Test::SteadyQuadraticModel< Scalar >::createInArgs | ( | ) | const |
Definition at line 162 of file SteadyQuadraticModel_impl.hpp.
|
private |
Definition at line 175 of file SteadyQuadraticModel_impl.hpp.
|
private |
Definition at line 185 of file SteadyQuadraticModel_impl.hpp.
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > Tempus_Test::SteadyQuadraticModel< Scalar >::get_f_space | ( | ) | const |
Definition at line 87 of file SteadyQuadraticModel_impl.hpp.
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > Tempus_Test::SteadyQuadraticModel< Scalar >::get_g_space | ( | int | j | ) | const |
Definition at line 332 of file SteadyQuadraticModel_impl.hpp.
Teuchos::RCP< const Teuchos::Array< std::string > > Tempus_Test::SteadyQuadraticModel< Scalar >::get_p_names | ( | int | l | ) | const |
Definition at line 314 of file SteadyQuadraticModel_impl.hpp.
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > Tempus_Test::SteadyQuadraticModel< Scalar >::get_p_space | ( | int | l | ) | const |
Definition at line 301 of file SteadyQuadraticModel_impl.hpp.
Teuchos::RCP< const Thyra::LinearOpWithSolveFactoryBase< Scalar > > Tempus_Test::SteadyQuadraticModel< Scalar >::get_W_factory | ( | ) | const |
Definition at line 151 of file SteadyQuadraticModel_impl.hpp.
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > Tempus_Test::SteadyQuadraticModel< Scalar >::get_x_space | ( | ) | const |
Definition at line 78 of file SteadyQuadraticModel_impl.hpp.
Thyra::ModelEvaluatorBase::InArgs< Scalar > Tempus_Test::SteadyQuadraticModel< Scalar >::getNominalValues | ( | ) | const |
Definition at line 96 of file SteadyQuadraticModel_impl.hpp.
Scalar Tempus_Test::SteadyQuadraticModel< Scalar >::getSteadyStateSolution | ( | ) | const |
Definition at line 58 of file SteadyQuadraticModel_impl.hpp.
Scalar Tempus_Test::SteadyQuadraticModel< Scalar >::getSteadyStateSolutionSensitivity | ( | ) | const |
Definition at line 68 of file SteadyQuadraticModel_impl.hpp.
Teuchos::RCP< const Teuchos::ParameterList > Tempus_Test::SteadyQuadraticModel< Scalar >::getValidParameters | ( | ) | const |
Definition at line 428 of file SteadyQuadraticModel_impl.hpp.
void Tempus_Test::SteadyQuadraticModel< Scalar >::setParameterList | ( | Teuchos::RCP< Teuchos::ParameterList > const & | paramList | ) |
Definition at line 409 of file SteadyQuadraticModel_impl.hpp.
|
private |
Definition at line 343 of file SteadyQuadraticModel_impl.hpp.
|
private |
Model parameter.
Definition at line 100 of file SteadyQuadraticModel_decl.hpp.
|
private |
Number of state unknowns (2)
Definition at line 83 of file SteadyQuadraticModel_decl.hpp.
|
private |
Definition at line 97 of file SteadyQuadraticModel_decl.hpp.
|
private |
Definition at line 94 of file SteadyQuadraticModel_decl.hpp.
|
private |
Definition at line 96 of file SteadyQuadraticModel_decl.hpp.
|
mutableprivate |
Definition at line 90 of file SteadyQuadraticModel_decl.hpp.
|
mutableprivate |
Definition at line 89 of file SteadyQuadraticModel_decl.hpp.
|
private |
Number of observation functions (1)
Definition at line 86 of file SteadyQuadraticModel_decl.hpp.
|
private |
Number of elements in this observation function (1)
Definition at line 87 of file SteadyQuadraticModel_decl.hpp.
|
mutableprivate |
Definition at line 92 of file SteadyQuadraticModel_decl.hpp.
|
private |
Number of parameter vectors (1)
Definition at line 84 of file SteadyQuadraticModel_decl.hpp.
|
private |
Number of parameters in this vector (2)
Definition at line 85 of file SteadyQuadraticModel_decl.hpp.
|
mutableprivate |
Definition at line 91 of file SteadyQuadraticModel_decl.hpp.
|
private |
Definition at line 95 of file SteadyQuadraticModel_decl.hpp.
|
private |
Treat DfDp OutArg as tangent (df/dx*dx/dp+df/dp)
Definition at line 88 of file SteadyQuadraticModel_decl.hpp.
|
private |
Definition at line 93 of file SteadyQuadraticModel_decl.hpp.