From a1df802fd9bfe0da2affebebc32f4b4d0dbcff71 Mon Sep 17 00:00:00 2001 From: Connor Moore Date: Fri, 17 Jul 2026 14:07:35 +0200 Subject: Fixed BC bug for core-level calculations --- hpmr.py | 4 ++-- 1 file 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)]) -- cgit v1.2.3