10#ifndef THYRA_MULTI_VECTOR_TESTER_DECL_HPP
11#define THYRA_MULTI_VECTOR_TESTER_DECL_HPP
13#include "Thyra_OperatorVectorTypes.hpp"
14#include "Thyra_LinearOpTester.hpp"
15#include "Teuchos_Describable.hpp"
180 int num_random_vectors_;
181 bool show_all_tests_;
191template<
class Scalar>
195 return linearOpTester_;
199template<
class Scalar>
203 return linearOpTester_;
207template<
class Scalar>
211 warning_tol_ = warning_tol_in;
216template<
class Scalar>
225template<
class Scalar>
229 error_tol_ = error_tol_in;
230 linearOpTester_.set_all_error_tol(error_tol_in);
234template<
class Scalar>
243template<
class Scalar>
247 num_random_vectors_ = num_random_vectors_in;
248 linearOpTester_.num_random_vectors(num_random_vectors_in);
252template<
class Scalar>
256 return num_random_vectors_;
260template<
class Scalar>
264 show_all_tests_ = show_all_tests_in;
265 linearOpTester_.show_all_tests(show_all_tests_in);
269template<
class Scalar>
273 return show_all_tests_;
277template<
class Scalar>
281 dump_all_ = dump_all_in;
282 linearOpTester_.dump_all(dump_all_in);
286template<
class Scalar>
Testing class for LinearOpBase.
void set_all_warning_tol(const ScalarMag warning_tol)
Set all the warning tolerances to the same value.
Interface for a collection of column vectors called a multi-vector.
Unit testing class for a MultiVectorBase object.
ScalarMag error_tol() const
Return the error tolerance for *this.
bool dump_all() const
Return the number of random vectors used for *this objects tests.
int num_random_vectors() const
Return the number of random vectors used for *this objects tests.
ScalarMag warning_tol() const
Return the warning tolerance for *this.
bool checkMultiVector(const VectorSpaceBase< Scalar > &vs, const Ptr< Teuchos::FancyOStream > &out) const
Check a multi-vector as created by a VectorSpaceBase object.
LinearOpTester< Scalar > & linearOpTester()
Expose a non-const reference to the LinearOpTester object used to test the LinearOpBase interface sup...
Teuchos::ScalarTraits< Scalar >::magnitudeType ScalarMag
Local typedef for scalar magnitude.
bool show_all_tests() const
Return the number of random vectors used for *this objects tests.
bool check(const MultiVectorBase< Scalar > &mv, const Ptr< Teuchos::FancyOStream > &out) const
Check a multi-vector object in a set of comprehensive teats.
Abstract interface for objects that represent a space for vectors.