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,
77 const Teuchos::RCP<Teuchos::ParameterList>& plist = Teuchos::null) {
82 #ifdef HAVE_XPETRA_TPETRA
94 #if (defined(HAVE_XPETRA_EPETRA) && !defined(XPETRA_EPETRA_NO_32BIT_GLOBAL_INDICES))
113 const Teuchos::RCP<Teuchos::ParameterList>& plist = Teuchos::null) {
117 #ifdef HAVE_XPETRA_TPETRA
132 #if (defined(HAVE_XPETRA_EPETRA) && !defined(XPETRA_EPETRA_NO_64BIT_GLOBAL_INDICES))
148 const Teuchos::RCP<Teuchos::ParameterList>& plist = Teuchos::null) {
152 #ifdef HAVE_XPETRA_TPETRA
167 #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)
#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.