42 #ifndef THYRA_RESPONSE_ONLY_MODEL_EVALUATOR_BASE_HPP
43 #define THYRA_RESPONSE_ONLY_MODEL_EVALUATOR_BASE_HPP
46 #include "Thyra_ModelEvaluatorDefaultBase.hpp"
47 #include "Teuchos_Assert.hpp"
63 template<
class Scalar>
110 template<
class Scalar>
114 return Teuchos::null;
118 template<
class Scalar>
127 return Teuchos::null;
131 template<
class Scalar>
143 template<
class Scalar>
147 return Teuchos::null;
151 template<
class Scalar>
154 {
return this->createInArgs(); }
157 template<
class Scalar>
160 {
return this->createInArgs(); }
163 template<
class Scalar>
166 {
return this->createInArgs(); }
169 template<
class Scalar>
174 true, std::logic_error
175 ,
"Error, if \'W\' is supported by the ModelEvaluator subclass then"
176 " this function create_W() may be overridden by the subclass to return"
177 " a non-null object!"
183 template<
class Scalar>
188 true, std::logic_error,
189 "Error, if \'W\' is supported by the ModelEvaluator subclass then"
190 " this function create_W_op() may be overridden by the subclass "
191 <<this->description()<<
" to return a non-null object!"
197 template<
class Scalar>
202 true, std::logic_error,
203 "Error, if \'W\' is supported by the ModelEvaluator subclass then"
204 " this function create_W_prec() may be overridden by the subclass "
205 <<this->description()<<
" to return a non-null object!"
211 template<
class Scalar>
216 true, std::logic_error
217 ,
"Error, if \'W\' is supported by the ModelEvaluator subclass then"
218 " this function get_W_factory() may be overridden by the subclass "
219 <<this->description()<<
" to return a non-null object!"
225 template<
class Scalar>
238 #endif // THYRA_RESPONSE_ONLY_MODEL_EVALUATOR_BASE_HPP
ModelEvaluatorBase::InArgs< Scalar > getNominalValues() const
Returns this->createInArgs().
Default base class for concrete model evaluators.
ModelEvaluatorBase::InArgs< Scalar > getUpperBounds() const
Returns this->createInArgs().
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
RCP< LinearOpBase< Scalar > > create_W_op() const
Thorws exception.
void reportFinalPoint(const ModelEvaluatorBase::InArgs< Scalar > &finalPoint, const bool wasSolved)
Does nothing and ignores input.
RCP< const VectorSpaceBase< Scalar > > get_x_space() const
Throws exception.
#define TEUCHOS_ASSERT_IN_RANGE_UPPER_EXCLUSIVE(index, lower_inclusive, upper_exclusive)
Teuchos::ArrayView< const std::string > get_g_names(int j) const
Returns null.
This base class defines default function implementations appropritate for a response-only model evalu...
RCP< LinearOpWithSolveBase< Scalar > > create_W() const
Thorws exception.
RCP< const Teuchos::Array< std::string > > get_p_names(int l) const
Returns null.
RCP< const VectorSpaceBase< Scalar > > get_f_space() const
Throws exception.
RCP< PreconditionerBase< Scalar > > create_W_prec() const
Thorws exception.
#define TEUCHOS_UNREACHABLE_RETURN(dummyReturnVal)
ModelEvaluatorBase::InArgs< Scalar > getLowerBounds() const
Returns this->createInArgs().
RCP< const LinearOpWithSolveFactoryBase< Scalar > > get_W_factory() const
Thorws exception.
Concrete aggregate class for all input arguments computable by a ModelEvaluator subclass object...