-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
meshio boundaries from cell_sets M*N memory #1116
Comments
I will make an attempt to do something about this in #1117. |
I have added another approach in #1117 which is used if |
Now I was able to test it. Tetrahedral mesh with 100 000 vertices and 500 000 elements. Has a surface with roughly 6000 facets. It used 0.5 gigabytes of memory and it took around 5 seconds to load with |
I have now extended this to oriented boundaries, |
Function
from_meshio
uses M*N memory when matching facets from cell_set to facets of a mesh.This leads to out-of-memory error on my real world mesh (148494 facets, 16316 on boundary, 10694 in one of the boundary regions).
Problem is alleviated by using ignore_interior_facets=True, (I have enough memory for (16316, 10694, 3) but not for (148494, 10694, 3)), but it is still slow and I think it is better to use a hash map (dict):
The text was updated successfully, but these errors were encountered: