Split the current communicator, and give each group a complete copy of this
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(Matrix_ps), | intent(inout) | :: | this | The matrix to split. |
||
type(Matrix_ps), | intent(inout) | :: | split_mat | A copy of the matrix hosted on a small process grid. |
||
integer, | intent(out) | :: | my_color | Distinguishes between the two groups. |
||
logical, | intent(out) | :: | split_slice | If we split along the slice direction, this is True |