Thyra
Version of the Day
|
This class wraps any ModelEvaluator object and computes certain derivatives using finite differences. More...
#include <Thyra_DefaultFiniteDifferenceModelEvaluator_decl.hpp>
Related Functions | |
(Note that these are not member functions.) | |
template<class Scalar > | |
RCP < DefaultFiniteDifferenceModelEvaluator < Scalar > > | defaultFiniteDifferenceModelEvaluator () |
Nonmember constructor. More... | |
template<class Scalar > | |
RCP < DefaultFiniteDifferenceModelEvaluator < Scalar > > | defaultFiniteDifferenceModelEvaluator (const RCP< ModelEvaluator< Scalar > > &thyraModel, const RCP< DirectionalFiniteDiffCalculator< Scalar > > &direcFiniteDiffCalculator) |
Nonmember constructor. 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) |
Constructors/initializers/accessors/utilities. | |
STANDARD_COMPOSITION_MEMBERS (DirectionalFiniteDiffCalculator< Scalar >, direcFiniteDiffCalculator) | |
Utility object that computes directional finite differences. More... | |
DefaultFiniteDifferenceModelEvaluator () | |
void | initialize (const RCP< ModelEvaluator< Scalar > > &thyraModel, const RCP< DirectionalFiniteDiffCalculator< Scalar > > &direcFiniteDiffCalculator) |
Public functions overridden from Teuchos::Describable. | |
std::string | description () const |
This class wraps any ModelEvaluator object and computes certain derivatives using finite differences.
ToDo: Finish documentation!
Definition at line 62 of file Thyra_DefaultFiniteDifferenceModelEvaluator_decl.hpp.
Thyra::DefaultFiniteDifferenceModelEvaluator< Scalar >::DefaultFiniteDifferenceModelEvaluator | ( | ) |
Definition at line 55 of file Thyra_DefaultFiniteDifferenceModelEvaluator_def.hpp.
Thyra::DefaultFiniteDifferenceModelEvaluator< Scalar >::STANDARD_COMPOSITION_MEMBERS | ( | DirectionalFiniteDiffCalculator< Scalar > | , |
direcFiniteDiffCalculator | |||
) |
Utility object that computes directional finite differences.
void Thyra::DefaultFiniteDifferenceModelEvaluator< Scalar >::initialize | ( | const RCP< ModelEvaluator< Scalar > > & | thyraModel, |
const RCP< DirectionalFiniteDiffCalculator< Scalar > > & | direcFiniteDiffCalculator | ||
) |
Definition at line 60 of file Thyra_DefaultFiniteDifferenceModelEvaluator_def.hpp.
|
virtual |
Reimplemented from Teuchos::Describable.
Definition at line 74 of file Thyra_DefaultFiniteDifferenceModelEvaluator_def.hpp.
|
related |
Nonmember constructor.
Definition at line 117 of file Thyra_DefaultFiniteDifferenceModelEvaluator_decl.hpp.
|
related |
Nonmember constructor.
Definition at line 129 of file Thyra_DefaultFiniteDifferenceModelEvaluator_decl.hpp.