|
Thyra
Version of the Day
|
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, const bool supports_derivatives=false) |
| Nonmember constuctor. More... | |
Related Functions inherited from Thyra::ModelEvaluatorDefaultBase< Scalar > | |
| template<class Scalar > | |
| RCP< ModelEvaluatorBase::InArgs< Scalar > > | clone (const ModelEvaluatorBase::InArgs< Scalar > &inArgs) |
| Create a clone of an InArgs object. More... | |
| template<class Scalar > | |
| void | assertDerivSpaces (const std::string &modelEvalDescription, const ModelEvaluatorBase::Derivative< Scalar > &deriv, const std::string &deriv_name, const VectorSpaceBase< Scalar > &fnc_space, const std::string &fnc_space_name, const VectorSpaceBase< Scalar > &var_space, const std::string &var_space_name) |
| Assert that that Thyra objects imbedded in a Derivative object matches its function and variable spaces. More... | |
| template<class Scalar > | |
| void | assertInArgsOutArgsSetup (const std::string &modelEvalDescription, const ModelEvaluatorBase::InArgs< Scalar > &inArgs, const ModelEvaluatorBase::OutArgs< Scalar > &outArgs) |
| Assert that an InArgs and OutArgs object are setup consistently. More... | |
| template<class Scalar > | |
| void | assertInArgsEvalObjects (const ModelEvaluator< Scalar > &model, const ModelEvaluatorBase::InArgs< Scalar > &inArgs) |
| Assert that the objects in an InArgs object match a given model. More... | |
| template<class Scalar > | |
| void | assertOutArgsEvalObjects (const ModelEvaluator< Scalar > &model, const ModelEvaluatorBase::OutArgs< Scalar > &outArgs, const ModelEvaluatorBase::InArgs< Scalar > *inArgs=0) |
| Assert that the objects in an OutArgs object match a given model. 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, const bool supports_derivatives=false) | |
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) |
| void | change_p_size_incorrectly (const Ordinal new_size) |
| void | change_p_size_correctly (const Ordinal new_size) |
Test helper ModelEvaluator.
This class is used to help unit test the various ModelEvaluator support software, that is it.
Definition at line 98 of file Thyra_DummyTestModelEvaluator_decl.hpp.
| 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, |
||
| const bool | supports_derivatives = false |
||
| ) |
Definition at line 86 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 169 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 177 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 185 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 193 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 201 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 209 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 217 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 225 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 233 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 241 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 251 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 263 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 271 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 278 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
related |
Nonmember constuctor.
Definition at line 67 of file Thyra_DummyTestModelEvaluator_def.hpp.