mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Update operator.py
Changed burnable material volume to volume of material instance
This commit is contained in:
parent
b60ee3b67c
commit
ecbc05ce14
1 changed files with 1 additions and 1 deletions
|
|
@ -341,7 +341,7 @@ class Operator(TransportOperator):
|
|||
if mat.volume is None:
|
||||
raise RuntimeError("Volume not specified for depletable "
|
||||
"material with ID={}.".format(mat.id))
|
||||
volume[str(mat.id)] = mat.volume
|
||||
volume[str(mat.id)] = mat.volume/mat.num_instances
|
||||
self.heavy_metal += mat.fissionable_mass
|
||||
|
||||
# Make sure there are burnable materials
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue