Thyra Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Typedefs | Functions | Variables
TpetraThyraWrappers_UnitTests.cpp File Reference
#include "Thyra_TpetraThyraWrappers.hpp"
#include "Thyra_VectorSpaceTester.hpp"
#include "Thyra_VectorStdOpsTester.hpp"
#include "Thyra_MultiVectorStdOpsTester.hpp"
#include "Thyra_VectorStdOps.hpp"
#include "Thyra_MultiVectorStdOps.hpp"
#include "Thyra_LinearOpTester.hpp"
#include "Thyra_DefaultProductVector.hpp"
#include "Thyra_TestingTools.hpp"
#include "Thyra_ScaledLinearOpBase.hpp"
#include "Thyra_RowStatLinearOpBase.hpp"
#include "Tpetra_CrsMatrix.hpp"
#include "Teuchos_UnitTestHarness.hpp"
#include "Teuchos_DefaultComm.hpp"
#include "Teuchos_Tuple.hpp"
Include dependency graph for TpetraThyraWrappers_UnitTests.cpp:

Go to the source code of this file.

Namespaces

 Thyra
 

Macros

#define CHECK_TPETRA_FUNC_CALL_INCREMENT(timerStr, tpetraCode, thyraCode)
 
#define TPETRA_TIMER_TESTS(SCALAR)
 
#define THYRA_TPETRA_THYRA_WRAPPERS_INSTANT(SCALAR)
 

Typedefs

typedef Tpetra::Map Thyra::TpetraMap_t
 

Functions

RCP< const TpetraMap_t > Thyra::createTpetraMap (const int localDim)
 
template<class Scalar >
RCP< const VectorSpaceBase
< Scalar > > 
Thyra::createTpetraVectorSpace (const int localDim)
 
template<class Scalar >
RCP< Tpetra::Operator< Scalar > > Thyra::createTriDiagonalTpetraOperator (const int numLocalRows)
 
 Thyra::TEUCHOS_STATIC_SETUP ()
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, convertTpetraToThyraComm, Scalar)
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, createVectorSpace, Scalar)
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, createVector, Scalar)
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, createConstVector, Scalar)
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, createMultiVector, Scalar)
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, createConstMultiVector, Scalar)
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, TeptraVectorSpace, Scalar)
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, vectorSpaceTester, Scalar)
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, vectorStdOpsTester, Scalar)
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, multiVectorStdOpsTester, Scalar)
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, getTpetraMultiVector, Scalar)
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, getConstTpetraMultiVector, Scalar)
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, TpetraLinearOp, Scalar)
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, createLinearOp, Scalar)
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, createConstLinearOp, Scalar)
 
Teuchos::RCP< Teuchos::TimeThyra::lookupAndAssertTimer (const std::string &label)
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, UseTpetraImplementations, Scalar)
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, TpetraLinearOp_EpetraRowMatrix, Scalar)
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, TpetraLinearOp_RowStatLinearOpBase, Scalar)
 
 Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (TpetraThyraWrappers, TpetraLinearOp_ScaledLinearOpBase, Scalar)
 

Variables

const int Thyra::g_localDim = 4
 
bool Thyra::showAllTests = false
 
bool Thyra::dumpAll = false
 
bool Thyra::runLinearOpTester = true
 

Macro Definition Documentation

#define CHECK_TPETRA_FUNC_CALL_INCREMENT (   timerStr,
  tpetraCode,
  thyraCode 
)
Value:
{ \
out << "\nTesting that Thyra calls down to " << timerStr << "\n"; \
ECHO(tpetraCode); \
const RCP<const Time> timer = lookupAndAssertTimer(timerStr); \
const int countBefore = timer->numCalls(); \
ECHO(thyraCode); \
const int countAfter = timer->numCalls(); \
TEST_EQUALITY( countAfter, countBefore+1 ); \
}
Teuchos::RCP< Teuchos::Time > lookupAndAssertTimer(const std::string &label)

Definition at line 712 of file TpetraThyraWrappers_UnitTests.cpp.

Referenced by Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL().

#define TPETRA_TIMER_TESTS (   SCALAR)

Definition at line 836 of file TpetraThyraWrappers_UnitTests.cpp.

#define THYRA_TPETRA_THYRA_WRAPPERS_INSTANT (   SCALAR)

Definition at line 1028 of file TpetraThyraWrappers_UnitTests.cpp.