Skip to content

Commit

Permalink
Addressing another warning from coefficient case for planes in OpenMC
Browse files Browse the repository at this point in the history
  • Loading branch information
pshriwise committed Nov 6, 2024
1 parent 7e33410 commit 8b57d91
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/test_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ def wrapper(*args, **kwargs):

@reset_openmc_ids
def test_planes(request, run_in_tmpdir):
plane1 = openmc.Plane(A=1.0, B=1.0, C=0.0, D=-5.0)
plane2 = openmc.Plane(A=1.0, B=1.0, C=0.0, D=5.0)
plane3 = openmc.Plane(A=0.0, B=1.0, C=1.0, D=-5.0)
plane4 = openmc.Plane(A=0.0, B=1.0, C=1.0, D=5.0)
plane5 = openmc.Plane(A=1.0, B=0.0, C=1.0, D=-5.0)
plane6 = openmc.Plane(A=1.0, B=0.0, C=1.0, D=5.0)
plane1 = openmc.Plane(a=1.0, b=1.0, c=0.0, d=-5.0)
plane2 = openmc.Plane(a=1.0, b=1.0, c=0.0, d=5.0)
plane3 = openmc.Plane(a=0.0, b=1.0, c=1.0, d=-5.0)
plane4 = openmc.Plane(a=0.0, b=1.0, c=1.0, d=5.0)
plane5 = openmc.Plane(a=1.0, b=0.0, c=1.0, d=-5.0)
plane6 = openmc.Plane(a=1.0, b=0.0, c=1.0, d=5.0)
g = openmc.Geometry([openmc.Cell(region=+plane1 & -plane2 & +plane3 & -plane4 & +plane5 & -plane6)])
to_cubit_journal(g, world=(500, 500, 500), filename='plane.jou')
diff_gold_file('plane.jou')
Expand Down

0 comments on commit 8b57d91

Please sign in to comment.