mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Fixing the activity tests @eepeterson
Co-authored-by: Ethan Peterson <ethan.peterson@mit.edu>
This commit is contained in:
parent
3271c08d22
commit
5d5bc53a15
1 changed files with 2 additions and 2 deletions
|
|
@ -928,9 +928,9 @@ class Material(IDManagerMixin):
|
|||
|
||||
if units == 'Bq':
|
||||
multiplier = self.volume
|
||||
elif units == 'Bq/g':
|
||||
multiplier = 1
|
||||
elif units == 'Bq/cm3':
|
||||
multiplier = 1
|
||||
elif units == 'Bq/g':
|
||||
multiplier = 1.0 / self.get_mass_density()
|
||||
|
||||
activity = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue