Skip to content

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

@sbradnam

Description

@sbradnam

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions