42 #ifndef THYRA_DEFAULT_FINITE_DIFFERENCE_MODEL_EVALUATOR_DECL_HPP
43 #define THYRA_DEFAULT_FINITE_DIFFERENCE_MODEL_EVALUATOR_DECL_HPP
45 #include "Thyra_ModelEvaluatorDelegatorBase.hpp"
46 #include "Thyra_DirectionalFiniteDiffCalculator.hpp"
47 #include "Teuchos_StandardMemberCompositionMacros.hpp"
48 #include "Teuchos_StandardCompositionMacros.hpp"
61 template<
class Scalar>
115 template<
class Scalar>
127 template<
class Scalar>
135 defaultFiniteDifferenceModelEvaluator<Scalar>();
136 fdModel->initialize(thyraModel, direcFiniteDiffCalculator);
144 #endif // THYRA_DEFAULT_FINITE_DIFFERENCE_MODEL_EVALUATOR_DECL_HPP
Pure abstract base interface for evaluating a stateless "model" that can be mapped into a number of d...
Concrete aggregate class for all output arguments computable by a ModelEvaluator subclass object...
This is a base class that delegetes almost all function to a wrapped model evaluator object...
This class wraps any ModelEvaluator object and computes certain derivatives using finite differences...
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
RCP< DefaultFiniteDifferenceModelEvaluator< Scalar > > defaultFiniteDifferenceModelEvaluator()
Nonmember constructor.
std::string description() const
DefaultFiniteDifferenceModelEvaluator()
void initialize(const RCP< ModelEvaluator< Scalar > > &thyraModel, const RCP< DirectionalFiniteDiffCalculator< Scalar > > &direcFiniteDiffCalculator)
STANDARD_COMPOSITION_MEMBERS(DirectionalFiniteDiffCalculator< Scalar >, direcFiniteDiffCalculator)
Utility object that computes directional finite differences.
RCP< DefaultFiniteDifferenceModelEvaluator< Scalar > > defaultFiniteDifferenceModelEvaluator(const RCP< ModelEvaluator< Scalar > > &thyraModel, const RCP< DirectionalFiniteDiffCalculator< Scalar > > &direcFiniteDiffCalculator)
Nonmember constructor.
Utility class for computing directional finite differences of a model.
Concrete aggregate class for all input arguments computable by a ModelEvaluator subclass object...