Open tkittel opened 3 years ago
Related to ultimate resolution of #94
So the NCMATComposer in the python API can support site occupancy < 1.0. However, this is done by hacking the composition, so such materials can not be used in Geant4 or OpenMC. We need to fix this by having site occupancy factors supported in the C++ library as well.
This should be relatively easy, we just need some "void" or "empty" pseudo-atoms. E.g. 98% site occupancy factors in Aluminium could be added as:
On the coding side, we would need some sort of "void" AtomData object which has 0barn cross sections and 0u mass. Perhaps implemented internally with special Z/A fields. We must check carefully what all methods should return, so we don't for instance divide by zero for this mass-less object, etc.