Reference documentation for deal.II version 9.5.0
|
#include <deal.II/lac/trilinos_epetra_communication_pattern.h>
Public Member Functions | |
CommunicationPattern (const IndexSet &vector_space_vector_index_set, const IndexSet &read_write_vector_index_set, const MPI_Comm communicator) | |
virtual void | reinit (const IndexSet &vector_space_vector_index_set, const IndexSet &read_write_vector_index_set, const MPI_Comm communicator) override |
virtual MPI_Comm | get_mpi_communicator () const override |
const Epetra_Import & | get_epetra_import () const |
Private Attributes | |
std::shared_ptr< const MPI_Comm > | comm |
std::unique_ptr< Epetra_Import > | importer |
This class implements a wrapper to a Trilinos Epetra_Import object, for use in places where a Utilities::MPI::CommunicationPatternBase object is required.
Definition at line 41 of file trilinos_epetra_communication_pattern.h.
LinearAlgebra::EpetraWrappers::CommunicationPattern::CommunicationPattern | ( | const IndexSet & | vector_space_vector_index_set, |
const IndexSet & | read_write_vector_index_set, | ||
const MPI_Comm | communicator | ||
) |
Initialize the communication pattern. The first argument vector_space_vector_index_set
is the index set associated to a VectorSpaceVector object. The second argument read_write_vector_index_set
is the index set associated to a ReadWriteVector object.
Definition at line 32 of file trilinos_epetra_communication_pattern.cc.
|
overridevirtual |
Reinitialize the object.
Implements Utilities::MPI::CommunicationPatternBase.
Definition at line 48 of file trilinos_epetra_communication_pattern.cc.
|
overridevirtual |
Return the underlying MPI communicator.
Implements Utilities::MPI::CommunicationPatternBase.
Definition at line 69 of file trilinos_epetra_communication_pattern.cc.
const Epetra_Import & LinearAlgebra::EpetraWrappers::CommunicationPattern::get_epetra_import | ( | ) | const |
Return the underlying Epetra_Import object.
Definition at line 77 of file trilinos_epetra_communication_pattern.cc.
|
private |
Shared pointer to the MPI communicator used.
Definition at line 79 of file trilinos_epetra_communication_pattern.h.
|
private |
Shared pointer to the Epetra_Import object used.
Definition at line 84 of file trilinos_epetra_communication_pattern.h.