Note: this is documentation for an old release. View the latest documentation at docs.fenicsproject.org/dolfinx/v0.9.0/cpp/doxygen/dd/d1d/classdolfinx_1_1MPI_1_1Comm.html
DOLFINx  0.5.1
DOLFINx C++ interface
Public Member Functions | List of all members
Comm Class Reference

A duplicate MPI communicator and manage lifetime of the communicator. More...

#include <MPI.h>

Public Member Functions

 Comm (MPI_Comm comm, bool duplicate=true)
 Duplicate communicator and wrap duplicate.
 
 Comm (const Comm &comm) noexcept
 Copy constructor.
 
 Comm (Comm &&comm) noexcept
 Move constructor.
 
Commoperator= (const Comm &comm)=delete
 
Commoperator= (Comm &&comm) noexcept
 Move assignment operator.
 
 ~Comm ()
 Destructor (frees wrapped communicator)
 
MPI_Comm comm () const noexcept
 Return the underlying MPI_Comm object.
 

Detailed Description

A duplicate MPI communicator and manage lifetime of the communicator.


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