Public Types | Public Member Functions | Private Member Functions | Private Attributes
TSFExtended::VectorTester< Scalar > Class Template Reference

Run comparisons between element-wise calculations and Vector member functions. More...

List of all members.

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 Teuchos::MPIComm &comm=Teuchos::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_
Teuchos::MPIComm comm_

Detailed Description

template<class Scalar>
class TSFExtended::VectorTester< Scalar >

Run comparisons between element-wise calculations and Vector member functions.

Definition at line 52 of file TSFVectorTester.hpp.


Member Typedef Documentation

template<class Scalar >
typedef Teuchos::ScalarTraits<Scalar>::magnitudeType TSFExtended::VectorTester< Scalar >::ScalarMag

Local typedef for promoted scalar magnitude.

Definition at line 56 of file TSFVectorTester.hpp.


Constructor & Destructor Documentation

template<class Scalar >
TSFExtended::VectorTester< Scalar >::VectorTester ( const VectorSpace< Scalar > &  space,
const TestSpecifier< Scalar > &  spec,
const Teuchos::MPIComm &  comm = Teuchos::MPIComm::world() 
) [inline]

Definition at line 97 of file TSFVectorTester.hpp.


Member Function Documentation

template<class Scalar >
bool TSFExtended::VectorTester< Scalar >::dotSlashTest ( ) const [inline]

Definition at line 247 of file TSFVectorTester.hpp.

References TSFExtended::Vector< Scalar >::dotSlash().

template<class Scalar >
bool TSFExtended::VectorTester< Scalar >::dotStarTest ( ) const [inline]

Definition at line 196 of file TSFVectorTester.hpp.

References TSFExtended::Vector< Scalar >::dotStar().

template<class Scalar >
bool TSFExtended::VectorTester< Scalar >::overloadedUpdateTest ( ) const [inline]

Definition at line 347 of file TSFVectorTester.hpp.

template<class Scalar >
void TSFExtended::VectorTester< Scalar >::randomizeVec ( Vector< Scalar > &  x) const [inline, private]

Definition at line 120 of file TSFVectorTester.hpp.

template<class Scalar >
bool TSFExtended::VectorTester< Scalar >::runAllTests ( ) const [inline]

Definition at line 105 of file TSFVectorTester.hpp.

template<class Scalar >
bool TSFExtended::VectorTester< Scalar >::scalarMultTest ( ) const [inline]

Definition at line 299 of file TSFVectorTester.hpp.

template<class Scalar >
bool TSFExtended::VectorTester< Scalar >::sumTest ( ) const [inline]

Definition at line 134 of file TSFVectorTester.hpp.

References TSFExtended::Vector< Scalar >::zero().


Member Data Documentation

template<class Scalar >
Teuchos::MPIComm TSFExtended::VectorTester< Scalar >::comm_ [private]

Definition at line 91 of file TSFVectorTester.hpp.

template<class Scalar >
VectorSpace<Scalar> TSFExtended::VectorTester< Scalar >::space_ [private]

Definition at line 89 of file TSFVectorTester.hpp.

template<class Scalar >
TestSpecifier<Scalar> TSFExtended::VectorTester< Scalar >::spec_ [private]

Definition at line 87 of file TSFVectorTester.hpp.

Site Contact