16#ifndef dealii_trilinos_tpetra_communication_pattern_h
17#define dealii_trilinos_tpetra_communication_pattern_h
22#if defined(DEAL_II_TRILINOS_WITH_TPETRA) && defined(DEAL_II_WITH_MPI)
26# include <Tpetra_Export.hpp>
27# include <Tpetra_Import.hpp>
35 namespace TpetraWrappers
51 const IndexSet &read_write_vector_index_set,
59 const IndexSet &read_write_vector_index_set,
60 const MPI_Comm &communicator)
override;
71 const Tpetra::Import<int, types::global_dof_index> &
77 const Tpetra::Export<int, types::global_dof_index> &
84 std::shared_ptr<const MPI_Comm>
comm;
89 std::unique_ptr<Tpetra::Import<int, types::global_dof_index>>
95 std::unique_ptr<Tpetra::Export<int, types::global_dof_index>>
const Tpetra::Export< int, types::global_dof_index > & get_tpetra_export() const
std::unique_ptr< Tpetra::Export< int, types::global_dof_index > > tpetra_export
std::unique_ptr< Tpetra::Import< int, types::global_dof_index > > tpetra_import
virtual void reinit(const IndexSet &vector_space_vector_index_set, const IndexSet &read_write_vector_index_set, const MPI_Comm &communicator) override
std::shared_ptr< const MPI_Comm > comm
const Tpetra::Import< int, types::global_dof_index > & get_tpetra_import() const
CommunicationPattern(const IndexSet &vector_space_vector_index_set, const IndexSet &read_write_vector_index_set, const MPI_Comm &communicator)
virtual const MPI_Comm & get_mpi_communicator() const override
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE