17#ifdef DEAL_II_WITH_TRILINOS
21# include <Epetra_Map.h>
29 namespace EpetraWrappers
32 const IndexSet &locally_owned_indices,
51 comm = std::make_shared<const MPI_Comm>(communicator);
53 Epetra_Map vector_space_vector_map =
55 Epetra_Map read_write_vector_map =
61 importer = std::make_unique<Epetra_Import>(read_write_vector_map,
62 vector_space_vector_map);
Epetra_Map make_trilinos_map(const MPI_Comm communicator=MPI_COMM_WORLD, const bool overlapping=false) const
std::unique_ptr< Epetra_Import > importer
virtual MPI_Comm get_mpi_communicator() const override
const Epetra_Import & get_epetra_import() const
std::shared_ptr< const MPI_Comm > comm
virtual void reinit(const IndexSet &locally_owned_indices, const IndexSet &ghost_indices, const MPI_Comm communicator) override
CommunicationPattern(const IndexSet &locally_owned_indices, const IndexSet &ghost_indices, const MPI_Comm communicator)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE