42 #ifndef THYRA_STATE_FUNC_MODEL_EVALUATOR_BASE_HPP 
   43 #define THYRA_STATE_FUNC_MODEL_EVALUATOR_BASE_HPP 
   45 #include "Thyra_ModelEvaluatorDefaultBase.hpp" 
   61 template<
class Scalar>
 
  106 template<
class Scalar>
 
  111     true,std::logic_error
 
  113     "Error, this function was not overridden in *this = \'"<<this->description()<<
"\'!" 
  119 template<
class Scalar>
 
  124     true,std::logic_error
 
  126     "Error, this function was not overridden in *this = \'"<<this->description()<<
"\'!" 
  132 template<
class Scalar>
 
  137     true,std::logic_error
 
  139     " Error, this function was not overridden in \'" 
  140     <<this->description()<<
"\'!" 
  146 template<
class Scalar>
 
  151     true,std::logic_error
 
  153     "Error, this function was not overridden in *this = \'"<<this->description()<<
"\'!" 
  159 template<
class Scalar>
 
  162 { 
return this->createInArgs(); }
 
  165 template<
class Scalar>
 
  168 { 
return this->createInArgs(); }
 
  171 template<
class Scalar>
 
  174 { 
return this->createInArgs(); }
 
  177 template<
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!" 
  191 template<
class Scalar>
 
  195   return Teuchos::null;
 
  199 template<
class Scalar>
 
  203   return Teuchos::null;
 
  207 template<
class Scalar>
 
  220 #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...