const int atomStart,
const int atomEnd,
real atomDensity,
- const int *atinfo,
+ gmx::ArrayRef<const int> atomInfo,
gmx::ArrayRef<const gmx::RVec> x,
const int numAtomsMoved,
const int *move,
/* Copy the already computed cell indices to the grid and sort, when needed */
grid.setCellIndices(ddZone, cellOffset, &gridSetData, gridWork_,
- atomStart, atomEnd, atinfo, x, numAtomsMoved, nbat);
+ atomStart, atomEnd, atomInfo.data(), x, numAtomsMoved, nbat);
if (ddZone == 0)
{