20 #ifdef DEAL_II_TRILINOS_WITH_TPETRA
22 # ifdef DEAL_II_WITH_MPI
26 # include <Tpetra_Map.hpp>
34 namespace TpetraWrappers
37 const IndexSet &vector_space_vector_index_set,
38 const IndexSet &read_write_vector_index_set,
45 read_write_vector_index_set,
53 const IndexSet &read_write_vector_index_set,
56 comm = std::make_shared<const MPI_Comm>(communicator);
58 auto vector_space_vector_map =
59 Teuchos::rcp(
new Tpetra::Map<int, types::global_dof_index>(
61 auto read_write_vector_map =
62 Teuchos::rcp(
new Tpetra::Map<int, types::global_dof_index>(
69 std_cxx14::make_unique<Tpetra::Import<int, types::global_dof_index>>(
70 read_write_vector_map, vector_space_vector_map);
72 std_cxx14::make_unique<Tpetra::Export<int, types::global_dof_index>>(
73 read_write_vector_map, vector_space_vector_map);
86 const Tpetra::Import<int, types::global_dof_index> &
94 const Tpetra::Export<int, types::global_dof_index> &