HUGE .err FILES generated

Dear experts,
I am using source.f files to calculate multiple source radiation and I FOUND HUGE .err files after the run is finished. I already checked the other three similar cases published on the forum, yet I STILL CANNOT solve my problems. HERE ARE THE INPUT FILES AND source.f files.
Really need your kind help.
Thanks in advance
maze90.flair (71.3 KB)
maze90.inp (67.8 KB)
source.f (10.0 KB)

Dear Sean,

the problem is that the direction vector of the primaries is not normalized to one with the required accuracy. Also the update of the particle momentum was missing after setting the kinetic energy.

Please find the updated source routine here: source.f (10.1 KB)


1 Like