.. Generated automatically by cpp2rst .. highlight:: c .. role:: red .. role:: green .. role:: param .. _mpi__communicator: mpi::communicator ================= *#include * .. rst-class:: cppsynopsis class :red:`communicator` Member functions ---------------- .. table:: :widths: 40 60 +-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+ | :ref:`(constructor) ` | | +-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+ | :ref:`get ` | | +-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+ | :ref:`rank ` | Get the rank of the calling process in the communicator. | +-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+ | :ref:`size ` | Get the size of the communicator. | +-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+ | :ref:`split ` | Split the communicator into disjoint subgroups. | +-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+ | :ref:`abort ` | If mpi::has_env is true, `MPI_Abort` is called with the given error code, otherwise std::abort is called. | +-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+ | :ref:`barrier ` | Barrier synchronization. | +-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+ .. toctree:: :hidden: communicator/constructor communicator/get communicator/rank communicator/size communicator/split communicator/abort communicator/barrier