@verbose
def spatio_temporal_tris_connectivity(tris, n_times, remap_vertices=False, verbose=None):
 if remap_vertices:
  logger.info('Reassigning vertex indices.')
  tris = np.searchsorted(np.unique(tris), tris)
 edges = mesh_edges(tris).tocoo()
 return _get_connectivity_from_edges(edges, n_times)

@ verbose def spatio_temporal_tris_connectivity ( tris , n_times , remap_vertices = False , verbose = None ) : if remap_vertices : logger . info ( 'Reassigning vertex indices.' ) tris = np . searchsorted ( np . unique ( tris ) , tris ) edges = mesh_edges ( tris ) . tocoo ( ) return _get_connectivity_from_edges ( edges , n_times )
compute connectivity from triangles and time instants .