openmdao/core/total_jac.py
def _save_linear_solution(self, vec_names, key, mode):
        """
        Save the current linear solution.

        Parameters
        ----------
        vec_names : list of str
            Names of output vectors to restore.
        key : hashable object
            Key to lookup linear solution.
        mode : str
            Direction of derivative solution.
        """
        lin_sol = self.lin_sol_cache[key]
        for i, vec_name in enumerate(vec_names):
            save_vec = lin_sol[i]
            doutputs = self.output_vec[mode][vec_name]
            save_vec[:] = doutputs._data

        Save the current linear solution.

        Parameters
        ----------
        vec_names : list of str
            Names of output vectors to restore.
        key : hashable object
            Key to lookup linear solution.
        mode : str
            Direction of derivative solution.
        
Save the current linear solution.
Parameters

vec_names : list of str
Names of output vectors to restore.
key : hashable object
Key to lookup linear solution.
mode : str
Direction of derivative solution.
Save the current linear solution . Parameters vec_names : list of str Names of output vectors to restore . key : hashable object Key to lookup linear solution . mode : str Direction of derivative solution .
def _save_linear_solution(self, vec_names, key, mode):
        lin_sol = self.lin_sol_cache[key]
        for i, vec_name in enumerate(vec_names):
            save_vec = lin_sol[i]
            doutputs = self.output_vec[mode][vec_name]
            save_vec[:] = doutputs._data
def _save_linear_solution ( self , vec_names , key , mode ) : lin_sol = self . lin_sol_cache [ key ] for i , vec_name in enumerate ( vec_names ) : save_vec = lin_sol [ i ] doutputs = self . output_vec [ mode ] [ vec_name ] save_vec [ : ] = doutputs . _data
Save the current linear solution.
Save the current linear solution .
"""
        Save the current linear solution.

        Parameters
        ----------
        vec_names : list of str
            Names of output vectors to restore.
        key : hashable object
            Key to lookup linear solution.
        mode : str
            Direction of derivative solution.
        """
self
vec_names
key
mode