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 > | |
ModelEvaluatorBase::Derivative < Scalar > | derivativeGradient (const RCP< MultiVectorBase< Scalar > > &grad) |
template<class Scalar > | |
ModelEvaluatorBase::DerivativeMultiVector < Scalar > | create_DfDp_mv (const ModelEvaluator< Scalar > &model, int l, ModelEvaluatorBase::EDerivativeMultiVectorOrientation orientation) |
template<class Scalar > | |
ModelEvaluatorBase::DerivativeMultiVector < Scalar > | create_DgDx_dot_mv (const ModelEvaluator< Scalar > &model, int j, ModelEvaluatorBase::EDerivativeMultiVectorOrientation orientation) |
template<class Scalar > | |
ModelEvaluatorBase::DerivativeMultiVector < Scalar > | create_DgDx_mv (const ModelEvaluator< Scalar > &model, int j, ModelEvaluatorBase::EDerivativeMultiVectorOrientation orientation) |
template<class Scalar > | |
ModelEvaluatorBase::DerivativeMultiVector < Scalar > | create_DgDp_mv (const ModelEvaluator< Scalar > &model, int j, int l, ModelEvaluatorBase::EDerivativeMultiVectorOrientation orientation) |
template<class Scalar > | |
ModelEvaluatorBase::DerivativeMultiVector < Scalar > | get_dmv (const ModelEvaluatorBase::Derivative< Scalar > &deriv, const std::string &derivName) |
template<class Scalar > | |
RCP< MultiVectorBase< Scalar > > | get_mv (const ModelEvaluatorBase::Derivative< Scalar > &deriv, const std::string &derivName, ModelEvaluatorBase::EDerivativeMultiVectorOrientation orientation) |
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... | |
Related Functions inherited from Thyra::ModelEvaluatorBase | |
std::string | toString (ModelEvaluatorBase::EInArgsMembers) |
std::string | toString (ModelEvaluatorBase::EOutArgsMembers) |
std::string | toString (ModelEvaluatorBase::EDerivativeMultiVectorOrientation orientation) |
ModelEvaluatorBase::EDerivativeMultiVectorOrientation | getOtherDerivativeMultiVectorOrientation (ModelEvaluatorBase::EDerivativeMultiVectorOrientation orientation) |
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) |
Test helper ModelEvaluator.
This class is used to help unit test the various ModelEvaluator support software, that is it.
Definition at line 71 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 167 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 175 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 183 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 191 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 199 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 207 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 215 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 223 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 231 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 239 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 249 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 261 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 269 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
virtual |
Implements Thyra::ModelEvaluator< Scalar >.
Definition at line 276 of file Thyra_DummyTestModelEvaluator_def.hpp.
|
related |
Nonmember constuctor.
Definition at line 67 of file Thyra_DummyTestModelEvaluator_def.hpp.