cell.centers takes a rectangular grid and returns coordinates of the cell centers as a field

cell.centers(xgrid, ygrid = NULL)

Arguments

xgrid

Interfaces in x-direction

ygrid

Interfaces in y-direction (if 2D)