Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sbradnam opened this issue Jan 21, 2022 · 0 comments
Open

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

sbradnam opened this issue Jan 21, 2022 · 0 comments

Comments

@sbradnam
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant