Beispiel #1
0
    def bounds(self, component):
        """Return the (lower, upper) bounds for a solution component.
        >>> d.bounds('T')
        (200.0, 5000.0)
        """

        ic = self.componentIndex(component)
        lower = _cantera.domain_lowerBound(self._hndl, ic)
        upper = _cantera.domain_upperBound(self._hndl, ic)
        return (lower, upper)
Beispiel #2
0
 def bounds(self, component):
     """Return the (lower, upper) bounds for a solution component.
     >>> d.bounds('T')
     (200.0, 5000.0)
     """
     
     ic = self.componentIndex(component)
     lower = _cantera.domain_lowerBound(self._hndl, ic)
     upper = _cantera.domain_upperBound(self._hndl, ic)
     return (lower, upper)