我要评分
获取效率
正确性
完整性
易理解

KesVectorSetComm

Interface Definition

KesReturnCode KesVectorSetComm(KesVector X, KesCommDirection direction, MPI_Comm comm);

Interface Description

Sets the vector communicator.

Parameters

Parameter

Type

Description

Input/Output

X

KesVector

Handle to the vector. It cannot be a null pointer.

Input/Output

direction

KesCommDirection

Communicator type, which can be row-split or column-split.

Input

comm

MPI_Comm

MPI communicator.

Input

KesCommDirection

Description

KES_ROW

Row-split communicator.

KES_COL

Column-split communicator. Currently, only MPI_COMM_SELF is supported.