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

Capability to write to Serpent #4

Merged
merged 12 commits into from
Oct 19, 2023

Conversation

alexvalentine94
Copy link
Collaborator

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.

@jpcatalanUNED jpcatalanUNED marked this pull request as ready for review October 19, 2023 08:24
@@ -162,7 +186,8 @@ def writeSequenceOMCPY(Seq,prefix='S'):
return line

def MCNPSurface(id,Type,surf):
MCNP_def = ''
Serpent_def = ''
Copy link
Member

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 = ''

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good spot!

Copy link
Member

@jpcatalanUNED jpcatalanUNED left a 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.

@jpcatalanUNED jpcatalanUNED merged commit 08bbd03 into GEOUNED-org:dev Oct 19, 2023
@jpcatalanUNED
Copy link
Member

@alexvalentine94 thank you for your contribution!

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

Successfully merging this pull request may close these issues.

2 participants