openmsr / CAD_to_OpenMC

code to target the conversion from a step-file to a h5m-geometry for neutronics
MIT License
25 stars 16 forks source link

Cache calculated solids properties #65

Closed sjcrs closed 8 months ago

sjcrs commented 8 months ago

This change to the way solids are matched within merge_all() caches volumes, bounding boxes, and centers, leading to significant speedup of file processing. In my tests, a 243-volume CAD file had its processing time reduced from 28 minutes to 3 minutes.

sjcrs commented 8 months ago

Will re-submit this shortly after following up on a test result