openmdao/core/group.py
def _list_states_allprocs(self):
        """
        Return list of all states at and below this system across all procs.

        Returns
        -------
        list
            List of all states.
        """
        if MPI:
            all_states = set()
            byproc = self.comm.allgather(self._list_states())
            for proc_states in byproc:
                all_states.update(proc_states)
        else:
            all_states = self._list_states()

        return sorted(all_states)

        Return list of all states at and below this system across all procs.

        Returns
        -------
        list
            List of all states.
        
Return list of all states at and below this system across all procs.
Returns

list
List of all states.
Return list of all states at and below this system across all procs . Returns list List of all states .
def _list_states_allprocs(self):
        if MPI:
            all_states = set()
            byproc = self.comm.allgather(self._list_states())
            for proc_states in byproc:
                all_states.update(proc_states)
        else:
            all_states = self._list_states()
        return sorted(all_states)
def _list_states_allprocs ( self ) : if MPI : all_states = set ( ) byproc = self . comm . allgather ( self . _list_states ( ) ) for proc_states in byproc : all_states . update ( proc_states ) else : all_states = self . _list_states ( ) return sorted ( all_states )
Return list of all states at and below this system across all procs.
Return list of all states at and below this system across all procs .
"""
        Return list of all states at and below this system across all procs.

        Returns
        -------
        list
            List of all states.
        """
self