diff options
| author | Connor Moore <connor.moore@psi.ch> | 2026-07-27 16:05:30 +0200 |
|---|---|---|
| committer | Connor Moore <connor.moore@psi.ch> | 2026-07-27 16:05:30 +0200 |
| commit | a51eedb048698a6054f09e23afa468e420d294b8 (patch) | |
| tree | 63b445dd2719fe218626806d55e91f9bc92969eb | |
| parent | e447cfccfddbd67f44307e6ab527f0fb4ce48976 (diff) | |
Added flag for enabling/disabling domain decomposition in TRISO lattice
| -rwxr-xr-x | hpmr.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -36,6 +36,7 @@ cli_parser.add_argument("-g","--geometry-level",default="pin",choices=["pin","as cli_parser.add_argument("-d","--drums-in",default=False,action="store_true",help="Flag for specifying the control drums are rotated in, default false") cli_parser.add_argument("-p","--packing",default=False,action="store_true",help="Flag for specifying if packing information should be read from file") cli_parser.add_argument("-e","--execute",default=False,action="store_true",help="Flag for automatically running OpenMC, default false.") +cli_parser.add_argument("--triso-lattice",default=False,action="store_true",help="Flag for enabling TRISO lattice domain decomposition in the compact, default false.") cli_args = cli_parser.parse_args() if cli_args.lclrs: @@ -467,7 +468,7 @@ geo_triso_universe = openmc.Universe(name="TRISO Kernel Universe",cells=geo_tris ## TRISO compact ## geo_triso_compact_region = -openmc.ZCylinder(r=geo_const_triso_radius,x0=0.0,y0=0.0)&+geo_const_z_min&-geo_const_z_max -geo_triso_compact_domain = (4,4,int(4*geo_const_height)) +geo_triso_compact_domain = (4,4,int(4*geo_const_height)) if cli_args.triso_lattice else (1,1,1) # Generate packing if cli_args.packing: |
