10 #ifndef XPETRA_IMPORTFACTORY_HPP
11 #define XPETRA_IMPORTFACTORY_HPP
17 #ifdef HAVE_XPETRA_TPETRA
18 #include "Xpetra_TpetraImport.hpp"
20 #ifdef HAVE_XPETRA_EPETRA
28 template <
class LocalOrdinal,
30 class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
40 const Teuchos::RCP<Teuchos::ParameterList> &plist = Teuchos::null) {
45 #ifdef HAVE_XPETRA_TPETRA
56 #if (defined(HAVE_XPETRA_EPETRA) && !defined(XPETRA_EPETRA_NO_32BIT_GLOBAL_INDICES))
74 const Teuchos::RCP<Teuchos::ParameterList> &plist = Teuchos::null) {
78 #ifdef HAVE_XPETRA_TPETRA
92 #if (defined(HAVE_XPETRA_EPETRA) && !defined(XPETRA_EPETRA_NO_64BIT_GLOBAL_INDICES))
106 const Teuchos::RCP<Teuchos::ParameterList> &plist = Teuchos::null) {
110 #ifdef HAVE_XPETRA_TPETRA
124 #define XPETRA_IMPORTFACTORY_SHORT
Exception throws to report errors in the internal logical of the program.
#define XPETRA_FACTORY_ERROR_IF_EPETRA(lib)
#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, const Teuchos::RCP< Teuchos::ParameterList > &plist=Teuchos::null)
static RCP< Import< LocalOrdinal, GlobalOrdinal, Node > > Build(const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &source, const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > &target, const Teuchos::RCP< Teuchos::ParameterList > &plist=Teuchos::null)
Tpetra::KokkosCompat::KokkosSerialWrapperNode EpetraNode
#define XPETRA_MONITOR(funcName)
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, const Teuchos::RCP< Teuchos::ParameterList > &plist=Teuchos::null)
Constructor specifying the number of non-zeros for all rows.