Code_BrittHaanen.txt
Pasted code example of MONAS use (given in topas_extension README) as-is into existing setup code. Did some minor debugging related to the MultiEventStatistic and SpectrumUpdateTimes, to no avail. Code always exits after x amount of histories with
free(): invalid next size (fast)
Aborted (core dumped)
The simulation exits earlier for narrow beam geometries.
This makes it impossible to perform simulation with a meaningful number of particles