Skip to content

GeoMaterial - Minor clean-up

Johannes Junggeburth requested to merge GeoMaterialCleanUp into main

GeoElement:

  • Return the atomic number and Z by value and not const reference

GeoMaterial:

-Use the throwExcept macros

-Instead of having separate element and fraction vector, condense both into a single vector of pairs --> sort the elements inside the material by their fraction. Highest element comes first

Edited by Johannes Junggeburth

Merge request reports

Loading