Skip to content

Commit 13ea5b5

Browse files
committed
fix convertBlockToSurface
1 parent 8f08be8 commit 13ea5b5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

geos-processing/src/geos/processing/post_processing/GeosBlockMerge.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,6 @@ def convertBlockToSurface( self: Self, block: vtkUnstructuredGrid ) -> vtkPolyDa
226226
Returns:
227227
vtkPolyData: extracted surface
228228
"""
229-
cellTypes: list[ vtkCellTypes ] = block.GetDistinctCellTypesArray()
230-
assert [ vtkTriangle ] == cellTypes, "The surface mesh must be a triangulated surface only."
231-
232229
extractSurfaceFilter: vtkDataSetSurfaceFilter = vtkDataSetSurfaceFilter()
233230
extractSurfaceFilter.SetInputData( block )
234231
# fast mode should be used for rendering only

0 commit comments

Comments
 (0)