g2lcoord: g2lcoord

Description Usage Arguments Value

View source: R/coords.r

Description

Global to local coordinates with explicit ownership given.

Usage

1
g2lcoord(dim, bldim, gi, gj, gridinfo)

Arguments

dim

Global dimension.

bldim

Blocking dimension.

gi, gj

Global row and column indices, respectively.

gridinfo

The return of base.blacs(ICTXT(x)). See the Details section for more information.

Value

For the process that owns the desired local data at global indices (gi, gj), the return is the local index. Otherwise, NA is returned.


RBigData/pbdBASE documentation built on Oct. 29, 2021, 6:19 p.m.