46 #ifndef XPETRA_IMPORTFACTORY_HPP
47 #define XPETRA_IMPORTFACTORY_HPP
53 #ifdef HAVE_XPETRA_TPETRA
54 #include "Xpetra_TpetraImport.hpp"
56 #ifdef HAVE_XPETRA_EPETRA
64 template <
class LocalOrdinal,
66 class Node = Tpetra::KokkosClassic::DefaultNode::DefaultNodeType>
76 const Teuchos::RCP<Teuchos::ParameterList> &plist = Teuchos::null) {
81 #ifdef HAVE_XPETRA_TPETRA
92 #if (defined(HAVE_XPETRA_EPETRA) && !defined(XPETRA_EPETRA_NO_32BIT_GLOBAL_INDICES))
110 const Teuchos::RCP<Teuchos::ParameterList> &plist = Teuchos::null) {
114 #ifdef HAVE_XPETRA_TPETRA
128 #if (defined(HAVE_XPETRA_EPETRA) && !defined(XPETRA_EPETRA_NO_64BIT_GLOBAL_INDICES))
142 const Teuchos::RCP<Teuchos::ParameterList> &plist = Teuchos::null) {
146 #ifdef HAVE_XPETRA_TPETRA
160 #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.