csg2csg icon indicating copy to clipboard operation
csg2csg copied to clipboard

' $' comments in MCNP files, IMP:N=0 not at the end of the file

Open sbradnam opened this issue 4 years ago • 0 comments

Hi @makeclean,

Noticed that csg2csg master doesn't like $ comments on MCNP files if the are not preceded by any text, for example: ' $The outer cell' is commonly found in MCNP files generated using SuperMC. This is acceptable MCNP syntax but not so in csg2csg. I have been resolving this manually by commenting out the line, e.g: 'c $The outer cell', however hopefully this could be easily resolved in csg2csg. I have also noticed that it doesn't seem to like IMP:N=0 cells which are not at the end of the cell list - for most models this is fine however I had a failure for models that contain multiple universes, which have an IMP:N=0 at the end of each set of universe cells.

Cheers,

sbradnam

sbradnam avatar Jan 21 '22 15:01 sbradnam