10 #ifndef SIMPLE_2D_TPETRA_MODEL_EVALUATOR_DECL_HPP
11 #define SIMPLE_2D_TPETRA_MODEL_EVALUATOR_DECL_HPP
14 #include "Thyra_StateFuncModelEvaluatorBase.hpp"
15 #include "Tpetra_CrsGraph.hpp"
16 #include "Tpetra_Vector.hpp"
35 template<
class Scalar>
37 :
public Thyra::StateFuncModelEvaluatorBase<Scalar>
48 void set_d(
const Scalar &d);
70 Thyra::ModelEvaluatorBase::InArgs<Scalar>
createInArgs()
const;
83 const Thyra::ModelEvaluatorBase::InArgs<Scalar> &inArgs,
84 const Thyra::ModelEvaluatorBase::OutArgs<Scalar> &outArgs
108 template<
class Scalar>
116 #endif // SIMPLE_2D_TPETRA_MODEL_EVALUATOR_DECL_HPP
Teuchos::RCP< Simple2DTpetraModelEvaluator< Scalar > > simple2DTpetraModelEvaluator()
Non-member constructor.
void evalModelImpl(const Thyra::ModelEvaluatorBase::InArgs< Scalar > &inArgs, const Thyra::ModelEvaluatorBase::OutArgs< Scalar > &outArgs) const
Thyra::ModelEvaluatorBase::OutArgs< Scalar > prototypeOutArgs_
Thyra::ModelEvaluatorBase::InArgs< Scalar > prototypeInArgs_
Teuchos::RCP< Tpetra::CrsGraph<> > W_op_graph_
Thyra::ModelEvaluatorBase::InArgs< Scalar > createInArgs() const
void set_x0(const Teuchos::ArrayView< const Scalar > &x0)
Teuchos::RCP< Thyra::LinearOpBase< Scalar > > create_W_op() const
void set_d(const Scalar &d)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Teuchos::RCP< Tpetra::Vector< Scalar > > x0_
Teuchos::Array< Scalar > p_
void set_p(const Teuchos::ArrayView< const Scalar > &p)
Simple 2d simulation only ModelEvaluator for f(x) = 0 using Tpetra objects.
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_f_space() const
Thyra::ModelEvaluatorBase::InArgs< Scalar > getNominalValues() const
Simple2DTpetraModelEvaluator()
Thyra::ModelEvaluatorBase::OutArgs< Scalar > createOutArgsImpl() const
Thyra::ModelEvaluatorBase::InArgs< Scalar > nominalValues_
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > f_space_
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_x_space() const
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > x_space_