예제 #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
파일: onedim.py 프로젝트: anujg1991/cantera
    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)