Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::IVariableSynchronizerMpiCommunicator Class Referenceabstract

Interface of a specific MPI communicator for synchronizations. More...

#include <arcane/parallel/mpi/IVariableSynchronizerMpiCommunicator.h>

Inheritance diagram for Arcane::IVariableSynchronizerMpiCommunicator:
Collaboration diagram for Arcane::IVariableSynchronizerMpiCommunicator:

Public Member Functions

virtual void compute (VariableSynchronizer *var_syncer)=0
 Calculates the specific communicator.
virtual MPI_Comm communicator () const =0
 Retrieves the specific communicator from the topology.

Detailed Description

Interface of a specific MPI communicator for synchronizations.

This communicator allows the use of MPI 3.1 methods such as MPI_Neighbor_alltoallv() for synchronizations.

compute() must be called before this communicator can be used specifically.

Definition at line 37 of file IVariableSynchronizerMpiCommunicator.h.

Member Function Documentation

◆ communicator()

virtual MPI_Comm Arcane::IVariableSynchronizerMpiCommunicator::communicator ( ) const
pure virtual

Retrieves the specific communicator from the topology.

This communicator should not be retained because it may be invalidated between two calls to compute().

Implemented in Arcane::VariableSynchronizerMpiCommunicator.

◆ compute()

virtual void Arcane::IVariableSynchronizerMpiCommunicator::compute ( VariableSynchronizer * var_syncer)
pure virtual

Calculates the specific communicator.

Implemented in Arcane::VariableSynchronizerMpiCommunicator.


The documentation for this class was generated from the following file: