42#ifndef THYRA_MULTI_VECTOR_TESTER_DECL_HPP
43#define THYRA_MULTI_VECTOR_TESTER_DECL_HPP
45#include "Thyra_OperatorVectorTypes.hpp"
46#include "Thyra_LinearOpTester.hpp"
47#include "Teuchos_Describable.hpp"
212 int num_random_vectors_;
213 bool show_all_tests_;
223template<
class Scalar>
227 return linearOpTester_;
231template<
class Scalar>
235 return linearOpTester_;
239template<
class Scalar>
243 warning_tol_ = warning_tol_in;
248template<
class Scalar>
257template<
class Scalar>
261 error_tol_ = error_tol_in;
262 linearOpTester_.set_all_error_tol(error_tol_in);
266template<
class Scalar>
275template<
class Scalar>
279 num_random_vectors_ = num_random_vectors_in;
280 linearOpTester_.num_random_vectors(num_random_vectors_in);
284template<
class Scalar>
288 return num_random_vectors_;
292template<
class Scalar>
296 show_all_tests_ = show_all_tests_in;
297 linearOpTester_.show_all_tests(show_all_tests_in);
301template<
class Scalar>
305 return show_all_tests_;
309template<
class Scalar>
313 dump_all_ = dump_all_in;
314 linearOpTester_.dump_all(dump_all_in);
318template<
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.
MultiVectorTester(const ScalarMag warning_tol=1e-13, const ScalarMag error_tol=1e-10, const int num_random_vectors=1, const bool show_all_tests=false, const bool dump_all=false)
Default constructor which sets default parameter values.
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.