mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Removed method Mesh.__eq__()
This commit is contained in:
parent
87894b3e57
commit
464cd99d3c
1 changed files with 0 additions and 21 deletions
|
|
@ -62,27 +62,6 @@ class Mesh(EqualityMixin):
|
|||
self._upper_right = None
|
||||
self._width = None
|
||||
|
||||
def __eq__(self, mesh2):
|
||||
# Check type
|
||||
if self._type != mesh2.type:
|
||||
return False
|
||||
|
||||
# Check dimension
|
||||
elif self._dimension != mesh2.dimension:
|
||||
return False
|
||||
|
||||
# Check width
|
||||
elif self._width != mesh2.width:
|
||||
return False
|
||||
|
||||
# Check lower left / upper right
|
||||
elif self._lower_left != mesh2.lower_left and \
|
||||
self._upper_right != mesh2.upper_right:
|
||||
return False
|
||||
|
||||
else:
|
||||
return True
|
||||
|
||||
@property
|
||||
def id(self):
|
||||
return self._id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue