Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/s/f/sfepy-HEAD/sfepy/discrete/fem/mesh.py   sfepy(Download)
            The mesh connectivity graph as a SciPy CSR matrix.
        """
        from extmods.cmesh import create_mesh_graph
 
        shape = (self.n_nod, self.n_nod)
        tt = time.clock()
 
        nnz, prow, icol = create_mesh_graph(shape[0], shape[1],
                                            len(self.conns),
                                            self.conns, self.conns)