debugging test

This commit is contained in:
guillaume 2017-07-14 17:17:42 -04:00
parent 937c5f6f5d
commit 5b2aae3b05
3 changed files with 4 additions and 10 deletions

View file

@ -99,7 +99,7 @@
<scores>current</scores>
</tally>
<tally id="6" name="net_right">
<filters>10011 10000 10001 10002</filters>
<filters>10011 10000</filters>
<scores>current</scores>
</tally>
</tallies>

View file

@ -47,11 +47,5 @@ d_material,d_nuclide,d_variable,score,mean,std. dev.
,,,current,-4.2000000e-03,7.1180522e-04
,,,current,0.0000000e+00,0.0000000e+00
,,,current,-3.9000000e-02,4.1686662e-03
,,,current,0.0000000e+00,0.0000000e+00
,,,current,-4.0200000e-02,4.2656249e-03
,,,current,0.0000000e+00,0.0000000e+00
,,,current,-2.6310000e-01,1.0013824e-02
,,,current,0.0000000e+00,0.0000000e+00
,,,current,-2.6000000e-03,4.0000000e-04
,,,current,0.0000000e+00,0.0000000e+00
,,,current,-2.6700000e-02,5.2218558e-03
,,,current,-5.9230000e-01,1.2109730e-02
,,,current,-5.1900000e-02,3.3381632e-03

View file

@ -135,7 +135,7 @@ class CreateSurfaceTallyTestHarness(PyAPITestHarness):
# Surface filter on right surface, reflective, current tally doesnt pick up the zero net current though
surface_filter = openmc.SurfaceFilter([3])
surf_tally3 = openmc.Tally(tally_id=tally_index, name='net_right')
surf_tally3.filters = [surface_filter, energy_filterr]
surf_tally3.filters = [surface_filter, energy_filter]
surf_tally3.scores = ['current']
tallies_file.append(surf_tally3)
tally_index += 1