def METHOD_NAME(self, locs):
    """Compute gravitational acceleration at locations.
    """
    (npts, dim) = locs.shape
    gravacc = numpy.zeros((1, npts, self.SPACE_DIM), dtype=numpy.float64)
    gravacc[0,:, 2] = -METHOD_NAME
    return gravacc