-
Notifications
You must be signed in to change notification settings - Fork 3
Pouring (Core Filling Functionality) #17
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
Conversation
… to simulation file
LukeSeifert
left a comment
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.
Overall, looks good! I had a couple comments, mostly on docstrings and some whitespace for pep8 formatting. I think if you run autopep8, it'll probably automatically catch a couple of my comments.
nsryan2
left a comment
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 Zoe! Lots of good work here, I have some minor consistency comments and questions.
Before I approve, I'd love to see Pep8 run on this PR. I noticed several instances of missing white space around math operations and other things that it won't like.
Co-authored-by: LukeSeifert <44068471+LukeSeifert@users.noreply.github.com> Co-authored-by: Nathan Ryan <nathansean0@gmail.com>
|
It looks like trusty ol' autopep8 changed some lines I didn't anticipate - give me a bit to fix them and push that commit. |
This reverts commit c8053d0.
|
I think I saved it - sorry folks! |
Co-authored-by: Nathan Ryan <nathansean0@gmail.com>
Co-authored-by: Nathan Ryan <nathansean0@gmail.com>
katyhuff
left a comment
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.
Minor changes suggested, most can be handled by creating issues to be dealt with in the future. In fact, I'm going to list this as "approve" so that you can merge as soon you feel you have completed the essential tasks (line lengths, etc.) and created the issues recommended. I see no fatal flaws in this PR, just some things you might consider changing.
… change and included env variable information
|
I believe I have either made issues for or fixed issues in new comments! (Thanks all) |
Co-authored-by: Nathan Ryan <nathansean0@gmail.com>
|
Oops - I missed a few comments because I missed some hidden comments when I when through. Let me make a commit for splitting up functions into smaller sections, and THEN I think I actually covered everything. |
|
@katyhuff do you have any insight on why Pep8speaks might not have checked this PR? That would have caught some of each of our comments. |
Co-authored-by: Nathan Ryan <nathansean0@gmail.com>
Summary of changes
This PR adds the "pour" functionality to ghastly, i.e., the ability to fill a core with pebbles. It uses a combination of OpenMC to pack cylindrical regions, and LAMMPS to both allow the pebbles to fall under gravity, and add any remaining pebbles needed to fill the core to the desired packing fraction.
It does this using a series of jinja2 templates, which automatically create a LAMMPS input file based on the parameters in the input file, which is a JSON file. There are example input files for ghastly both in the tests and examples directories.
Types of changes
Associated Issues and PRs
Checklist for Reviewers
Reviewers should use this link to get to the
Review Checklist before they begin their review.