45 #ifndef SIMPLE_2D_TPETRA_MODEL_EVALUATOR_DECL_HPP
46 #define SIMPLE_2D_TPETRA_MODEL_EVALUATOR_DECL_HPP
49 #include "Thyra_StateFuncModelEvaluatorBase.hpp"
50 #include "Tpetra_CrsGraph.hpp"
51 #include "Tpetra_Vector.hpp"
70 template<
class Scalar>
72 :
public Thyra::StateFuncModelEvaluatorBase<Scalar>
83 void set_d(
const Scalar &d);
105 Thyra::ModelEvaluatorBase::InArgs<Scalar>
createInArgs()
const;
118 const Thyra::ModelEvaluatorBase::InArgs<Scalar> &inArgs,
119 const Thyra::ModelEvaluatorBase::OutArgs<Scalar> &outArgs
143 template<
class Scalar>
151 #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_