Thyra  Version of the Day
Related Functions | List of all members
Thyra::DummyTestModelEvaluator< Scalar > Class Template Reference

Test helper ModelEvaluator. More...

#include <Thyra_DummyTestModelEvaluator_decl.hpp>

Related Functions

(Note that these are not member functions.)

template<class Scalar >
RCP< DummyTestModelEvaluator< Scalar > > dummyTestModelEvaluator (const Ordinal x_size=2, const ArrayView< const Ordinal > &p_sizes=Teuchos::null, const ArrayView< const Ordinal > &g_sizes=Teuchos::null, const bool supports_x_dot=false, const bool supports_x_dot_dot=false, const bool supports_extended_inargs=true, const bool supports_extended_outargs=true)
 Nonmember constuctor. More...
 

Initializers/Accessors

 DummyTestModelEvaluator (const Ordinal x_size, const ArrayView< const Ordinal > &p_sizes, const ArrayView< const Ordinal > &g_sizes, const bool supports_x_dot=false, const bool supports_x_dot_dot=false, const bool supports_extended_inargs=true, const bool supports_extended_outargs=true)
 

Public functions overridden from ModelEvaulator.

RCP< const VectorSpaceBase< Scalar > > get_x_space () const
 
RCP< const VectorSpaceBase< Scalar > > get_p_space (int l) const
 
RCP< const Teuchos::Array< std::string > > get_p_names (int l) const
 
RCP< const VectorSpaceBase< Scalar > > get_f_space () const
 
RCP< const VectorSpaceBase< Scalar > > get_g_space (int j) const
 
Teuchos::ArrayView< const std::string > get_g_names (int j) const
 
ModelEvaluatorBase::InArgs< Scalar > getNominalValues () const
 
ModelEvaluatorBase::InArgs< Scalar > getLowerBounds () const
 
ModelEvaluatorBase::InArgs< Scalar > getUpperBounds () const
 
RCP< LinearOpBase< Scalar > > create_W_op () const
 
RCP< PreconditionerBase< Scalar > > create_W_prec () const
 
RCP< const LinearOpWithSolveFactoryBase< Scalar > > get_W_factory () const
 
ModelEvaluatorBase::InArgs< Scalar > createInArgs () const
 
void reportFinalPoint (const ModelEvaluatorBase::InArgs< Scalar > &finalPoint, const bool wasSolved)
 

Detailed Description

template<class Scalar>
class Thyra::DummyTestModelEvaluator< Scalar >

Test helper ModelEvaluator.

This class is used to help unit test the various ModelEvaluator support software, that is it.

Definition at line 97 of file Thyra_DummyTestModelEvaluator_decl.hpp.

Constructor & Destructor Documentation

◆ DummyTestModelEvaluator()

template<class Scalar >
Thyra::DummyTestModelEvaluator< Scalar >::DummyTestModelEvaluator ( const Ordinal  x_size,
const ArrayView< const Ordinal > &  p_sizes,
const ArrayView< const Ordinal > &  g_sizes,
const bool  supports_x_dot = false,
const bool  supports_x_dot_dot = false,
const bool  supports_extended_inargs = true,
const bool  supports_extended_outargs = true 
)

Definition at line 85 of file Thyra_DummyTestModelEvaluator_def.hpp.

Member Function Documentation

◆ get_x_space()

template<class Scalar >
Teuchos::RCP< const VectorSpaceBase< Scalar > > Thyra::DummyTestModelEvaluator< Scalar >::get_x_space

Definition at line 156 of file Thyra_DummyTestModelEvaluator_def.hpp.

◆ get_p_space()

template<class Scalar >
Teuchos::RCP< const VectorSpaceBase< Scalar > > Thyra::DummyTestModelEvaluator< Scalar >::get_p_space ( int  l) const

Definition at line 164 of file Thyra_DummyTestModelEvaluator_def.hpp.

◆ get_p_names()

template<class Scalar >
Teuchos::RCP< const Teuchos::Array< std::string > > Thyra::DummyTestModelEvaluator< Scalar >::get_p_names ( int  l) const

