示例#1
0
    def restore(self, file='soln.xml', id='solution'):
        """Set the solution vector to a previously-saved solution.

        file -- solution file
        id  -- solution name within the file

        >>> s.restore(file = 'save.xml', id = 'energy_off')
        """
        return _cantera.sim1D_restore(self._hndl, file, id)
示例#2
0
    def restore(self, file = 'soln.xml', id = 'solution'):
        """Set the solution vector to a previously-saved solution.

        file -- solution file
        id  -- solution name within the file

        >>> s.restore(file = 'save.xml', id = 'energy_off')
        """
        return _cantera.sim1D_restore(self._hndl, file, id)
示例#3
0
    def restore(self, file='soln.xml', id='solution'):
        """Set the solution vector to a previously-saved solution.

        :param file:
            solution file
        :param id:
            solution name within the file

        >>> s.restore(file = 'save.xml', id = 'energy_off')
        """
        self._initialized = True
        return _cantera.sim1D_restore(self._hndl, file, id)
示例#4
0
    def restore(self, file = 'soln.xml', id = 'solution'):
        """Set the solution vector to a previously-saved solution.

        :param file:
            solution file
        :param id:
            solution name within the file

        >>> s.restore(file = 'save.xml', id = 'energy_off')
        """
        self._initialized = True
        return _cantera.sim1D_restore(self._hndl, file, id)