Public Types | |
typedef Teuchos::ScalarTraits < Scalar >::magnitudeType | ScalarMag |
Local typedef for promoted scalar magnitude. | |
Public Member Functions | |
VectorTester (const VectorSpace< Scalar > &space, const TestSpecifier< Scalar > &spec, const Playa::MPIComm &comm=Playa::MPIComm::world()) | |
bool | runAllTests () const |
bool | sumTest () const |
bool | dotStarTest () const |
bool | dotSlashTest () const |
bool | scalarMultTest () const |
bool | overloadedUpdateTest () const |
Private Member Functions | |
void | randomizeVec (Vector< Scalar > &x) const |
Private Attributes | |
TestSpecifier< Scalar > | spec_ |
VectorSpace< Scalar > | space_ |
Playa::MPIComm | comm_ |
Definition at line 28 of file PlayaVectorTester.hpp.
typedef Teuchos::ScalarTraits<Scalar>::magnitudeType Playa::VectorTester< Scalar >::ScalarMag |
Playa::VectorTester< Scalar >::VectorTester | ( | const VectorSpace< Scalar > & | space, | |
const TestSpecifier< Scalar > & | spec, | |||
const Playa::MPIComm & | comm = Playa::MPIComm::world() | |||
) | [inline] |
Definition at line 73 of file PlayaVectorTester.hpp.
bool Playa::VectorTester< Scalar >::dotSlashTest | ( | ) | const [inline] |
Definition at line 223 of file PlayaVectorTester.hpp.
References Playa::Vector< Scalar >::dotSlash(), and Playa::normInf().
bool Playa::VectorTester< Scalar >::dotStarTest | ( | ) | const [inline] |
Definition at line 172 of file PlayaVectorTester.hpp.
References Playa::Vector< Scalar >::dotStar(), and Playa::normInf().
bool Playa::VectorTester< Scalar >::overloadedUpdateTest | ( | ) | const [inline] |
void Playa::VectorTester< Scalar >::randomizeVec | ( | Vector< Scalar > & | x | ) | const [inline, private] |
Definition at line 96 of file PlayaVectorTester.hpp.
bool Playa::VectorTester< Scalar >::runAllTests | ( | ) | const [inline] |
Definition at line 81 of file PlayaVectorTester.hpp.
bool Playa::VectorTester< Scalar >::scalarMultTest | ( | ) | const [inline] |
bool Playa::VectorTester< Scalar >::sumTest | ( | ) | const [inline] |
Definition at line 110 of file PlayaVectorTester.hpp.
References Playa::normInf(), and Playa::Vector< Scalar >::zero().
Playa::MPIComm Playa::VectorTester< Scalar >::comm_ [private] |
Definition at line 67 of file PlayaVectorTester.hpp.
VectorSpace<Scalar> Playa::VectorTester< Scalar >::space_ [private] |
Definition at line 65 of file PlayaVectorTester.hpp.
TestSpecifier<Scalar> Playa::VectorTester< Scalar >::spec_ [private] |
Definition at line 63 of file PlayaVectorTester.hpp.