Esempio n. 1
0
    def setValue(self, dom, comp, localPoint, value):
        """Set the value of one component in one domain at one point
        to 'value'.
        dom -- domain object
        comp -- component number
        localPoint -- grid point number within domain 'dom', starting with
        zero on the left
        value -- numerical value

        >>> s.set(d, 3, 5, 6.7)

        """
        idom = dom.domain_hndl()
        _cantera.sim1D_setValue(self._hndl, idom, comp, localPoint, value)
Esempio n. 2
0
    def setValue(self, dom, comp, localPoint, value):
        """Set the value of one component in one domain at one point
        to 'value'.
        dom -- domain object
        comp -- component number
        localPoint -- grid point number within domain 'dom', starting with
        zero on the left
        value -- numerical value

        >>> s.set(d, 3, 5, 6.7)

        """
        idom = dom.domain_hndl()
        _cantera.sim1D_setValue(self._hndl, idom,
                                comp, localPoint, value)
Esempio n. 3
0
    def setValue(self, dom, comp, localPoint, value):
        """Set the value of one component in one domain at one point
        to 'value'.

        :param dom:
            domain object
        :param comp:
            component number
        :param localPoint:
            grid point number within domain *dom* starting with zero on the left
        :param value:
            numerical value

        >>> s.set(d, 3, 5, 6.7)
        """
        idom = dom.domain_hndl()
        _cantera.sim1D_setValue(self._hndl, idom, comp, localPoint, value)
Esempio n. 4
0
    def setValue(self, dom, comp, localPoint, value):
        """Set the value of one component in one domain at one point
        to 'value'.

        :param dom:
            domain object
        :param comp:
            component number
        :param localPoint:
            grid point number within domain *dom* starting with zero on the left
        :param value:
            numerical value

        >>> s.set(d, 3, 5, 6.7)
        """
        idom = dom.domain_hndl()
        _cantera.sim1D_setValue(self._hndl, idom,
                                comp, localPoint, value)