mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Shortened FIXME block in Material.__eq__
This commit is contained in:
parent
4be3c64da9
commit
f09ec9582b
1 changed files with 6 additions and 7 deletions
|
|
@ -90,16 +90,15 @@ class Material(object):
|
|||
return False
|
||||
elif self.name != other.name:
|
||||
return False
|
||||
# FIXME: This won't work since OpenMC only outputs densities in units
|
||||
# of atom/b-cm in summary.h5 irregardless of input units, and it we
|
||||
# FIXME: We cannot compare densities since OpenMC outputs densities
|
||||
# in atom/b-cm in summary.h5 irregardless of input units, and we
|
||||
# cannot compute the sum percent in Python since we lack AWR
|
||||
# elif self.density != other.density:
|
||||
#elif self.density != other.density:
|
||||
# return False
|
||||
# FIXME: The nuclide densities are different in summary.h5???
|
||||
# elif self._nuclides != other._nuclides:
|
||||
# return False
|
||||
# elif self._elements != other._elements:
|
||||
#elif self._nuclides != other._nuclides:
|
||||
# return False
|
||||
#elif self._elements != other._elements:
|
||||
# return False
|
||||
elif self._sab != other._sab:
|
||||
return False
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue