46 #ifndef XPETRA_EXPORTFACTORY_HPP
47 #define XPETRA_EXPORTFACTORY_HPP
53 #ifdef HAVE_XPETRA_TPETRA
56 #ifdef HAVE_XPETRA_EPETRA
64 template <class LocalOrdinal = Export<>::local_ordinal_type,
65 class GlobalOrdinal =
typename Export<LocalOrdinal>::global_ordinal_type,
66 class Node =
typename Export<LocalOrdinal, GlobalOrdinal>::node_type>
79 #ifdef HAVE_XPETRA_TPETRA
91 #if (defined(HAVE_XPETRA_EPETRA) && !defined(XPETRA_EPETRA_NO_32BIT_GLOBAL_INDICES))
110 #ifdef HAVE_XPETRA_TPETRA
125 #if (defined(HAVE_XPETRA_EPETRA) && !defined(XPETRA_EPETRA_NO_64BIT_GLOBAL_INDICES))
144 #ifdef HAVE_XPETRA_TPETRA
160 #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.
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)
static RCP< Export< LocalOrdinal, GlobalOrdinal, Node > > Build(const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &source, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &target)
#define XPETRA_FACTORY_END
ExportFactory()
Private constructor. This is a static class.
#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)