loopy/kernel/__init__.py
def all_parents_per_domain(self):
        """Return a list corresponding to self.domains (by index)
        containing domain indices which are nested around this
        domain.

        Each domains nest list walks from the leaves of the nesting
        tree to the root.
        """
        result = []

        ppd = self.parents_per_domain()
        for dom, parent in zip(self.domains, ppd):
            # keep walking up tree to find *all* parents
            dom_result = []
            while parent is not None:
                dom_result.insert(0, parent)
                parent = ppd[parent]

            result.append(dom_result)

        return result
Return a list corresponding to self.domains (by index)
        containing domain indices which are nested around this
        domain.

        Each domains nest list walks from the leaves of the nesting
        tree to the root.
        
Return a list corresponding to self.domains (by index)
containing domain indices which are nested around this
domain.

Each domains nest list walks from the leaves of the nesting
tree to the root.
Return a list corresponding to self . domains ( by index ) containing domain indices which are nested around this domain . Each domains nest list walks from the leaves of the nesting tree to the root .
def all_parents_per_domain(self):
        result = []
        ppd = self.parents_per_domain()
        for dom, parent in zip(self.domains, ppd):
            dom_result = []
            while parent is not None:
                dom_result.insert(0, parent)
                parent = ppd[parent]
            result.append(dom_result)
        return result
def all_parents_per_domain ( self ) : result = [ ] ppd = self . parents_per_domain ( ) for dom , parent in zip ( self . domains , ppd ) : dom_result = [ ] while parent is not None : dom_result . insert ( 0 , parent ) parent = ppd [ parent ] result . append ( dom_result ) return result
Return a list corresponding to self.domains (by index)
containing domain indices which are nested around this
domain.
Return a list corresponding to self . domains ( by index ) containing domain indices which are nested around this domain .
"""Return a list corresponding to self.domains (by index)
        containing domain indices which are nested around this
        domain.

        Each domains nest list walks from the leaves of the nesting
        tree to the root.
        """ # keep walking up tree to find *all* parents
self