10 #ifndef THYRA_STATE_FUNC_MODEL_EVALUATOR_BASE_HPP
11 #define THYRA_STATE_FUNC_MODEL_EVALUATOR_BASE_HPP
13 #include "Thyra_ModelEvaluatorDefaultBase.hpp"
29 template<
class Scalar>
74 template<
class Scalar>
81 "Error, this function was not overridden in *this = \'"<<this->description()<<
"\'!"
87 template<
class Scalar>
94 "Error, this function was not overridden in *this = \'"<<this->description()<<
"\'!"
100 template<
class Scalar>
105 true,std::logic_error
107 " Error, this function was not overridden in \'"
108 <<this->description()<<
"\'!"
114 template<
class Scalar>
119 true,std::logic_error
121 "Error, this function was not overridden in *this = \'"<<this->description()<<
"\'!"
127 template<
class Scalar>
130 {
return this->createInArgs(); }
133 template<
class Scalar>
136 {
return this->createInArgs(); }
139 template<
class Scalar>
142 {
return this->createInArgs(); }
145 template<
class Scalar>
150 true, std::logic_error
151 ,
"Error, if \'W_op\' is supported by the ModelEvaluator subclass then"
152 " this function create_W_op() must be overridden by the subclass "
153 <<this->description()<<
" to return a non-null object!"
159 template<
class Scalar>
163 return Teuchos::null;
167 template<
class Scalar>
171 return Teuchos::null;
175 template<
class Scalar>
188 #endif // THYRA_STATE_FUNC_MODEL_EVALUATOR_BASE_HPP
Teuchos::ArrayView< const std::string > get_g_names(int j) const
Throws exception.
Default base class for concrete model evaluators.
ModelEvaluatorBase::InArgs< Scalar > getLowerBounds() const
Returns this->createInArgs().
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
ModelEvaluatorBase::InArgs< Scalar > getUpperBounds() const
Returns this->createInArgs().
RCP< const VectorSpaceBase< Scalar > > get_p_space(int l) const
Throws exception.
RCP< const VectorSpaceBase< Scalar > > get_g_space(int j) const
Throws exception.
This base class defines default function implementations appropritate for a set of nonlinear state fu...
RCP< PreconditionerBase< Scalar > > create_W_prec() const
Returns null.
RCP< const Teuchos::Array< std::string > > get_p_names(int l) const
Throws exception.
#define TEUCHOS_UNREACHABLE_RETURN(dummyReturnVal)
void reportFinalPoint(const ModelEvaluatorBase::InArgs< Scalar > &finalPoint, const bool wasSolved)
Ignores input and does nothing.
RCP< const LinearOpWithSolveFactoryBase< Scalar > > get_W_factory() const
Returns null .
ModelEvaluatorBase::InArgs< Scalar > getNominalValues() const
Returns this->createInArgs().
RCP< LinearOpBase< Scalar > > create_W_op() const
Throws exception.
Concrete aggregate class for all input arguments computable by a ModelEvaluator subclass object...