Skip to content

Commit

Permalink
Updating GQ test and adding a gold file
Browse files Browse the repository at this point in the history
  • Loading branch information
pshriwise committed Nov 6, 2024
1 parent 576c4db commit 7e6eb80
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions test/gold/ellipsoid.jou
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
set echo off
set info off
set warning off
graphics pause
set journal off
set default autosize off
#CELL 1
sphere radius 1
#{ id1 = Id("body") }
body { id1 } scale x 1.0 y 0.7071067811865476 z 0.5773502691896257
body { None } name "Cell_1"
group "mat:void" add body { None }
graphics flush
set default autosize on
zoom reset
set echo on
set info on
set warning on
set journal on
1 change: 1 addition & 0 deletions test/test_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,4 @@ def test_gq_ellipsoid(request):
ellipsoid = openmc.Quadric(1, 2, 3, k=1)
g = openmc.Geometry([openmc.Cell(region=-ellipsoid)])
to_cubit_journal(g, world=(500, 500, 500), filename='ellipsoid.jou')
diff_gold_file('ellipsoid.jou')

0 comments on commit 7e6eb80

Please sign in to comment.