46 #ifndef XPETRA_IMPORTFACTORY_HPP
47 #define XPETRA_IMPORTFACTORY_HPP
53 #ifdef HAVE_XPETRA_TPETRA
56 #ifdef HAVE_XPETRA_EPETRA
64 template <
class LocalOrdinal,
66 class Node =
typename Import<LocalOrdinal, GlobalOrdinal>::node_type>
80 #ifdef HAVE_XPETRA_TPETRA
92 #if (defined(HAVE_XPETRA_EPETRA) && !defined(XPETRA_EPETRA_NO_32BIT_GLOBAL_INDICES))
113 #ifdef HAVE_XPETRA_TPETRA
128 #if (defined(HAVE_XPETRA_EPETRA) && !defined(XPETRA_EPETRA_NO_64BIT_GLOBAL_INDICES))
146 #ifdef HAVE_XPETRA_TPETRA
161 #define XPETRA_IMPORTFACTORY_SHORT
static RCP< Import< 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.
static RCP< Import< LocalOrdinal, GlobalOrdinal, Node > > Build(const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &source, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &target)
#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)
#define XPETRA_FACTORY_END
ImportFactory()
Private constructor. This is a static class.
ImportFactory()
Private constructor. This is a static class.
static RCP< Import< LocalOrdinal, GlobalOrdinal, Node > > Build(const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &source, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &target)
#define XPETRA_MONITOR(funcName)
ImportFactory()
Private constructor. This is a static class.