diff --git a/test/gold/nested_spheres.jou b/test/gold/nested_spheres.jou index e2115a6..3dffddc 100644 --- a/test/gold/nested_spheres.jou +++ b/test/gold/nested_spheres.jou @@ -4,20 +4,20 @@ set warning off graphics pause set journal off set default autosize off -#CELL 4 +#CELL 3 sphere radius 30.0 #{ id1 = Id("body") } -body { id1 } name "Cell_4" +body { id1 } name "Cell_3" group "mat:void" add body { id1 } -#CELL 3 +#CELL 2 sphere radius 20.0 #{ id2 = Id("body") } -body { id2 } name "Cell_3" +body { id2 } name "Cell_2" group "mat:void" add body { id2 } -#CELL 2 +#CELL 1 sphere radius 10.0 #{ id3 = Id("body") } -body { id3 } name "Cell_2" +body { id3 } name "Cell_1" group "mat:void" add body { id3 } graphics flush set default autosize on diff --git a/test/test_local.py b/test/test_local.py index 4e7feb9..d6f4a15 100644 --- a/test/test_local.py +++ b/test/test_local.py @@ -34,6 +34,7 @@ def test_planes(request, run_in_tmpdir): diff_gold_file('plane.jou') +@reset_openmc_ids def test_nested_spheres(request, run_in_tmpdir): inner_sphere = openmc.Sphere(r=10.0) middle_sphere = openmc.Sphere(r=20.0)