def METHOD_NAME(self):
    """Clears the cache, retaining E_g and phi_g."""
    E_g, phi_g = self._cache["E_g"], self._cache["phi_g"]
    self._cache.METHOD_NAME()
    self._cache["E_g"], self._cache["phi_g"] = E_g, phi_g