10#ifndef THYRA_VECTOR_TESTER_DECL_HPP
11#define THYRA_VECTOR_TESTER_DECL_HPP
13#include "Thyra_OperatorVectorTypes.hpp"
14#include "Thyra_MultiVectorTester.hpp"
173 int num_random_vectors_;
174 bool show_all_tests_;
182template<
class Scalar>
186 return multiVectorTester_;
189template<
class Scalar>
193 return multiVectorTester_;
196template<
class Scalar>
200 warning_tol_ = warning_tol_in;
204template<
class Scalar>
212template<
class Scalar>
216 error_tol_ = error_tol_in;
217 multiVectorTester_.error_tol(error_tol_in);
220template<
class Scalar>
228template<
class Scalar>
232 num_random_vectors_ = num_random_vectors_in;
233 multiVectorTester_.num_random_vectors(num_random_vectors_in);
236template<
class Scalar>
240 return num_random_vectors_;
243template<
class Scalar>
247 show_all_tests_ = show_all_tests_in;
248 multiVectorTester_.show_all_tests(show_all_tests_in);
251template<
class Scalar>
255 return show_all_tests_;
258template<
class Scalar>
262 dump_all_ = dump_all_in;
263 multiVectorTester_.dump_all(dump_all_in);
266template<
class Scalar>
Unit testing class for a MultiVectorBase object.
void warning_tol(const ScalarMag &warning_tol)
Set the tolerance above which a relative error will generate a warning message.
Abstract interface for finite-dimensional dense vectors.
Unit testing class for a VectorBase object.
Teuchos::ScalarTraits< Scalar >::magnitudeType ScalarMag
Local typedef for scalar magnitude.
int num_random_vectors() const
Return the number of random vectors used for *this objects tests.
bool dump_all() const
Return the number of random vectors used for *this objects tests.
bool show_all_tests() const
Return the number of random vectors used for *this objects tests.
ScalarMag error_tol() const
Return the error tolerance for *this.
ScalarMag warning_tol() const
Return the warning tolerance for *this.
bool check(const VectorBase< Scalar > &v, Teuchos::FancyOStream *out) const
Check a vector object in a set of comprehensive tests.
MultiVectorTester< Scalar > & multiVectorTester()
Expose a non-const reference to the MultiVectorTester object used to test the MultiVectorBase interfa...