#! /usr/bin/env python3
# -*- coding: utf-8 -*-
-# Copyright (C) 2020 CEA/DEN, EDF R&D
+# Copyright (C) 2020-2024 CEA, EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
c=mc.DataArrayInt(conn)[:]
ci=mc.DataArrayInt(cla)[:]
# for pv580
- if LooseVersion(vtk.VTK_VERSION) >= LooseVersion("8.90.0"):
+ if LooseVersion(vtk.vtkVersion().GetVTKVersion()) >= LooseVersion("8.90.0"):
ci = ci.deltaShiftIndex()+1
ci.computeOffsetsFull()
#