45 #ifndef DUMMY_TEST_MODEL_EVALUATOR_DECL_HPP
46 #define DUMMY_TEST_MODEL_EVALUATOR_DECL_HPP
49 #include "Thyra_ModelEvaluatorDefaultBase.hpp"
58 template<
class Scalar>
59 struct MockExtendedInArgs
64 template<
class Scalar>
65 struct MockExtendedOutArgs
78 template<
class Scalar>
80 dummyTestModelEvaluator(
84 const bool supports_x_dot =
false,
85 const bool supports_x_dot_dot =
false,
86 const bool supports_extended_inargs =
true,
87 const bool supports_extended_outargs =
true,
88 const bool supports_derivatives =
false
97 template<
class Scalar>
110 const bool supports_x_dot =
false,
111 const bool supports_x_dot_dot =
false,
112 const bool supports_extended_inargs =
true,
113 const bool supports_extended_outargs =
true,
114 const bool supports_derivatives =
false
157 void change_p_size_incorrectly(
const Ordinal new_size);
158 void change_p_size_correctly(
const Ordinal new_size);
194 #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...