def showSolution(self, fname='-'): """Show the current solution. If called with no argument, the solution is printed to the screen. If a filename is supplied, it is written to the file. >>> s.showSolution() >>> s.showSolution('soln.txt') """ _cantera.sim1D_showSolution(self._hndl, fname)