-
Notifications
You must be signed in to change notification settings - Fork 525
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
Centre for cylinder & spherical meshes #2256
Centre for cylinder & spherical meshes #2256
Conversation
@pshriwise I need to declare |
I think I managed to add everything we needed for this in the end 😄 |
The tests are failing. One regression test is failing --> I think we just need to update the gold standard input file. |
I honestly don't understand why these four tests are failing. When I run the tests with |
That's great! I'll take a look first thing on Monday -- I'm off today for a long weekend. |
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.
Hi @RemDelaporteMathurin! Thanks for taking this on. 🤩 It's been needed for a while and will be a much-used, much-appreciated upgrade.
A couple of minor comments from me here. Additionally, I'd prefer to use the term origin
over centre
here to be consistent with our description of a sphere surface. Would you mind updating that attribute name?
Co-authored-by: Ethan Peterson <[email protected]>
Co-authored-by: Ethan Peterson <[email protected]>
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.
@RemDelaporteMathurin and @pshriwise just a few more questions and comments
…intermediate class
…shes Add an intermediate `PeriodicStructuredMesh` class to separate the `origin` attribute from `StructuredMesh`
….com/RemDelaporteMathurin/openmc into centre_for_cylinder_spherical_meshes
I've just attempted to handle the conflicts in Aside from that, I think there's one outstanding comment from @eepeterson remaining. @RemDelaporteMathurin are you up for addressing that one? |
Thanks for this Patrick, I don't have the bandwidth right now but I can have a look whenever I have time |
@RemDelaporteMathurin I just sent a PR to your fork to address the outstanding request from @eepeterson: |
Update IO format docs for meshes
@paulromano @eepeterson @pshriwise I think all the comments have been addressed and the tests pass! 🎸 |
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.
LGTM, thanks for the work team!
This fixes #2248 by adding a centre attribute to
CylindricalMesh
andSphericalMesh
Usage