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

potential fix for #87 #88

Closed ebknudsen closed 6 months ago

ebknudsen commented 6 months ago

Apparently the built in hash-method (or hashcode) of the Face-class does not take location into account. Hence false positives can happen. In particular for models with a large number of identical objects. This leads to surfaces being missing and so leaky models.

This PR fixes this problem by combining hashcodes for location vector and face