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"
110template<
class Scalar>
114 return Teuchos::null;
118template<
class Scalar>
127 return Teuchos::null;
131template<
class Scalar>
143template<
class Scalar>
147 return Teuchos::null;
151template<
class Scalar>
154{
return this->createInArgs(); }
157template<
class Scalar>
160{
return this->createInArgs(); }
163template<
class Scalar>
166{
return this->createInArgs(); }
169template<
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!"
183template<
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!"
197template<
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!"
211template<
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!"
225template<
class Scalar>
Concrete aggregate class for all input arguments computable by a ModelEvaluator subclass object.
Default base class for concrete model evaluators.
This base class defines default function implementations appropritate for a response-only model evalu...
ModelEvaluatorBase::InArgs< Scalar > getUpperBounds() const
Returns this->createInArgs().
RCP< const VectorSpaceBase< Scalar > > get_x_space() const
Throws exception.
void reportFinalPoint(const ModelEvaluatorBase::InArgs< Scalar > &finalPoint, const bool wasSolved)
Does nothing and ignores input.
RCP< LinearOpWithSolveBase< Scalar > > create_W() const
Thorws exception.
RCP< const LinearOpWithSolveFactoryBase< Scalar > > get_W_factory() const
Thorws exception.
RCP< LinearOpBase< Scalar > > create_W_op() 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.
ModelEvaluatorBase::InArgs< Scalar > getLowerBounds() const
Returns this->createInArgs().
RCP< PreconditionerBase< Scalar > > create_W_prec() const
Thorws exception.
Teuchos::ArrayView< const std::string > get_g_names(int j) const
Returns null.
ModelEvaluatorBase::InArgs< Scalar > getNominalValues() const
Returns this->createInArgs().
#define TEUCHOS_ASSERT_IN_RANGE_UPPER_EXCLUSIVE(index, lower_inclusive, upper_exclusive)
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
#define TEUCHOS_UNREACHABLE_RETURN(dummyReturnVal)