openmdao/jacobians/assembled_jacobian.py
def _update(self, system):
        """
        Read the user's sub-Jacobians and set into the global matrix.

        Parameters
        ----------
        system : System
            System that is updating this jacobian.
        """
        int_mtx = self._int_mtx
        ext_mtx = self._ext_mtx[system.pathname]
        subjacs = system._subjacs_info

        iters, iters_in_ext = self._get_subjac_iters(system)

        int_mtx._pre_update()
        if ext_mtx is not None:
            ext_mtx._pre_update()

        if self._randomize:
            for key in iters:
                int_mtx._update_submat(key, self._randomize_subjac(subjacs[key]['value']))

            for key in iters_in_ext:
                ext_mtx._update_submat(key, self._randomize_subjac(subjacs[key]['value']))
        else:
            for key in iters:
                int_mtx._update_submat(key, subjacs[key]['value'])

            for key in iters_in_ext:
                ext_mtx._update_submat(key, subjacs[key]['value'])

        int_mtx._post_update()
        if ext_mtx is not None:
            ext_mtx._post_update()

        Read the user's sub-Jacobians and set into the global matrix.

        Parameters
        ----------
        system : System
            System that is updating this jacobian.
        
Read the user's sub-Jacobians and set into the global matrix.
Parameters

system : System
System that is updating this jacobian.
Read the user ' s sub - Jacobians and set into the global matrix . Parameters system : System System that is updating this jacobian .
def _update(self, system):
        int_mtx = self._int_mtx
        ext_mtx = self._ext_mtx[system.pathname]
        subjacs = system._subjacs_info
        iters, iters_in_ext = self._get_subjac_iters(system)
        int_mtx._pre_update()
        if ext_mtx is not None:
            ext_mtx._pre_update()
        if self._randomize:
            for key in iters:
                int_mtx._update_submat(key, self._randomize_subjac(subjacs[key]['value']))
            for key in iters_in_ext:
                ext_mtx._update_submat(key, self._randomize_subjac(subjacs[key]['value']))
        else:
            for key in iters:
                int_mtx._update_submat(key, subjacs[key]['value'])
            for key in iters_in_ext:
                ext_mtx._update_submat(key, subjacs[key]['value'])
        int_mtx._post_update()
        if ext_mtx is not None:
            ext_mtx._post_update()
def _update ( self , system ) : int_mtx = self . _int_mtx ext_mtx = self . _ext_mtx [ system . pathname ] subjacs = system . _subjacs_info iters , iters_in_ext = self . _get_subjac_iters ( system ) int_mtx . _pre_update ( ) if ext_mtx is not None : ext_mtx . _pre_update ( ) if self . _randomize : for key in iters : int_mtx . _update_submat ( key , self . _randomize_subjac ( subjacs [ key ] [ 'value' ] ) ) for key in iters_in_ext : ext_mtx . _update_submat ( key , self . _randomize_subjac ( subjacs [ key ] [ 'value' ] ) ) else : for key in iters : int_mtx . _update_submat ( key , subjacs [ key ] [ 'value' ] ) for key in iters_in_ext : ext_mtx . _update_submat ( key , subjacs [ key ] [ 'value' ] ) int_mtx . _post_update ( ) if ext_mtx is not None : ext_mtx . _post_update ( )
Read the user's sub-Jacobians and set into the global matrix.
Read the user ' s sub - Jacobians and set into the global matrix .
"""
        Read the user's sub-Jacobians and set into the global matrix.

        Parameters
        ----------
        system : System
            System that is updating this jacobian.
        """
self
system