to particle position. Choose x, y or z component depending on which direction we are interpolating
xd = (x-x0)/(x1-x0) = (x-x0)/dx