42 #ifndef THYRA_LINEAR_OP_WITH_SOLVE_TESTER_DECL_HPP
43 #define THYRA_LINEAR_OP_WITH_SOLVE_TESTER_DECL_HPP
46 #include "Thyra_LinearOpWithSolveBase.hpp"
47 #include "Teuchos_StandardMemberCompositionMacros.hpp"
48 #include "Teuchos_ParameterListAcceptorDefaultBase.hpp"
49 #include "Teuchos_FancyOStream.hpp"
91 template<
class Scalar>
115 forward_default_residual_warning_tol );
118 forward_default_residual_error_tol );
121 forward_default_solution_error_warning_tol );
124 forward_default_solution_error_error_tol );
131 forward_residual_solve_tol );
134 forward_residual_slack_warning_tol );
137 forward_residual_slack_error_tol );
143 adjoint_default_residual_warning_tol );
146 adjoint_default_residual_error_tol );
149 adjoint_default_solution_error_warning_tol );
152 adjoint_default_solution_error_error_tol );
160 adjoint_residual_solve_tol );
163 adjoint_residual_slack_warning_tol );
166 adjoint_residual_slack_error_tol );
246 static const bool check_forward_default_default_;
247 static const bool check_forward_residual_default_;
248 static const bool check_adjoint_default_default_;
249 static const bool check_adjoint_residual_default_;
251 static const ScalarMag warning_tol_default_;
252 static const ScalarMag error_tol_default_;
253 static const ScalarMag solve_tol_default_;
254 static const ScalarMag slack_warning_tol_default_;
255 static const ScalarMag slack_error_tol_default_;
257 static const int num_random_vectors_default_;
258 static const bool show_all_tests_default_;
259 static const bool dump_all_default_;
260 static const int num_rhs_default_;
262 static const std::string AllSolveTol_name_;
263 static const std::string AllSlackWarningTol_name_;
264 static const std::string AllSlackErrorTol_name_;
265 static const std::string ShowAllTests_name_;
266 static const std::string DumpAll_name_;
274 #endif // THYRA_LINEAR_OP_WITH_SOLVE_TESTER_DECL_HPP
Testing class for LinearOpWithSolveBase.
void turn_off_all_tests()
Turn off all tests so that individual tests can be set.
void set_all_slack_warning_tol(const ScalarMag slack_warning_tol)
Set all the warning tolerances to the same value.
STANDARD_MEMBER_COMPOSITION_MEMBERS(bool, check_forward_default)
Set if a default forward solve will be performed on not.
Base class for all linear operators that can support a high-level solve operation.
Teuchos::ScalarTraits< Scalar >::magnitudeType ScalarMag
RCP< const ParameterList > getValidParameters() const
bool check(const LinearOpWithSolveBase< Scalar > &op, Teuchos::FancyOStream *out) const
Check a LinearOpWithSolveBase object.
void set_all_solve_tol(const ScalarMag solve_tol)
Set all the solve tolerances to the same value.
void set_all_slack_error_tol(const ScalarMag slack_error_tol)
Set all the error tolerances to the same value.
LinearOpWithSolveTester()
Default constructor.
void setParameterList(const RCP< ParameterList > ¶mList)