10 #ifndef THYRA_MULTI_VECTOR_TESTER_DECL_HPP
11 #define THYRA_MULTI_VECTOR_TESTER_DECL_HPP
13 #include "Thyra_OperatorVectorTypes.hpp"
14 #include "Thyra_LinearOpTester.hpp"
15 #include "Teuchos_Describable.hpp"
27 template<
class Scalar>
180 int num_random_vectors_;
181 bool show_all_tests_;
191 template<
class Scalar>
195 return linearOpTester_;
199 template<
class Scalar>
203 return linearOpTester_;
207 template<
class Scalar>
211 warning_tol_ = warning_tol_in;
212 linearOpTester_.set_all_warning_tol(warning_tol_in);
216 template<
class Scalar>
225 template<
class Scalar>
229 error_tol_ = error_tol_in;
230 linearOpTester_.set_all_error_tol(error_tol_in);
234 template<
class Scalar>
243 template<
class Scalar>
247 num_random_vectors_ = num_random_vectors_in;
248 linearOpTester_.num_random_vectors(num_random_vectors_in);
252 template<
class Scalar>
256 return num_random_vectors_;
260 template<
class Scalar>
264 show_all_tests_ = show_all_tests_in;
265 linearOpTester_.show_all_tests(show_all_tests_in);
269 template<
class Scalar>
273 return show_all_tests_;
277 template<
class Scalar>
281 dump_all_ = dump_all_in;
282 linearOpTester_.dump_all(dump_all_in);
286 template<
class Scalar>
297 #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.