46 #ifndef XPETRA_EXPORTFACTORY_HPP
47 #define XPETRA_EXPORTFACTORY_HPP
53 #ifdef HAVE_XPETRA_TPETRA
56 #ifdef HAVE_XPETRA_EPETRA
64 template <
class LocalOrdinal =
int,
class GlobalOrdinal = LocalOrdinal,
class Node = Kokkos::DefaultNode::DefaultNodeType>
78 #ifdef HAVE_XPETRA_TPETRA
107 #ifdef HAVE_XPETRA_TPETRA
112 #ifdef HAVE_XPETRA_EPETRA
124 #define XPETRA_EXPORTFACTORY_SHORT
static RCP< Export< LocalOrdinal, GlobalOrdinal, Node > > Build(const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &source, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &target)
Constructor specifying the number of non-zeros for all rows.
ExportFactory()
Private constructor. This is a static class.
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
Exception throws to report errors in the internal logical of the program.
#define XPETRA_FACTORY_ERROR_IF_EPETRA(lib)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
ExportFactory()
Private constructor. This is a static class.
#define XPETRA_FACTORY_END
Kokkos::DefaultNode::DefaultNodeType Node
#define XPETRA_MONITOR(funcName)
static RCP< Export< LocalOrdinal, GlobalOrdinal, Node > > Build(const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &source, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &target)