Update operator.py

Changed burnable material volume to volume of material instance
This commit is contained in:
Alec Golas 2019-10-31 16:46:49 -04:00
parent b60ee3b67c
commit ecbc05ce14

View file

@ -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