10 #ifndef THYRA_LINEAR_OP_TESTER_DECL_HPP
11 #define THYRA_LINEAR_OP_TESTER_DECL_HPP
14 #include "Thyra_OperatorVectorTypes.hpp"
15 #include "Thyra_MultiVectorRandomizerBase.hpp"
16 #include "Teuchos_ScalarTraits.hpp"
17 #include "Teuchos_PromotionTraits.hpp"
18 #include "Teuchos_StandardMemberCompositionMacros.hpp"
19 #include "Teuchos_FancyOStream.hpp"
41 template<
class Scalar>
285 void setDefaultTols();
293 #endif // THYRA_LINEAR_OP_TESTER_DECL_HPP
void enable_all_tests(const bool enable_all_tests)
Enable or disable all tests.
Testing class for LinearOpBase.
bool compare(const LinearOpBase< Scalar > &op1, const LinearOpBase< Scalar > &op2, const Ptr< MultiVectorRandomizerBase< Scalar > > &domainRandomizer, const Ptr< FancyOStream > &out_arg) const
Check if two linear operators are the same or not.
Base class for all linear operators.
void set_all_warning_tol(const ScalarMag warning_tol)
Set all the warning tolerances to the same value.
bool check(const LinearOpBase< Scalar > &op, const Ptr< MultiVectorRandomizerBase< Scalar > > &rangeRandomizer, const Ptr< MultiVectorRandomizerBase< Scalar > > &domainRandomizer, const Ptr< FancyOStream > &out) const
Check a linear operator.
Teuchos::ScalarTraits< Scalar >::magnitudeType ScalarMag
Local typedef for promoted scalar magnitude.
LinearOpTester()
Default constructor which sets default parameter values.
Base interface for a strategy object for randomizing a multi-vector.
STANDARD_MEMBER_COMPOSITION_MEMBERS(bool, check_linear_properties)
Set if to check for linear properties alpha*op*(x + y) == op(alpha*x) + op(alpha*y) ...
void set_all_error_tol(const ScalarMag error_tol)
Set all the error tolerances to the same value.