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 \'"
114template<
class Scalar>
119 true,std::logic_error
121 "Error, this function was not overridden in *this = \'"<<this->
description()<<
"\'!"
127template<
class Scalar>
133template<
class Scalar>
139template<
class Scalar>
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>
163 return Teuchos::null;
167template<
class Scalar>
171 return Teuchos::null;
175template<
class Scalar>
virtual std::string description() const
Concrete aggregate class for all input arguments computable by a ModelEvaluator subclass object.
ModelEvaluatorDefaultBase()
virtual ModelEvaluatorBase::InArgs< Scalar > createInArgs() const =0
Create an empty input arguments object that can be set up and passed to evalModel().
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)
static std::string name()