Thyra::TesterBase< Scalar > Class Template Reference

More...

#include <Thyra_TesterBase.hpp>

Inheritance diagram for Thyra::TesterBase< Scalar >:

Inheritance graph
[legend]
List of all members.

Public Types

typedef ScalarTraits< Scalar
>::magnitudeType 
ScalarMag
 Local typedef for promoted scalar magnitude.

Public Member Functions

 TesterBase (const RCP< const Comm< int > > &comm, const VectorSpace< Scalar > &space, int nCols, Teuchos::RCP< Teuchos::FancyOStream > &out)
 
virtual ~TesterBase ()
 
virtual bool runAllTests () const =0
 
bool checkTest (const TestSpecifier< Scalar > &spec, const ScalarMag &err, const string &testName) const
 
void randomizeVec (Vector< Scalar > &x) const
 
LinearOperator< Scalar > randomDenseOp () const
 
const VectorSpace< Scalar > & space () const
 
ostream & out () const
 
const Comm< int > & comm () const
 

Detailed Description

template<class Scalar>
class Thyra::TesterBase< Scalar >

Definition at line 44 of file Thyra_TesterBase.hpp.


Member Typedef Documentation

template<class Scalar>
typedef ScalarTraits<Scalar>::magnitudeType Thyra::TesterBase< Scalar >::ScalarMag

Local typedef for promoted scalar magnitude.

Reimplemented in Thyra::VectorOpTester< Scalar >.

Definition at line 48 of file Thyra_TesterBase.hpp.


Constructor & Destructor Documentation

template<class Scalar>
Thyra::TesterBase< Scalar >::TesterBase ( const RCP< const Comm< int > > &  comm,
const VectorSpace< Scalar > &  space,
int  nCols,
Teuchos::RCP< Teuchos::FancyOStream > &  out 
) [inline]

Definition at line 51 of file Thyra_TesterBase.hpp.

template<class Scalar>
virtual Thyra::TesterBase< Scalar >::~TesterBase (  )  [inline, virtual]

Definition at line 66 of file Thyra_TesterBase.hpp.


Member Function Documentation

template<class Scalar>
virtual bool Thyra::TesterBase< Scalar >::runAllTests (  )  const [pure virtual]

Implemented in Thyra::LinearCombinationTester< Scalar >, and Thyra::VectorOpTester< Scalar >.

template<class Scalar>
bool Thyra::TesterBase< Scalar >::checkTest ( const TestSpecifier< Scalar > &  spec,
const ScalarMag err,
const string &  testName 
) const [inline]

Definition at line 112 of file Thyra_TesterBase.hpp.

template<class Scalar>
void Thyra::TesterBase< Scalar >::randomizeVec ( Vector< Scalar > &  x  )  const [inline]

Definition at line 102 of file Thyra_TesterBase.hpp.

template<class Scalar>
LinearOperator< Scalar > Thyra::TesterBase< Scalar >::randomDenseOp (  )  const [inline]

Definition at line 142 of file Thyra_TesterBase.hpp.

template<class Scalar>
const VectorSpace<Scalar>& Thyra::TesterBase< Scalar >::space (  )  const [inline]

Definition at line 84 of file Thyra_TesterBase.hpp.

template<class Scalar>
ostream& Thyra::TesterBase< Scalar >::out (  )  const [inline]

Definition at line 87 of file Thyra_TesterBase.hpp.

template<class Scalar>
const Comm<int>& Thyra::TesterBase< Scalar >::comm (  )  const [inline]

Definition at line 90 of file Thyra_TesterBase.hpp.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:42:34 2010 for Thyra Operator/Vector Support by  doxygen 1.4.7