-
Notifications
You must be signed in to change notification settings - Fork 34
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
Capability to write to Serpent #4
Conversation
@@ -162,7 +186,8 @@ def writeSequenceOMCPY(Seq,prefix='S'): | |||
return line | |||
|
|||
def MCNPSurface(id,Type,surf): | |||
MCNP_def = '' | |||
Serpent_def = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is wrong. Should be
MCNP_def = ''
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good spot!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes proposed will be accepted. There is a little bug in Functions.py line 189, we will resolve it.
@alexvalentine94 thank you for your contribution! |
Initial effort at also writing Serpent input files
Some testing success for simple models but needs further tests and edge cases.
Hopefully useful for this great tool :)
Reverse reading of Serpent -> CAD in progress but will raise separate PR.