def METHOD_NAME(self, mesh):
    """Set mesh."""
    rec_lat = np.linalg.inv(self._primitive.get_cell())
    self._qpoints, self._weights = get_qpoints(
        mesh, rec_lat, is_gamma_center=True, rotations=self._point_group_opts
    )