Skip to content

Commit 824bcc7

Browse files
authored
Update fsmtri.py
fix duplicate usage #1
1 parent 7a97e27 commit 824bcc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fsmtri.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def geneMesh(meshSize):
135135
mesh = meshio.read(fURL + ".vtk")
136136
pointList = mesh.points
137137
pointNum = np.int64(len(pointList))
138-
cellList = np.array(list(mesh.cells[1][1]))
138+
cellList = np.array(mesh.cells[1].data)
139139
cellNum = len(cellList)
140140
print(pointNum, cellNum)
141141
print(pointNum.dtype)

0 commit comments

Comments
 (0)