Apply @pshriwise suggestions from code review

Co-Authored-By: Patrick Shriwise <shriwise@wisc.edu>
This commit is contained in:
Paul Romano 2020-03-17 16:49:53 -05:00 committed by GitHub
parent 0d70d0ef4c
commit c3ffc2f417
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -58,7 +58,7 @@ def fuel_pin():
def guide_tube_pin():
"""Returns a control rode guide tube pin universe"""
"""Returns a control rod guide tube universe."""
gt_inner_cell = openmc.Cell(fill=hot_water, region=-fuel_or)
gt_clad_cell = openmc.Cell(fill=clad, region=+fuel_or & -clad_or)
@ -105,7 +105,7 @@ def assembly_model():
# Create a cell filled with the lattice
main_cell = openmc.Cell(fill=assembly, region=outer_boundary)
# Finally, create geometry by giving a list of cells filling the root
# Finally, create geometry by providing a list of cells that fill the root
# universe
model.geometry = openmc.Geometry([main_cell])

View file

@ -15,4 +15,4 @@ plt.show()
# If all worked well, you should see a ring "imprint" as well as a higher flux
# to the right side (since the custom source has all particles moving in the
# positive x direction))
# positive x direction)