Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def __copyFieldsSplitMesh( oldMesh: vtkUnstructuredGrid, splitMesh: vtkUnstructu
# Reshape oldPointsArray if it is 1-dimensional
if len( oldPointsArray.shape ) == 1:
oldPointsArray = oldPointsArray.reshape( ( oldNrows, 1 ) )
newPointsArray = empty( ( newNumberPoints, oldNcols ) )
newPointsArray = empty( ( newNumberPoints, oldNcols ), dtype = oldPointArray.dtype )
Comment thread
jhuang2601 marked this conversation as resolved.
Outdated
newPointsArray[ :oldNrows, : ] = oldPointsArray
for newAndOldId in addedPointsWithOldId:
newPointsArray[ newAndOldId[ 0 ], : ] = oldPointsArray[ newAndOldId[ 1 ], : ]
Expand Down
Loading