def GetAccelParallel(x, tree, G, theta): result = empty(x.shape) for i in prange(x.shape[0]): result[i] = G*ForceWalk(x[i], zeros(3), tree, theta) return result