10#ifndef THYRA_VECTOR_SPACE_TESTER_DECL_HPP
11#define THYRA_VECTOR_SPACE_TESTER_DECL_HPP
13#include "Thyra_OperatorVectorTypes.hpp"
14#include "Thyra_VectorTester.hpp"
132 ,
const int num_mv_cols = 4
193 int num_random_vectors_;
194 bool show_all_tests_;
204template<
class Scalar>
208 return vectorTester_;
212template<
class Scalar>
216 return vectorTester_;
220template<
class Scalar>
224 warning_tol_ = warning_tol_in;
229template<
class Scalar>
238template<
class Scalar>
242 error_tol_ = error_tol_in;
243 vectorTester_.error_tol(error_tol_in);
247template<
class Scalar>
256template<
class Scalar>
260 num_random_vectors_ = num_random_vectors_in;
261 vectorTester_.num_random_vectors(num_random_vectors_in);
265template<
class Scalar>
269 return num_random_vectors_;
273template<
class Scalar>
277 show_all_tests_ = show_all_tests_in;
278 vectorTester_.show_all_tests(show_all_tests_in);
282template<
class Scalar>
286 return show_all_tests_;
290template<
class Scalar>
294 dump_all_ = dump_all_in;
295 vectorTester_.dump_all(dump_all_in);
299template<
class Scalar>
Abstract interface for objects that represent a space for vectors.
Testing class for VectorSpace and the VectorBase and MultiVectorBase objects that it creates.
Teuchos::ScalarTraits< Scalar >::magnitudeType ScalarMag
Local typedef for scalar magnitude.
ScalarMag warning_tol() const
Return the warning tolerance for *this.
VectorTester< Scalar > & vectorTester()
Expose a non-const reference to the VectorTester object used to test the MultiVectorBase interface su...
bool dump_all() const
Return the number of random vectors used for *this objects tests.
bool check(const VectorSpaceBase< Scalar > &vs, Teuchos::FancyOStream *out) const
Check a vector space and the objects it creates through a set of comprehensive tests.
STANDARD_MEMBER_COMPOSITION_MEMBERS(int, num_mv_cols)
Set the number of columns to use to create test MultiVectorBase objects.
int num_random_vectors() const
Return the number of random vectors used for *this objects tests.
ScalarMag error_tol() const
Return the error tolerance for *this.
bool show_all_tests() const
Return the number of random vectors used for *this objects tests.
Unit testing class for a VectorBase object.
void warning_tol(const ScalarMag &warning_tol)
Set the tolerance above which a relative error will generate a warning message.