Thyra Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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.

Classes

class  Thyra::ArrayView< class T >
class  Thyra::Comm< typename Ordinal >

Namespaces

namespace  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_tThyra::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)
TypeTo Thyra::as (const TypeFrom &t)
TEUCHOS_DEPRECATED RCP< T > Thyra::rcp (T *p, Dealloc_T dealloc, bool owns_mem)

Variables

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

Macro Definition Documentation

◆ CHECK_TPETRA_FUNC_CALL_INCREMENT

#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 ); \
}

Definition at line 712 of file TpetraThyraWrappers_UnitTests.cpp.

Referenced by Thyra::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL().

◆ TPETRA_TIMER_TESTS

#define TPETRA_TIMER_TESTS ( SCALAR)

Definition at line 836 of file TpetraThyraWrappers_UnitTests.cpp.

◆ THYRA_TPETRA_THYRA_WRAPPERS_INSTANT

#define THYRA_TPETRA_THYRA_WRAPPERS_INSTANT ( SCALAR)

Definition at line 1028 of file TpetraThyraWrappers_UnitTests.cpp.