9 #ifndef TEMPUS_TEST_SINCOS_MODEL_DECL_HPP
10 #define TEMPUS_TEST_SINCOS_MODEL_DECL_HPP
12 #include "Thyra_ModelEvaluator.hpp"
13 #include "Thyra_StateFuncModelEvaluatorBase.hpp"
15 #include "Teuchos_ParameterListAcceptorDefaultBase.hpp"
18 namespace Tempus_Test {
90 template<
class Scalar>
186 #endif // TEMPUS_TEST_SINCOS_MODEL_DECL_HPP
Scalar b_
Parameter determined from the IC.
Scalar L_
Model parameter.
int Ng_
Number of observation functions (1)
int ng_
Number of elements in this observation function (1)
Thyra::ModelEvaluatorBase::InArgs< Scalar > nominalValues_
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > DxDp_space_
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > p_space_
Scalar f_
Model parameter.
Thyra::ModelEvaluatorBase::InArgs< Scalar > createInArgs() const
bool useDfDpAsTangent_
Treat DfDp OutArg as tangent (df/dx*dx/dp+df/dp)
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > f_space_
Sine-Cosine model problem from Rythmos. This is a canonical Sine-Cosine differential equation with a...
int dim_
Number of state unknowns (2)
int Np_
Number of parameter vectors (1)
Teuchos::RCP< Thyra::LinearOpWithSolveBase< Scalar > > create_W() const
Thyra::ModelEvaluatorBase::InArgs< Scalar > getNominalValues() const
bool haveIC_
false => no nominal values are provided (default=true)
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_f_space() const
Thyra::ModelEvaluatorBase::OutArgs< Scalar > outArgs_
bool acceptModelParams_
Changes inArgs to require parameters.
Teuchos::RCP< Thyra::LinearOpBase< Scalar > > create_W_op() const
Scalar t0_ic_
Time value where the initial condition is specified.
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_x_space() const
Thyra::ModelEvaluatorBase::InArgs< Scalar > getExactSolution(double t) const
Thyra::ModelEvaluatorBase::InArgs< Scalar > inArgs_
SinCosModel(Teuchos::RCP< Teuchos::ParameterList > pList=Teuchos::null)
int np_
Number of parameters in this vector (2)
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_p_space(int l) const
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > g_space_
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
void evalModelImpl(const Thyra::ModelEvaluatorBase::InArgs< Scalar > &inArgs_bar, const Thyra::ModelEvaluatorBase::OutArgs< Scalar > &outArgs_bar) const
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > x_space_
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_g_space(int j) const
void calculateCoeffFromIC_()
Scalar x1_ic_
Initial condition for x1.
Thyra::ModelEvaluatorBase::OutArgs< Scalar > createOutArgsImpl() const
Teuchos::RCP< const Teuchos::Array< std::string > > get_p_names(int l) const
void setupInOutArgs_() const
Scalar phi_
Parameter determined from the IC.
Thyra::ModelEvaluatorBase::InArgs< Scalar > getExactSensSolution(int j, double t) const
Scalar x0_ic_
Initial condition for x0.
Teuchos::RCP< const Thyra::LinearOpWithSolveFactoryBase< Scalar > > get_W_factory() const
Scalar a_
Model parameter.
void setParameterList(Teuchos::RCP< Teuchos::ParameterList > const ¶mList)