[vtkusers] writing vtkIdType out as int in vtkDataWriter?

lee ann fisk lafisk at sandia.gov
Fri Dec 12 17:46:22 EST 2003


Hello...

I am writing a class that redistributes large data sets across
multiple processors and I am wondering why vtkDataWriter writes
vtkIdType fields out as "ints" instead of whatever the vtkIdType
is on my system.  Is this so it can be read back on a different
system where vtkIdType was defined differently?

Each process in my parallel application is merging some of it's 
own data with data received from other processes.  vtkDataWriter
marshalls the data set into a string to be sent to a remote
process.  The field arrays should be identical across all 
processes, but the arrays that should be vtkIdType are coming 
in as "int" from remote processes.

Lee Ann


-- 
===================================================================
Lee Ann Fisk                                    Phone: 505-844-2059
Data Analysis and Visualization (9227)          FAX:   505-845-0833
Sandia National Labs, Mail Stop 0822       Email: lafisk at sandia.gov
Albuquerque, NM  87185-0822
===================================================================




More information about the vtkusers mailing list