DistDir
Functions
Group

Functions

void new_group (MPI_Comm *new_comm, MPI_Comm work_comm, int id)
 Create new group of processes with the same provided id. More...
 

Detailed Description

User interface to split the MPI Communicator in case of multiblock grids

Function Documentation

◆ new_group()

void new_group ( MPI_Comm *  new_comm,
MPI_Comm  work_comm,
int  id 
)

Create new group of processes with the same provided id.

Create new communicator grouping processes involved in the exchange

Parameters
[in]new_commnew communicator containing the processes in the new group
[in]work_commcommunicator containing all the processes calling the function
[in]idid defining the new group