def print_norm(self, driver_string, iteration, res, res0, msg=None, solver='LN'):
        """ Prints out the norm of the residual in a neat readable format.
        """

        if msg is not None:
            form = self.indent + '[%s]    %s: %s   %d | %s'
            print form % (self.drv_name, solver, self.ln_string, iteration, msg)
            return

        form = self.indent + '[%s]    %s: %s   %d | %.9g %.9g'
        print form % (self.drv_name, solver, self.ln_string, iteration, res, res/res0)
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/linearsolver.py/LinearSolver.print_norm/original