summaryrefslogtreecommitdiff
path: root/hpmr.py
diff options
context:
space:
mode:
authorConnor Moore <connor.moore@psi.ch>2026-07-17 14:07:35 +0200
committerConnor Moore <connor.moore@psi.ch>2026-07-17 14:07:35 +0200
commita1df802fd9bfe0da2affebebc32f4b4d0dbcff71 (patch)
treed1f23ffcd0e2980b0889c0e5feea5c9a84cb3354 /hpmr.py
parentaa6d054c67d9e9bd8c641e8b88f3e6664e824bf4 (diff)
Fixed BC bug for core-level calculations
Diffstat (limited to 'hpmr.py')
-rwxr-xr-xhpmr.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/hpmr.py b/hpmr.py
index 6adc1a7..3acf958 100755
--- a/hpmr.py
+++ b/hpmr.py
@@ -447,8 +447,8 @@ geo_const_lattice_pitch = 26.752
geo_const_triso_radius = 1.0
geo_const_triso_packing = 0.40
geo_const_height = 1.0
-geo_const_z_max = openmc.ZPlane(z0=+geo_const_height,boundary_type="reflective")
-geo_const_z_min = openmc.ZPlane(z0=-geo_const_height,boundary_type="reflective")
+geo_const_z_max = openmc.ZPlane(z0=+geo_const_height,boundary_type="transmission" if cli_args.geometry_level=="core" else "reflective")
+geo_const_z_min = openmc.ZPlane(z0=-geo_const_height,boundary_type="transmission" if cli_args.geometry_level=="core" else "reflective")
geo_none_universe = openmc.Universe(name="Empty Universe",cells=[openmc.Cell(name="Empty Cell",fill=None)])