18#ifdef DEAL_II_WITH_TRILINOS
20# ifdef DEAL_II_WITH_MPI
24# include <Epetra_Map.h>
32 namespace EpetraWrappers
35 const IndexSet &vector_space_vector_index_set,
36 const IndexSet &read_write_vector_index_set,
43 read_write_vector_index_set,
51 const IndexSet &read_write_vector_index_set,
54 comm = std::make_shared<const MPI_Comm>(communicator);
56 Epetra_Map vector_space_vector_map =
58 Epetra_Map read_write_vector_map =
64 importer = std::make_unique<Epetra_Import>(read_write_vector_map,
65 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 const MPI_Comm & get_mpi_communicator() const override
CommunicationPattern(const IndexSet &vector_space_vector_index_set, const IndexSet &read_write_vector_index_set, const MPI_Comm &communicator)
const Epetra_Import & get_epetra_import() const
virtual void reinit(const IndexSet &vector_space_vector_index_set, const IndexSet &read_write_vector_index_set, const MPI_Comm &communicator) override
std::shared_ptr< const MPI_Comm > comm
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE