Closed kbat closed 7 years ago
still the same problem in the current master branch...
Thank you Stuart!
Just to note - the problem was caused by the reset to the physics list that occurs at each model construction. In MCNPX there is no RND SEED card and it is not reset if MCNPX has been selected as the output at that time. However, later code needs to update the random number value and that calls both dbcn and the RND SEED card [call is initiated from MainProcess::writeSim] which then fails because there is not key SEED in the RND card.
This has been fixed by a simple if statement -- this should be kept in mind because if we end up in a situation that there are many different versions of MCNP or PHITS etc then we should implement a possible / required / not-applicable flag into the nameItem setup to avoid having to remember ifs at each point they are used.
Current
master
branch can't generate MCNPX output: