Creates a new 1D communicator based on the fixed dimensions of the current pencil
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | lbounds(:) |
Local starts of the current pencil |
||
integer(kind=int32), | intent(in) | :: | all_lbounds(:,:) |
Local starts of all processes |
||
integer(kind=int32), | intent(in) | :: | fixed_dims(:) |
Indices of fixed coordinates |
||
type(MPI_Comm), | intent(in) | :: | comm |
Original MPI communicator |
||
type(MPI_Comm), | intent(out) | :: | new_comm |
New 1D MPI communicator |