kerncraft/kernel.py
def compile_sympy_accesses(self, sources=True, destinations=True):
        """
        Return a dictionary of lists of sympy accesses, for each variable.

        Use *source* and *destination* to filter output
        """
        sympy_accesses = defaultdict(list)
        # Compile sympy accesses
        for var_name in self.variables:
            if sources:
                for r in self.sources.get(var_name, []):
                    if r is None:
                        continue
                    sympy_accesses[var_name].append(self.access_to_sympy(var_name, r))
            if destinations:
                for w in self.destinations.get(var_name, []):
                    if w is None:
                        continue
                    sympy_accesses[var_name].append(self.access_to_sympy(var_name, w))

        return sympy_accesses
def compile_sympy_accesses(self, sources=True, destinations=True):
        """
        Return a dictionary of lists of sympy accesses, for each variable.

        Use *source* and *destination* to filter output
        """
        sympy_accesses = defaultdict(list)
        # Compile sympy accesses
        for var_name in self.variables:
            if sources:
                for r in self.sources.get(var_name, []):
                    if r is None:
                        continue
                    sympy_accesses[var_name].append(self.access_to_sympy(var_name, r))
            if destinations:
                for w in self.destinations.get(var_name, []):
                    if w is None:
                        continue
                    sympy_accesses[var_name].append(self.access_to_sympy(var_name, w))

        return sympy_accesses
def compile_sympy_accesses ( self , sources = True , destinations = True ) : sympy_accesses = defaultdict ( list ) # Compile sympy accesses for var_name in self . variables : if sources : for r in self . sources . get ( var_name , [ ] ) : if r is None : continue sympy_accesses [ var_name ] . append ( self . access_to_sympy ( var_name , r ) ) if destinations : for w in self . destinations . get ( var_name , [ ] ) : if w is None : continue sympy_accesses [ var_name ] . append ( self . access_to_sympy ( var_name , w ) ) return sympy_accesses
Return a dictionary of lists of sympy accesses, for each variable.

        Use *source* and *destination* to filter output
Return a dictionary of lists of sympy accesses for each variable .