Hello,
According to the guide, I am trying to distinguish neutron and photon contribution for a tally using:
1 2
and I get the error “libc++abi.dylib: terminating with uncaught exception of type std::invalid_argument: Invalid particle name: 1”
Is not particle type “a list of integers indicating the type of particles to tally (‘neutron’ = 1, ‘photon’ = 2, ‘electron’ = 3, ‘positron’ = 4)”?
Try using the strings directly (neutron photon) instead of integers and see if that works.
1 Like
It works! Thank you!!