gather# caput.mpiarray.MPIArray.gather(rank: int = 0) → numpy.ndarray | None[source]# Gather a full copy onto a specific rank. Parameters: rankintRank to gather onto. Default is 0. Returns: gathered_arrayndarray | NoneThe full global array on the specified rank. Returns None on all other ranks.