mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Apply @pshriwise suggestions from code review
Co-Authored-By: Patrick Shriwise <shriwise@wisc.edu>
This commit is contained in:
parent
0d70d0ef4c
commit
c3ffc2f417
2 changed files with 3 additions and 3 deletions
|
|
@ -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])
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue