Reference documentation for deal.II version 9.0.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) | |
void | reinit (const IndexSet &vector_space_vector_index_set, const IndexSet &read_write_vector_index_set, const MPI_Comm &communicator) |
const MPI_Comm & | get_mpi_communicator () const |
const Epetra_Import & | get_epetra_import () const |
Public Member Functions inherited from LinearAlgebra::CommunicationPatternBase | |
virtual | ~CommunicationPatternBase ()=default |
Private Attributes | |
std::shared_ptr< const MPI_Comm > | comm |
std::unique_ptr< Epetra_Import > | import |
This class implements a wrapper to Trilinos Import.
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 | ||
) |
Reinitialize 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 35 of file trilinos_epetra_communication_pattern.cc.
|
virtual |
Reinitialize the object.
Implements LinearAlgebra::CommunicationPatternBase.
Definition at line 47 of file trilinos_epetra_communication_pattern.cc.
|
virtual |
Return the underlying MPI communicator.
Implements LinearAlgebra::CommunicationPatternBase.
Definition at line 66 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 73 of file trilinos_epetra_communication_pattern.cc.
|
private |
Shared pointer to the MPI communicator used.
Definition at line 76 of file trilinos_epetra_communication_pattern.h.
|
private |
Shared pointer to the Epetra_Import object used.
Definition at line 81 of file trilinos_epetra_communication_pattern.h.