CommSplitMatrix Interface

public interface CommSplitMatrix

Contents


Module Procedures

private subroutine CommSplitMatrix_ps(this, split_mat, my_color, split_slice)

Split the current communicator, and give each group a complete copy of this

Arguments

Type IntentOptional 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