16 #include <deal.II/base/std_cxx14/memory.h> 17 #include <deal.II/lac/trilinos_epetra_communication_pattern.h> 19 #ifdef DEAL_II_WITH_TRILINOS 21 #ifdef DEAL_II_WITH_MPI 23 #include <deal.II/base/index_set.h> 25 # include <Epetra_Map.h> 29 DEAL_II_NAMESPACE_OPEN
33 namespace EpetraWrappers
36 const IndexSet &read_write_vector_index_set,
37 const MPI_Comm &communicator)
48 const IndexSet &read_write_vector_index_set,
49 const MPI_Comm &communicator)
51 comm = std::make_shared<const MPI_Comm>(communicator);
61 import = std_cxx14::make_unique<Epetra_Import>(read_write_vector_map, vector_space_vector_map);
80 DEAL_II_NAMESPACE_CLOSE
std::shared_ptr< const MPI_Comm > comm
void reinit(const IndexSet &vector_space_vector_index_set, const IndexSet &read_write_vector_index_set, const MPI_Comm &communicator)
Epetra_Map make_trilinos_map(const MPI_Comm &communicator=MPI_COMM_WORLD, const bool overlapping=false) const
const MPI_Comm & get_mpi_communicator() const
const Epetra_Import & get_epetra_import() const
CommunicationPattern(const IndexSet &vector_space_vector_index_set, const IndexSet &read_write_vector_index_set, const MPI_Comm &communicator)