openmdao/solvers/solver.py
def _iter_initialize(self):
        """
        Perform any necessary pre-processing operations.

        Returns
        -------
        float
            initial error.
        float
            error at the first iteration.
        """
        if self.options['debug_print']:
            self._err_cache['inputs'] = self._system._inputs._copy_views()
            self._err_cache['outputs'] = self._system._outputs._copy_views()

        if self.options['maxiter'] > 0:
            self._run_apply()
            norm = self._iter_get_norm()
        else:
            norm = 1.0
        norm0 = norm if norm != 0.0 else 1.0
        return norm0, norm

        Perform any necessary pre-processing operations.

        Returns
        -------
        float
            initial error.
        float
            error at the first iteration.
        
Perform any necessary pre-processing operations.
Returns

float
initial error.
float
error at the first iteration.
Perform any necessary pre - processing operations . Returns float initial error . float error at the first iteration .
def _iter_initialize(self):
        if self.options['debug_print']:
            self._err_cache['inputs'] = self._system._inputs._copy_views()
            self._err_cache['outputs'] = self._system._outputs._copy_views()
        if self.options['maxiter'] > 0:
            self._run_apply()
            norm = self._iter_get_norm()
        else:
            norm = 1.0
        norm0 = norm if norm != 0.0 else 1.0
        return norm0, norm
def _iter_initialize ( self ) : if self . options [ 'debug_print' ] : self . _err_cache [ 'inputs' ] = self . _system . _inputs . _copy_views ( ) self . _err_cache [ 'outputs' ] = self . _system . _outputs . _copy_views ( ) if self . options [ 'maxiter' ] > 0 : self . _run_apply ( ) norm = self . _iter_get_norm ( ) else : norm = 1.0 norm0 = norm if norm != 0.0 else 1.0 return norm0 , norm
Perform any necessary pre-processing operations.
Perform any necessary pre - processing operations .
"""
        Perform any necessary pre-processing operations.

        Returns
        -------
        float
            initial error.
        float
            error at the first iteration.
        """
self