17#ifdef DEAL_II_TRILINOS_WITH_TPETRA
21# include <Tpetra_Map.hpp>
29 namespace TpetraWrappers
32 const IndexSet &locally_owned_indices,
51 comm = Teuchos::rcpFromUndefRef(communicator);
53 auto vector_space_vector_map =
55 auto read_write_vector_map =
62 Teuchos::rcp(
new Tpetra::Import<int, types::signed_global_dof_index>(
63 read_write_vector_map, vector_space_vector_map));
65 Teuchos::rcp(
new Tpetra::Export<int, types::signed_global_dof_index>(
66 read_write_vector_map, vector_space_vector_map));
79 const Tpetra::Import<int, types::signed_global_dof_index> &
87 Teuchos::RCP<const Tpetra::Import<int, types::signed_global_dof_index>>
95 const Tpetra::Export<int, types::signed_global_dof_index> &
103 Teuchos::RCP<const Tpetra::Export<int, types::signed_global_dof_index>>
Teuchos::RCP< Tpetra::Map< int, types::signed_global_dof_index > > make_tpetra_map_rcp(const MPI_Comm communicator=MPI_COMM_WORLD, const bool overlapping=false) const
Teuchos::RCP< const Tpetra::Import< int, types::signed_global_dof_index > > get_tpetra_import_rcp() const
virtual void reinit(const IndexSet &locally_owned_indices, const IndexSet &ghost_indices, const MPI_Comm communicator) override
const Tpetra::Export< int, types::signed_global_dof_index > & get_tpetra_export() const
Teuchos::RCP< Tpetra::Import< int, types::signed_global_dof_index > > tpetra_import
Teuchos::RCP< const MPI_Comm > comm
Teuchos::RCP< const Tpetra::Export< int, types::signed_global_dof_index > > get_tpetra_export_rcp() const
virtual MPI_Comm get_mpi_communicator() const override
Teuchos::RCP< Tpetra::Export< int, types::signed_global_dof_index > > tpetra_export
const Tpetra::Import< int, types::signed_global_dof_index > & get_tpetra_import() const
CommunicationPattern(const IndexSet &locally_owned_indices, const IndexSet &ghost_indices, const MPI_Comm communicator)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE