Skip to content

Commit

Permalink
Make changes needed for VTK 9.
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbolt committed Jan 23, 2024
1 parent 93c38b7 commit 8becc1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Code/FlowSolvers/ThreeDSolver/svPre/helpers.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1915,7 +1915,8 @@ int VtkUtils_GetAllPolys( vtkPolyData *pd, int *numPgns, vtkIdType **pgns )
{
vtkCellArray *pdPgns;
int size, i;
vtkIdType npts, *pts;
vtkIdType npts;
vtkIdType const *pts;
int pos = 0;

(*numPgns) = pd->GetNumberOfPolys();
Expand Down
2 changes: 1 addition & 1 deletion Code/FlowSolvers/ThreeDSolver/svPre/presolver-vtk-cmds.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ int cmd_mesh_and_adjncy_vtu(char *cmd) {
vtkIdType meshCellId;
vtkIdType p1, p2, p3;
vtkIdType npts = 0;
vtkIdType *pts = 0;
vtkIdType const *pts;
vtkSmartPointer < vtkIdList > ptIds = vtkSmartPointer < vtkIdList > ::New();
vtkSmartPointer < vtkIdList > cellIds = vtkSmartPointer < vtkIdList
> ::New();
Expand Down

0 comments on commit 8becc1e

Please sign in to comment.