16 #include <deal.II/lac/trilinos_epetra_communication_pattern.h> 18 #ifdef DEAL_II_WITH_TRILINOS 20 #ifdef DEAL_II_WITH_MPI 22 #include <deal.II/base/index_set.h> 23 #include <deal.II/base/std_cxx11/shared_ptr.h> 24 #include "Epetra_Map.h" 26 DEAL_II_NAMESPACE_OPEN
30 namespace EpetraWrappers
33 const IndexSet &read_write_vector_index_set,
34 const MPI_Comm &communicator)
36 reinit(vector_space_vector_index_set, read_write_vector_index_set, communicator);
42 const IndexSet &read_write_vector_index_set,
43 const MPI_Comm &communicator)
45 comm = std_cxx11::make_shared<const MPI_Comm>(communicator);
55 import.reset(
new Epetra_Import(read_write_vector_map, vector_space_vector_map));
74 DEAL_II_NAMESPACE_CLOSE
std_cxx11::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)