43 #ifndef THYRA_LINEAR_OP_TESTER_DECL_HPP
44 #define THYRA_LINEAR_OP_TESTER_DECL_HPP
47 #include "Thyra_OperatorVectorTypes.hpp"
48 #include "Thyra_MultiVectorRandomizerBase.hpp"
49 #include "Teuchos_ScalarTraits.hpp"
50 #include "Teuchos_PromotionTraits.hpp"
51 #include "Teuchos_StandardMemberCompositionMacros.hpp"
52 #include "Teuchos_FancyOStream.hpp"
74 template<
class Scalar>
318 void setDefaultTols();
326 #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.