Definition at line 172 of file Thyra_DummyTestModelEvaluator_def.hpp.

◆ get_f_space()

template<class Scalar >
Teuchos::RCP< const VectorSpaceBase< Scalar > > Thyra::DummyTestModelEvaluator< Scalar >::get_f_space

Definition at line 180 of file Thyra_DummyTestModelEvaluator_def.hpp.

◆ get_g_space()

template<class Scalar >
Teuchos::RCP< const VectorSpaceBase< Scalar > > Thyra::DummyTestModelEvaluator< Scalar >::get_g_space ( int  j) const

Definition at line 188 of file Thyra_DummyTestModelEvaluator_def.hpp.

◆ get_g_names()

template<class Scalar >
Teuchos::ArrayView< const std::string > Thyra::DummyTestModelEvaluator< Scalar >::get_g_names ( int  j) const

Definition at line 196 of file Thyra_DummyTestModelEvaluator_def.hpp.

◆ getNominalValues()

template<class Scalar >
ModelEvaluatorBase::InArgs< Scalar > Thyra::DummyTestModelEvaluator< Scalar >::getNominalValues

Definition at line 204 of file Thyra_DummyTestModelEvaluator_def.hpp.

◆ getLowerBounds()

template<class Scalar >
ModelEvaluatorBase::InArgs< Scalar > Thyra::DummyTestModelEvaluator< Scalar >::getLowerBounds

Definition at line 212 of file Thyra_DummyTestModelEvaluator_def.hpp.

◆ getUpperBounds()

template<class Scalar >
ModelEvaluatorBase::InArgs< Scalar > Thyra::DummyTestModelEvaluator< Scalar >::getUpperBounds

Definition at line 220 of file Thyra_DummyTestModelEvaluator_def.hpp.

◆ create_W_op()

template<class Scalar >
Teuchos::RCP< LinearOpBase< Scalar > > Thyra::DummyTestModelEvaluator< Scalar >::create_W_op

Definition at line 228 of file Thyra_DummyTestModelEvaluator_def.hpp.

◆ create_W_prec()

template<class Scalar >
Teuchos::RCP< PreconditionerBase< Scalar > > Thyra::DummyTestModelEvaluator< Scalar >::create_W_prec

Definition at line 238 of file Thyra_DummyTestModelEvaluator_def.hpp.

◆ get_W_factory()

template<class Scalar >
Teuchos::RCP< const LinearOpWithSolveFactoryBase< Scalar > > Thyra::DummyTestModelEvaluator< Scalar >::get_W_factory

Definition at line 250 of file Thyra_DummyTestModelEvaluator_def.hpp.

◆ createInArgs()

template<class Scalar >
ModelEvaluatorBase::InArgs< Scalar > Thyra::DummyTestModelEvaluator< Scalar >::createInArgs

Definition at line 258 of file Thyra_DummyTestModelEvaluator_def.hpp.

◆ reportFinalPoint()

template<class Scalar >
void Thyra::DummyTestModelEvaluator< Scalar >::reportFinalPoint ( const ModelEvaluatorBase::InArgs< Scalar > &  finalPoint,
const bool  wasSolved 
)

Definition at line 265 of file Thyra_DummyTestModelEvaluator_def.hpp.

Friends And Related Function Documentation

◆ dummyTestModelEvaluator()

template<class Scalar >
RCP< DummyTestModelEvaluator< Scalar > > dummyTestModelEvaluator ( const Ordinal  x_size = 2,
const ArrayView< const Ordinal > &  p_sizes = Teuchos::null,
const ArrayView< const Ordinal > &  g_sizes = Teuchos::null,
const bool  supports_x_dot = false,
const bool  supports_x_dot_dot = false,
const bool  supports_extended_inargs = true,
const bool  supports_extended_outargs = true 
)
related

Nonmember constuctor.

Definition at line 67 of file Thyra_DummyTestModelEvaluator_def.hpp.


The documentation for this class was generated from the following files: