Public Types | |
typedef Teuchos::ScalarTraits < Scalar >::magnitudeType | ScalarMag |
Local typedef for promoted scalar magnitude. | |
Public Member Functions | |
LinearCombinationTester (int nLocalRows, double onProcDensity, double offProcDensity, const VectorType< Scalar > &vecType, const TestSpecifier< Scalar > &spec) | |
bool | runAllTests () const |
Private Member Functions | |
bool | nonModifyingOpTests () const |
bool | selfModifyingOpTests () const |
Private Attributes | |
TestSpecifier< Scalar > | spec_ |
int | nLocalRows_ |
double | onProcDensity_ |
double | offProcDensity_ |
VectorType< Scalar > | vecType_ |
Definition at line 62 of file PlayaLinearCombinationTester.hpp.
typedef Teuchos::ScalarTraits<Scalar>::magnitudeType Playa::LinearCombinationTester< Scalar >::ScalarMag |
Local typedef for promoted scalar magnitude.
Reimplemented from Playa::TesterBase< Scalar >.
Definition at line 66 of file PlayaLinearCombinationTester.hpp.
Playa::LinearCombinationTester< Scalar >::LinearCombinationTester | ( | int | nLocalRows, | |
double | onProcDensity, | |||
double | offProcDensity, | |||
const VectorType< Scalar > & | vecType, | |||
const TestSpecifier< Scalar > & | spec | |||
) | [inline] |
Definition at line 97 of file PlayaLinearCombinationTester.hpp.
bool Playa::LinearCombinationTester< Scalar >::nonModifyingOpTests | ( | ) | const [inline, private] |
Definition at line 123 of file PlayaLinearCombinationTester.hpp.
References Playa::VectorSpace< Scalar >::createMember(), Playa::LinearOperator< Scalar >::domain(), Playa::RandomSparseMatrixBuilder< Scalar >::getOp(), and TESTER.
bool Playa::LinearCombinationTester< Scalar >::runAllTests | ( | ) | const [inline, virtual] |
Implements Playa::TesterBase< Scalar >.
Definition at line 111 of file PlayaLinearCombinationTester.hpp.
bool Playa::LinearCombinationTester< Scalar >::selfModifyingOpTests | ( | ) | const [inline, private] |
Definition at line 246 of file PlayaLinearCombinationTester.hpp.
References Playa::Vector< Scalar >::copy(), Playa::VectorSpace< Scalar >::createMember(), Playa::LinearOperator< Scalar >::domain(), Playa::RandomSparseMatrixBuilder< Scalar >::getOp(), Playa::identityOperator(), Playa::Vector< Scalar >::norm2(), Playa::norm2(), and Playa::Out::os().
int Playa::LinearCombinationTester< Scalar >::nLocalRows_ [private] |
Definition at line 88 of file PlayaLinearCombinationTester.hpp.
double Playa::LinearCombinationTester< Scalar >::offProcDensity_ [private] |
Definition at line 90 of file PlayaLinearCombinationTester.hpp.
double Playa::LinearCombinationTester< Scalar >::onProcDensity_ [private] |
Definition at line 89 of file PlayaLinearCombinationTester.hpp.
TestSpecifier<Scalar> Playa::LinearCombinationTester< Scalar >::spec_ [private] |
Definition at line 86 of file PlayaLinearCombinationTester.hpp.
VectorType<Scalar> Playa::LinearCombinationTester< Scalar >::vecType_ [private] |
Definition at line 91 of file PlayaLinearCombinationTester.hpp.