Skip to content

Commit

Permalink
Update fsmtri.py
Browse files Browse the repository at this point in the history
fix duplicate usage #1
  • Loading branch information
SIKtt authored May 6, 2023
1 parent 7a97e27 commit 824bcc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fsmtri.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def geneMesh(meshSize):
mesh = meshio.read(fURL + ".vtk")
pointList = mesh.points
pointNum = np.int64(len(pointList))
cellList = np.array(list(mesh.cells[1][1]))
cellList = np.array(mesh.cells[1].data)
cellNum = len(cellList)
print(pointNum, cellNum)
print(pointNum.dtype)
Expand Down

0 comments on commit 824bcc7

Please sign in to comment.