mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Mesh is now a child of EqualityMixin
This commit is contained in:
parent
cd7388e447
commit
87894b3e57
1 changed files with 2 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ import numpy as np
|
|||
|
||||
import openmc.checkvalue as cv
|
||||
import openmc
|
||||
from openmc.mixin import EqualityMixin
|
||||
|
||||
|
||||
# "Static" variable for auto-generated and Mesh IDs
|
||||
|
|
@ -20,7 +21,7 @@ def reset_auto_mesh_id():
|
|||
AUTO_MESH_ID = 10000
|
||||
|
||||
|
||||
class Mesh(object):
|
||||
class Mesh(EqualityMixin):
|
||||
"""A structured Cartesian mesh in one, two, or three dimensions
|
||||
|
||||
Parameters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue