Renamed localCellIndex to gridLocalCellIndex