10 #ifndef TEMPUS_TEST_VANDERPOL_IMEX_EXPLICITMODEL_DECL_HPP
11 #define TEMPUS_TEST_VANDERPOL_IMEX_EXPLICITMODEL_DECL_HPP
13 #include "Thyra_ModelEvaluator.hpp"
14 #include "Thyra_StateFuncModelEvaluatorBase.hpp"
16 #include "Teuchos_ParameterListAcceptorDefaultBase.hpp"
19 namespace Tempus_Test {
107 template <
class Scalar>
115 bool useProductVector =
false);
175 #endif // TEMPUS_TEST_VANDERPOL_IMEX_EXPLICITMODEL_DECL_HPP
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > dxdp_space_
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > f_space_
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
bool haveIC_
false => no nominal values are provided (default=true)
int Np_
Number of parameter vectors (1)
Scalar t0_ic_
initial time
Scalar x1_ic_
initial condition for x1
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > x_space_
void setupInOutArgs_() const
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_f_space() const
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_x_space() const
Thyra::ModelEvaluatorBase::InArgs< Scalar > nominalValues_
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > p_space_
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_p_space(int l) const
bool acceptModelParams_
Changes inArgs to require parameters.
bool useDfDpAsTangent_
Treat DfDp OutArg as tangent (df/dx*dx/dp+df/dp)
int Ng_
Number of observation functions (0)
Scalar epsilon_
This is a model parameter.
void setParameterList(Teuchos::RCP< Teuchos::ParameterList > const ¶mList)
Thyra::ModelEvaluatorBase::InArgs< Scalar > inArgs_
Teuchos::RCP< Thyra::LinearOpBase< Scalar > > create_W_op() const
Thyra::ModelEvaluatorBase::InArgs< Scalar > getNominalValues() const
Thyra::ModelEvaluatorBase::InArgs< Scalar > createInArgs() const
int np_
Number of parameters in this vector (1)
Scalar x0_ic_
initial condition for x0
int dim_
Number of state unknowns (2)
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > xSpace_
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > g_space_
int ng_
Number of elements in this observation function (0)
Thyra::ModelEvaluatorBase::OutArgs< Scalar > outArgs_
Thyra::ModelEvaluatorBase::OutArgs< Scalar > createOutArgsImpl() const
VanDerPol_IMEX_ExplicitModel(Teuchos::RCP< Teuchos::ParameterList > pList=Teuchos::null, bool useProductVector=false)
void evalModelImpl(const Thyra::ModelEvaluatorBase::InArgs< Scalar > &inArgs_bar, const Thyra::ModelEvaluatorBase::OutArgs< Scalar > &outArgs_bar) const
van der Pol model formulated for IMEX.
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