Is there any way to optimize following statement - elem_coords = [da.mean(node_coords[v.values,:], axis=0) for v in elem_conn]. It seems it is using too much memory. I am just trying to calculate element center coordinates from node coordinates.
Last updated: May 16 2025 at 17:14 UTC