14#include "arccore/message_passing_mpi/MessagePassingMpiGlobal.h"
16#include "arccore/message_passing/IMessagePassingMng.h"
17#include "arccore/message_passing/Communicator.h"
31 MPI_Comm mpi_comm = MPI_COMM_NULL;
35 mpi_comm =
static_cast<MPI_Comm
>(comm);
51 *mpi_comm =
static_cast<MPI_Comm
>(comm);
Communicator for message exchange.
bool isValid() const
Indicates if the communicator is valid.
Interface of the message passing manager.
virtual Communicator communicator() const
MPI communicator associated with this instance.
ARCCORE_MESSAGEPASSINGMPI_EXPORT bool fillMpiCommunicatorIfValid(IMessagePassingMng *mpm, MPI_Comm *mpi_comm)
Set mpi_comm with the MPI communicator associated to mpm if it is valid.
ARCCORE_MESSAGEPASSINGMPI_EXPORT MPI_Comm toMpiCommunicator(IMessagePassingMng *mpm)
Return the MPI communicator associated to mpm.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --