10#ifndef THYRA_STATE_FUNC_MODEL_EVALUATOR_BASE_HPP
11#define THYRA_STATE_FUNC_MODEL_EVALUATOR_BASE_HPP
13#include "Thyra_ModelEvaluatorDefaultBase.hpp"
81 "Error, this function was not overridden in *this = \'"<<this->description()<<
"\'!"
94 "Error, this function was not overridden in *this = \'"<<this->description()<<
"\'!"
100template<
class Scalar>
105 true,std::logic_error
107 " Error, this function was not overridden in \'"
108 <<this->description()<<
"\'!"
114template<
class Scalar>
119 true,std::logic_error
121 "Error, this function was not overridden in *this = \'"<<this->description()<<
"\'!"
127template<
class Scalar>
130{
return this->createInArgs(); }
133template<
class Scalar>
136{
return this->createInArgs(); }
139template<
class Scalar>
142{
return this->createInArgs(); }
145template<
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!"
159template<
class Scalar>
167template<
class Scalar>
175template<
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)