18#ifdef DEAL_II_WITH_TRILINOS
22# include <Epetra_Map.h>
30 namespace EpetraWrappers
33 const IndexSet &vector_space_vector_index_set,
34 const IndexSet &read_write_vector_index_set,
41 read_write_vector_index_set,
49 const IndexSet &read_write_vector_index_set,
52 comm = std::make_shared<const MPI_Comm>(communicator);
54 Epetra_Map vector_space_vector_map =
56 Epetra_Map read_write_vector_map =
62 importer = std::make_unique<Epetra_Import>(read_write_vector_map,
63 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 void reinit(const IndexSet &vector_space_vector_index_set, const IndexSet &read_write_vector_index_set, const MPI_Comm communicator) override
CommunicationPattern(const IndexSet &vector_space_vector_index_set, const IndexSet &read_write_vector_index_set, const MPI_Comm communicator)
virtual MPI_Comm get_mpi_communicator() const override
const Epetra_Import & get_epetra_import() const
std::shared_ptr< const MPI_Comm > comm
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE