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"
38 template<
class Scalar>
132 ,
const int num_mv_cols = 4
193 int num_random_vectors_;
194 bool show_all_tests_;
204 template<
class Scalar>
208 return vectorTester_;
212 template<
class Scalar>
216 return vectorTester_;
220 template<
class Scalar>
224 warning_tol_ = warning_tol_in;
225 vectorTester_.warning_tol(warning_tol_in);
229 template<
class Scalar>
238 template<
class Scalar>
242 error_tol_ = error_tol_in;
243 vectorTester_.error_tol(error_tol_in);
247 template<
class Scalar>
256 template<
class Scalar>
260 num_random_vectors_ = num_random_vectors_in;
261 vectorTester_.num_random_vectors(num_random_vectors_in);
265 template<
class Scalar>
269 return num_random_vectors_;
273 template<
class Scalar>
277 show_all_tests_ = show_all_tests_in;
278 vectorTester_.show_all_tests(show_all_tests_in);
282 template<
class Scalar>
286 return show_all_tests_;
290 template<
class Scalar>
294 dump_all_ = dump_all_in;
295 vectorTester_.dump_all(dump_all_in);
299 template<
class Scalar>
310 #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.