def tolerances(self, component): """Return the (relative, absolute) error tolerances for a solution component. >>> (r, a) = d.tolerances('u') """ ic = self.componentIndex(component) r = _cantera.domain_rtol(self._hndl, ic) a = _cantera.domain_atol(self._hndl, ic) return (r, a)