Thyra
Version of the Day
|
Testing class that tests all of the standard vector operations defined in ??? using an arbitrary vector space. More...
#include <Thyra_MultiVectorStdOpsTester_decl.hpp>
Public Types | |
typedef Teuchos::ScalarTraits < Scalar >::magnitudeType | ScalarMag |
Public Member Functions | |
STANDARD_MEMBER_COMPOSITION_MEMBERS (ScalarMag, warning_tol) | |
Set the maximum relative error before a warning is generated. More... | |
STANDARD_MEMBER_COMPOSITION_MEMBERS (ScalarMag, error_tol) | |
Set the maximum relative error before an error is generated. More... | |
STANDARD_MEMBER_COMPOSITION_MEMBERS (int, num_mv_cols) | |
Set the number of columns to use to create test MultiVectorBase objects. More... | |
MultiVectorStdOpsTester (const ScalarMag &warning_tol=0, const ScalarMag &error_tol=0, const int num_mv_cols=4) | |
bool | checkStdOps (const VectorSpaceBase< Scalar > &vecSpc, std::ostream *out=0, const bool &dumpAll=false) |
Run the tests using a vector space. More... | |
Testing class that tests all of the standard vector operations defined in ??? using an arbitrary vector space.
ToDo: Finish documentation!
Definition at line 25 of file Thyra_MultiVectorStdOpsTester_decl.hpp.
typedef Teuchos::ScalarTraits<Scalar>::magnitudeType Thyra::MultiVectorStdOpsTester< Scalar >::ScalarMag |
Definition at line 29 of file Thyra_MultiVectorStdOpsTester_decl.hpp.
Thyra::MultiVectorStdOpsTester< Scalar >::MultiVectorStdOpsTester | ( | const ScalarMag & | warning_tol = 0 , |
const ScalarMag & | error_tol = 0 , |
||
const int | num_mv_cols = 4 |
||
) |
Definition at line 23 of file Thyra_MultiVectorStdOpsTester_def.hpp.
Thyra::MultiVectorStdOpsTester< Scalar >::STANDARD_MEMBER_COMPOSITION_MEMBERS | ( | ScalarMag | , |
warning_tol | |||
) |
Set the maximum relative error before a warning is generated.
Thyra::MultiVectorStdOpsTester< Scalar >::STANDARD_MEMBER_COMPOSITION_MEMBERS | ( | ScalarMag | , |
error_tol | |||
) |
Set the maximum relative error before an error is generated.
Thyra::MultiVectorStdOpsTester< Scalar >::STANDARD_MEMBER_COMPOSITION_MEMBERS | ( | int | , |
num_mv_cols | |||
) |
Set the number of columns to use to create test MultiVectorBase
objects.
bool Thyra::MultiVectorStdOpsTester< Scalar >::checkStdOps | ( | const VectorSpaceBase< Scalar > & | vecSpc, |
std::ostream * | out = 0 , |
||
const bool & | dumpAll = false |
||
) |
Run the tests using a vector space.
vecSpc | [in] VectorBase space used to generate vectors in tests. |
out | [in/out] If out!=NULL then *out will receive output about the tests. |
dumpAll | [in] If true then vector elements will be printed after each transformation operation. Default is false . |
true
if all of the tests check out and false
otherwise. Definition at line 34 of file Thyra_MultiVectorStdOpsTester_def.hpp.