42#ifndef THYRA_STATE_FUNC_MODEL_EVALUATOR_BASE_HPP
43#define THYRA_STATE_FUNC_MODEL_EVALUATOR_BASE_HPP
45#include "Thyra_ModelEvaluatorDefaultBase.hpp"
106template<
class Scalar>
111 true,std::logic_error
113 "Error, this function was not overridden in *this = \'"<<this->description()<<
"\'!"
119template<
class Scalar>
124 true,std::logic_error
126 "Error, this function was not overridden in *this = \'"<<this->description()<<
"\'!"
132template<
class Scalar>
137 true,std::logic_error
139 " Error, this function was not overridden in \'"
140 <<this->description()<<
"\'!"
146template<
class Scalar>
151 true,std::logic_error
153 "Error, this function was not overridden in *this = \'"<<this->description()<<
"\'!"
159template<
class Scalar>
162{
return this->createInArgs(); }
165template<
class Scalar>
168{
return this->createInArgs(); }
171template<
class Scalar>
174{
return this->createInArgs(); }
177template<
class Scalar>
182 true, std::logic_error
183 ,
"Error, if \'W_op\' is supported by the ModelEvaluator subclass then"
184 " this function create_W_op() must be overridden by the subclass "
185 <<this->description()<<
" to return a non-null object!"
191template<
class Scalar>
199template<
class Scalar>
207template<
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 set of nonlinear state fu...
RCP< const LinearOpWithSolveFactoryBase< Scalar > > get_W_factory() const
Returns null .
RCP< PreconditionerBase< Scalar > > create_W_prec() const
Returns null.
ModelEvaluatorBase::InArgs< Scalar > getUpperBounds() const
Returns this->createInArgs().
ModelEvaluatorBase::InArgs< Scalar > getNominalValues() const
Returns this->createInArgs().
ModelEvaluatorBase::InArgs< Scalar > getLowerBounds() const
Returns this->createInArgs().
Teuchos::ArrayView< const std::string > get_g_names(int j) const
Throws exception.
RCP< LinearOpBase< Scalar > > create_W_op() const
Throws exception.
RCP< const VectorSpaceBase< Scalar > > get_p_space(int l) const
Throws exception.
RCP< const Teuchos::Array< std::string > > get_p_names(int l) const
Throws exception.
void reportFinalPoint(const ModelEvaluatorBase::InArgs< Scalar > &finalPoint, const bool wasSolved)
Ignores input and does nothing.
RCP< const VectorSpaceBase< Scalar > > get_g_space(int j) const
Throws exception.
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
#define TEUCHOS_UNREACHABLE_RETURN(dummyReturnVal)
T_To & dyn_cast(T_From &from)