29 #ifndef Rythmos_FORWARD_SENSITIVITY_STEPPER_TESTER_DECL_H
30 #define Rythmos_FORWARD_SENSITIVITY_STEPPER_TESTER_DECL_H
33 #include "Rythmos_StepperSupportTypes.hpp"
34 #include "Rythmos_IntegratorBase.hpp"
35 #include "Thyra_ModelEvaluator.hpp"
36 #include "Teuchos_VerboseObject.hpp"
37 #include "Teuchos_ParameterListAcceptorDefaultBase.hpp"
46 namespace ForwardSensitivityStepperTesterUtils {
48 const std::string FdCalc_name =
"FD Calc";
50 const std::string ErrorTol_name =
"Error Tol";
51 const double ErrorTol_default = 1e-6;
60 template<
class Scalar>
61 RCP<ForwardSensitivityStepperTester<Scalar> >
62 forwardSensitivityStepperTester();
69 template<
class Scalar>
70 RCP<ForwardSensitivityStepperTester<Scalar> >
71 forwardSensitivityStepperTester(
const RCP<ParameterList> ¶mList);
78 template<
class Scalar>
80 :
virtual public Teuchos::VerboseObject<ForwardSensitivityStepperTester<Scalar> >,
81 virtual public Teuchos::ParameterListAcceptorDefaultBase
85 typedef typename ScalarTraits<Scalar>::magnitudeType ScalarMag;
108 #ifndef TEMPLATE_FRIENDS_NOT_SUPPORTED
114 friend RCP< ForwardSensitivityStepperTester<Scalar> >
115 forwardSensitivityStepperTester<>();
119 #endif // TEMPLATE_FRIENDS_NOT_SUPPORTED
122 #ifndef TEMPLATE_FRIENDS_NOT_SUPPORTED
124 #endif // TEMPLATE_FRIENDS_NOT_SUPPORTED
138 #endif //Rythmos_FORWARD_SENSITIVITY_STEPPER_TESTER_DECL_H
Abstract interface for time integrators.
void setParameterList(RCP< ParameterList > const ¶mList)
RCP< const ParameterList > getValidParameters() const
Concrete testing class for forward sensitivities.
bool testForwardSens(const Ptr< IntegratorBase< Scalar > > &fwdSensIntegrator)
Test a forward sensitivity stepper.