Stream: python-questions

Topic: optimizing dask array operation


view this post on Zulip Ufuk Turuncoglu (Sep 19 2023 at 22:21):

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