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"
59 template<
class Scalar>
212 int num_random_vectors_;
213 bool show_all_tests_;
223 template<
class Scalar>
227 return linearOpTester_;
231 template<
class Scalar>
235 return linearOpTester_;
239 template<
class Scalar>
243 warning_tol_ = warning_tol_in;
244 linearOpTester_.set_all_warning_tol(warning_tol_in);
248 template<
class Scalar>
257 template<
class Scalar>
261 error_tol_ = error_tol_in;
262 linearOpTester_.set_all_error_tol(error_tol_in);
266 template<
class Scalar>
275 template<
class Scalar>
279 num_random_vectors_ = num_random_vectors_in;
280 linearOpTester_.num_random_vectors(num_random_vectors_in);
284 template<
class Scalar>
288 return num_random_vectors_;
292 template<
class Scalar>
296 show_all_tests_ = show_all_tests_in;
297 linearOpTester_.show_all_tests(show_all_tests_in);
301 template<
class Scalar>
305 return show_all_tests_;
309 template<
class Scalar>
313 dump_all_ = dump_all_in;
314 linearOpTester_.dump_all(dump_all_in);
318 template<
class Scalar>
329 #endif // THYRA_MULTI_VECTOR_TESTER_DECL_HPP
ScalarMag error_tol() const
Return the error tolerance for *this.
Testing class for LinearOpBase.
Abstract interface for objects that represent a space for vectors.
Teuchos::ScalarTraits< Scalar >::magnitudeType ScalarMag
Local typedef for scalar magnitude.
Interface for a collection of column vectors called a multi-vector.
bool check(const MultiVectorBase< Scalar > &mv, const Ptr< Teuchos::FancyOStream > &out) const
Check a multi-vector object in a set of comprehensive teats.
bool dump_all() const
Return the number of random vectors used for *this objects tests.
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.
int num_random_vectors() const
Return the number of random vectors used for *this objects tests.
bool checkMultiVector(const VectorSpaceBase< Scalar > &vs, const Ptr< Teuchos::FancyOStream > &out) const
Check a multi-vector as created by a VectorSpaceBase object.
ScalarMag warning_tol() const
Return the warning tolerance for *this.
bool show_all_tests() const
Return the number of random vectors used for *this objects tests.
LinearOpTester< Scalar > & linearOpTester()
Expose a non-const reference to the LinearOpTester object used to test the LinearOpBase interface sup...
Unit testing class for a MultiVectorBase object.