42 #ifndef THYRA_VECTOR_SPACE_TESTER_DECL_HPP
43 #define THYRA_VECTOR_SPACE_TESTER_DECL_HPP
45 #include "Thyra_OperatorVectorTypes.hpp"
46 #include "Thyra_VectorTester.hpp"
70 template<
class Scalar>
164 ,
const int num_mv_cols = 4
225 int num_random_vectors_;
226 bool show_all_tests_;
236 template<
class Scalar>
240 return vectorTester_;
244 template<
class Scalar>
248 return vectorTester_;
252 template<
class Scalar>
256 warning_tol_ = warning_tol_in;
257 vectorTester_.warning_tol(warning_tol_in);
261 template<
class Scalar>
270 template<
class Scalar>
274 error_tol_ = error_tol_in;
275 vectorTester_.error_tol(error_tol_in);
279 template<
class Scalar>
288 template<
class Scalar>
292 num_random_vectors_ = num_random_vectors_in;
293 vectorTester_.num_random_vectors(num_random_vectors_in);
297 template<
class Scalar>
301 return num_random_vectors_;
305 template<
class Scalar>
309 show_all_tests_ = show_all_tests_in;
310 vectorTester_.show_all_tests(show_all_tests_in);
314 template<
class Scalar>
318 return show_all_tests_;
322 template<
class Scalar>
326 dump_all_ = dump_all_in;
327 vectorTester_.dump_all(dump_all_in);
331 template<
class Scalar>
342 #endif // THYRA_VECTOR_SPACE_TESTER_DECL_HPP
ScalarMag warning_tol() const
Return the warning tolerance for *this.
int num_random_vectors() const
Return the number of random vectors used for *this objects tests.
Testing class for VectorSpace and the VectorBase and MultiVectorBase objects that it creates...
VectorTester< Scalar > & vectorTester()
Expose a non-const reference to the VectorTester object used to test the MultiVectorBase interface su...
STANDARD_MEMBER_COMPOSITION_MEMBERS(int, num_mv_cols)
Set the number of columns to use to create test MultiVectorBase objects.
Abstract interface for objects that represent a space for vectors.
Unit testing class for a VectorBase object.
ScalarMag error_tol() const
Return the error tolerance for *this.
VectorSpaceTester(const ScalarMag warning_tol=1e-13, const ScalarMag error_tol=1e-10, const int num_random_vectors=1, const int num_mv_cols=4, const bool show_all_tests=false, const bool dump_all=false)
Default constructor which sets default parameter values.
Teuchos::ScalarTraits< Scalar >::magnitudeType ScalarMag
Local typedef for scalar magnitude.
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.
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.