mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
fixed abstractmethod error
This commit is contained in:
parent
b5ed2b985f
commit
606d9bf03e
1 changed files with 0 additions and 2 deletions
|
|
@ -61,7 +61,6 @@ class MeshBase(IDManagerMixin, ABC):
|
|||
pass
|
||||
|
||||
@property
|
||||
@abstractmethod
|
||||
def vertices(self):
|
||||
"""Return coordinates of mesh vertices.
|
||||
|
||||
|
|
@ -75,7 +74,6 @@ class MeshBase(IDManagerMixin, ABC):
|
|||
return np.stack(np.meshgrid(*self._grids, indexing='ij'), axis=-1)
|
||||
|
||||
@property
|
||||
@abstractmethod
|
||||
def centroids(self):
|
||||
"""Return coordinates of mesh element centroids.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue