10 #ifndef DUMMY_TEST_MODEL_EVALUATOR_DECL_HPP
11 #define DUMMY_TEST_MODEL_EVALUATOR_DECL_HPP
14 #include "Thyra_ModelEvaluatorDefaultBase.hpp"
23 template<
class Scalar>
24 struct MockExtendedInArgs
29 template<
class Scalar>
30 struct MockExtendedOutArgs
43 template<
class Scalar>
45 dummyTestModelEvaluator(
49 const bool supports_x_dot =
false,
50 const bool supports_x_dot_dot =
false,
51 const bool supports_extended_inargs =
true,
52 const bool supports_extended_outargs =
true,
53 const bool supports_derivatives =
false
62 template<
class Scalar>
75 const bool supports_x_dot =
false,
76 const bool supports_x_dot_dot =
false,
77 const bool supports_extended_inargs =
true,
78 const bool supports_extended_outargs =
true,
79 const bool supports_derivatives =
false
122 void change_p_size_incorrectly(
const Ordinal new_size);
123 void change_p_size_correctly(
const Ordinal new_size);
159 #endif // DUMMY_TEST_MODEL_EVALUATOR_DECL_HPP
ModelEvaluatorBase::InArgs< Scalar > getNominalValues() const
Default base class for concrete model evaluators.
Concrete aggregate class for all output arguments computable by a ModelEvaluator subclass object...
void reportFinalPoint(const ModelEvaluatorBase::InArgs< Scalar > &finalPoint, const bool wasSolved)
RCP< const VectorSpaceBase< Scalar > > get_p_space(int l) const
RCP< const Teuchos::Array< std::string > > get_p_names(int l) const
ModelEvaluatorBase::InArgs< Scalar > createInArgs() const
Test helper ModelEvaluator.
RCP< LinearOpBase< Scalar > > create_W_op() const
ModelEvaluatorBase::InArgs< Scalar > getUpperBounds() const
Teuchos::Ordinal Ordinal
Type for the dimension of a vector space. `*.
RCP< const VectorSpaceBase< Scalar > > get_x_space() const
Teuchos::ArrayView< const std::string > get_g_names(int j) const
RCP< const VectorSpaceBase< Scalar > > get_f_space() const
ModelEvaluatorBase::InArgs< Scalar > getLowerBounds() const
RCP< const VectorSpaceBase< Scalar > > get_g_space(int j) const
DummyTestModelEvaluator(const Ordinal x_size, const ArrayView< const Ordinal > &p_sizes, const ArrayView< const Ordinal > &g_sizes, const bool supports_x_dot=false, const bool supports_x_dot_dot=false, const bool supports_extended_inargs=true, const bool supports_extended_outargs=true, const bool supports_derivatives=false)
RCP< const LinearOpWithSolveFactoryBase< Scalar > > get_W_factory() const
RCP< PreconditionerBase< Scalar > > create_W_prec() const
Concrete aggregate class for all input arguments computable by a ModelEvaluator subclass object...