VectorBase object.
More...
#include <Thyra_VectorTesterDecl.hpp>
Public Types | |
| typedef Teuchos::ScalarTraits< Scalar >::magnitudeType | ScalarMag |
| Local typedef for scalar magnitude. | |
Public Member Functions | |
| MultiVectorTester< Scalar > & | multiVectorTester () |
Expose a non-const reference to the MultiVectorTester object used to test the MultiVectorBase interface supported by VectorBase. | |
| const MultiVectorTester< Scalar > & | multiVectorTester () const |
Expose a const reference to the MultiVectorTester object used to test the MultiVectorBase interface supported by VectorBase. | |
| void | warning_tol (const ScalarMag &warning_tol) |
| Set the tolerance above which a relative error will generate a warning message. | |
| ScalarMag | warning_tol () const |
Return the warning tolerance for *this. | |
| void | error_tol (const ScalarMag &error_tol) |
| Set the error above which a relative error will generate a an message and cause the test to fail. | |
| ScalarMag | error_tol () const |
Return the error tolerance for *this. | |
| void | num_random_vectors (const int num_random_vectors) |
| Set the number random vectors that is generated during each test. | |
| int | num_random_vectors () const |
Return the number of random vectors used for *this objects tests. | |
| void | show_all_tests (const bool show_all_tests) |
| Set whether all of the tests will be printed independent if they pass or fail. | |
| bool | show_all_tests () const |
Return the number of random vectors used for *this objects tests. | |
| void | dump_all (const bool dump_all) |
| Set whether all of the vectors and multi-vectors will be dumped or not. | |
| bool | dump_all () const |
Return the number of random vectors used for *this objects tests. | |
| VectorTester (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. | |
| bool | check (const VectorBase< Scalar > &v, std::ostream *out, const std::string &leadingIndent="", const std::string &indentSpacer=" ") const |
| Check a vector object in a set of comprehensive tests. | |
VectorBase object.
ToDo: Finish documentation!
Definition at line 44 of file Thyra_VectorTesterDecl.hpp.
|
|||||
|
Local typedef for scalar magnitude.
Definition at line 48 of file Thyra_VectorTesterDecl.hpp. |
|
||||||||||||||||||||||||||||
|
Default constructor which sets default parameter values. Note: It is not recommended that the client pass in values in this constructor since the argument list may change in the near future but instead use the above set functions to change an option after construction. Postconditions:
Definition at line 37 of file Thyra_VectorTester.hpp. |
|
|||||||||
|
Expose a non-
Clients can use this interface to override options directly set on Definition at line 209 of file Thyra_VectorTesterDecl.hpp. |
|
|||||||||
|
Expose a Clients can use this interface to query (but not change) options. Definition at line 216 of file Thyra_VectorTesterDecl.hpp. |
|
||||||||||
|
Set the tolerance above which a relative error will generate a warning message.
Also calls Definition at line 223 of file Thyra_VectorTesterDecl.hpp. |
|
|||||||||
|
Return the warning tolerance for
Definition at line 232 of file Thyra_VectorTesterDecl.hpp. |
|
||||||||||
|
Set the error above which a relative error will generate a an message and cause the test to fail.
Also calls Definition at line 239 of file Thyra_VectorTesterDecl.hpp. |
|
|||||||||
|
Return the error tolerance for
Definition at line 248 of file Thyra_VectorTesterDecl.hpp. |
|
||||||||||
|
Set the number random vectors that is generated during each test.
Also calls Definition at line 255 of file Thyra_VectorTesterDecl.hpp. |
|
|||||||||
|
Return the number of random vectors used for
Definition at line 263 of file Thyra_VectorTesterDecl.hpp. |
|
||||||||||
|
Set whether all of the tests will be printed independent if they pass or fail.
Also calls Definition at line 270 of file Thyra_VectorTesterDecl.hpp. |
|
|||||||||
|
Return the number of random vectors used for
Definition at line 278 of file Thyra_VectorTesterDecl.hpp. |
|
||||||||||
|
Set whether all of the vectors and multi-vectors will be dumped or not.
Also calls Definition at line 285 of file Thyra_VectorTesterDecl.hpp. |
|
|||||||||
|
Return the number of random vectors used for
Definition at line 293 of file Thyra_VectorTesterDecl.hpp. |
|
||||||||||||||||||||||||
|
Check a vector object in a set of comprehensive tests.
VectorTester() for the default values for these options):
out!=NULL and to look at the implementation by clicking on the following link to the source code:
Definition at line 58 of file Thyra_VectorTester.hpp. |
1.3.9.1