mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Add tallies to eigenvalue_genperbatch test
This commit is contained in:
parent
9128f3e0ac
commit
c4e44ac499
3 changed files with 13 additions and 0 deletions
|
|
@ -23,3 +23,9 @@
|
|||
</space>
|
||||
</source>
|
||||
</settings>
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<tallies>
|
||||
<tally id="1">
|
||||
<scores>flux</scores>
|
||||
</tally>
|
||||
</tallies>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,5 @@
|
|||
k-combined:
|
||||
3.001411E-01 2.669758E-03
|
||||
tally 1:
|
||||
3.219698E+01
|
||||
2.591699E+02
|
||||
|
|
|
|||
|
|
@ -24,6 +24,10 @@ def model():
|
|||
space = openmc.stats.Box((-4.0, -4.0, -4.0), (4.0, 4.0, 4.))
|
||||
model.settings.source = openmc.Source(space=space)
|
||||
|
||||
t = openmc.Tally()
|
||||
t.scores = ['flux']
|
||||
model.tallies.append(t)
|
||||
|
||||
return model
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue