[vtkusers] ExodusIIReader changes between 6.3 and 7.1.

Slaughter, Andrew E andrew.slaughter at inl.gov
Wed May 25 17:26:06 EDT 2016


Using python vtk on OSX I am getting different behavior when reading
ExodusII files. Am I missing a call to some different update function?

The test code is:

#!/usr/bin/env python
import vtk

print vtk.VTK_VERSION
reader = vtk.vtkExodusIIReader()
reader.SetFileName('adapt.e')
reader.UpdateInformation()
print 'adapt.e', reader.GetNumberOfTimeSteps()

reader.SetFileName('adapt.e-s002')
reader.UpdateInformation()
print 'adapt.e-s002', reader.GetNumberOfTimeSteps()


On 6.3 (installed via miniconda):
6.3.0
adapt.e 2
adapt.e-s002 1

On VTK 7 (4613a183c3e4481
<https://gitlab.kitware.com/vtk/vtk/commit/4613a183c3e448176f3e0e1a1742ecfe46d6c531>
76f3e0e1a1742ec
<https://gitlab.kitware.com/vtk/vtk/commit/4613a183c3e448176f3e0e1a1742ecfe46d6c531>
fe46d6c531
<https://gitlab.kitware.com/vtk/vtk/commit/4613a183c3e448176f3e0e1a1742ecfe46d6c531>
)
7.1.0
adapt.e 2
adapt.e-s002 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160525/845a76cf/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adapt.e
Type: application/octet-stream
Size: 78044 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160525/845a76cf/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adapt.e-s002
Type: application/octet-stream
Size: 123332 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160525/845a76cf/attachment-0003.obj>


More information about the vtkusers mailing list