[vtkusers] ExodusIIReader changes between 6.3 and 7.1.

Slaughter, Andrew E andrew.slaughter at inl.gov
Wed May 25 18:10:15 EDT 2016


FYI: I have colleague who ran this on 7.0.0 and it worked as expected.

On Wed, May 25, 2016 at 3:26 PM, Slaughter, Andrew E <
andrew.slaughter at inl.gov> wrote:

> 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/b01d1f83/attachment.html>


More information about the vtkusers mailing list