openmdao/core/group.py
def _check_reconf_update(self, subsys=None):
        """
        Check if any subsystem has reconfigured and if so, perform the necessary update setup.

        Parameters
        ----------
        subsys : System or None
            If not None, check only if the given subsystem has reconfigured.
        """
        if subsys is None:
            # See if any local subsystem has reconfigured
            for subsys in self._subgroups_myproc:
                if subsys._reconfigured:
                    reconf = 1
                    break
            else:
                reconf = 0
        else:
            reconf = int(subsys._reconfigured) if subsys.name in self._loc_subsys_map else 0

        # See if any subsystem on this or any other processor has configured
        if self.comm.size > 1:
            reconf = self.comm.allreduce(reconf) > 0

        if reconf:
            # Perform an update setup
            with self._unscaled_context_all():
                self.resetup('update')

            # Reset the _reconfigured attribute to False
            for subsys in self._subsystems_myproc:
                subsys._reconfigured = False

            self._reconfigured = True

        Check if any subsystem has reconfigured and if so, perform the necessary update setup.

        Parameters
        ----------
        subsys : System or None
            If not None, check only if the given subsystem has reconfigured.
        
Check if any subsystem has reconfigured and if so, perform the necessary update setup.
Parameters

subsys : System or None
If not None, check only if the given subsystem has reconfigured.
Check if any subsystem has reconfigured and if so perform the necessary update setup . Parameters subsys : System or None If not None check only if the given subsystem has reconfigured .
def _check_reconf_update(self, subsys=None):
        if subsys is None:
            for subsys in self._subgroups_myproc:
                if subsys._reconfigured:
                    reconf = 1
                    break
            else:
                reconf = 0
        else:
            reconf = int(subsys._reconfigured) if subsys.name in self._loc_subsys_map else 0
        if self.comm.size > 1:
            reconf = self.comm.allreduce(reconf) > 0
        if reconf:
            with self._unscaled_context_all():
                self.resetup('update')
            for subsys in self._subsystems_myproc:
                subsys._reconfigured = False
            self._reconfigured = True
def _check_reconf_update ( self , subsys = None ) : if subsys is None : for subsys in self . _subgroups_myproc : if subsys . _reconfigured : reconf = 1 break else : reconf = 0 else : reconf = int ( subsys . _reconfigured ) if subsys . name in self . _loc_subsys_map else 0 if self . comm . size > 1 : reconf = self . comm . allreduce ( reconf ) > 0 if reconf : with self . _unscaled_context_all ( ) : self . resetup ( 'update' ) for subsys in self . _subsystems_myproc : subsys . _reconfigured = False self . _reconfigured = True
Check if any subsystem has reconfigured and if so, perform the necessary update setup.
Check if any subsystem has reconfigured and if so perform the necessary update setup .
"""
        Check if any subsystem has reconfigured and if so, perform the necessary update setup.

        Parameters
        ----------
        subsys : System or None
            If not None, check only if the given subsystem has reconfigured.
        """ # See if any local subsystem has reconfigured # See if any subsystem on this or any other processor has configured # Perform an update setup # Reset the _reconfigured attribute to False
self
subsys