[vtkusers] vtkPLOT3DReader troubles

Ryan Arthur Vartanian vartan at Stanford.EDU
Thu Aug 23 19:08:49 EDT 2001


Hello-

I am having trouble with vtkPLOT3DReader().

I have looked at the source code for the reader, and as far as I can tell
it does not take into account the bookends (or data record lengths) which
fortran puts at the end of each unformatted write statement.  I use plot3d
on a regular basis and my data files are organized as follows:

Data in file:                     Actual file contents:
                                             4
1      (number of grids)                     1
                                             4
                                             12
193                                          193
49     (Grid Dimensions)                     49
65                                           65
                                             12
                                             7376460
A bunch of single precision floats
follow which are the structured grid
coordinates.

It seems to me that the reader was written using some example files from
plot3d (bluntfin for example) and that for some reason the bookends have
been left out.  Is there a flag I can set so that the bookends are read
and my file is processed correctly, or is this something that has not been
included for some reason?

Any help would be appreciated.

Ryan

-----------------------------------------------------------

     "I don't mind Microsoft making money, I mind them
         having a bad operating system."
                              -Linus Torvalds June 13, 1999

Ryan Vartanian
Aeronautics/Astronautics PhD Student
vartan at leland.stanford.edu
------------------------------------------------------------






More information about the vtkusers mailing list