You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KyleVaughn
changed the title
Overload Material.addNuclide to allow atom fractions or weight fractions
Overload Material.addNuclide to allow atom fractions and weight fractions
Feb 6, 2024
A Material.addNuclideWt function, which takes a weight percent has been merged into main. We still need an atom fraction function.
Should we create 3 different functions, or use a single function which maybe takes an enum with {NumberDensity, AtomPercent, WeightPercent}? We should look at other open source codes for inspiration.
Currently nuclides are added to a material using the number density, which is not always the easiest to compute.
The text was updated successfully, but these errors were encountered: