示例#1
0
    def setFlatProfile(self, dom, comp, v):
        """Set a flat profile for one component in one domain.
        dom -- domain object
        comp -- component name
        v -- value

        >>> s.setFlatProfile(d, 'u', -3.0)

        """
        idom = dom.index()
        icomp = dom.componentIndex(comp)
        _cantera.sim1D_setFlatProfile(self._hndl, idom, icomp, v)
示例#2
0
    def setFlatProfile(self, dom, comp, v):
        """Set a flat profile for one component in one domain.
        dom -- domain object
        comp -- component name
        v -- value

        >>> s.setFlatProfile(d, 'u', -3.0)

        """
        idom = dom.index()
        icomp = dom.componentIndex(comp)        
        _cantera.sim1D_setFlatProfile(self._hndl, idom, icomp, v)
示例#3
0
    def setFlatProfile(self, dom, comp, v):
        """Set a flat profile for one component in one domain.

        :param dom:
            domain object
        :param comp:
            component name
        :param v:
            value

        >>> s.setFlatProfile(d, 'u', -3.0)
        """
        idom = dom.index()
        icomp = dom.componentIndex(comp)
        _cantera.sim1D_setFlatProfile(self._hndl, idom, icomp, v)
示例#4
0
    def setFlatProfile(self, dom, comp, v):
        """Set a flat profile for one component in one domain.

        :param dom:
            domain object
        :param comp:
            component name
        :param v:
            value

        >>> s.setFlatProfile(d, 'u', -3.0)
        """
        idom = dom.index()
        icomp = dom.componentIndex(comp)
        _cantera.sim1D_setFlatProfile(self._hndl, idom, icomp, v)