Efficient way to read a lage mesh?

Ulrich Uphoff mw19213 at mucweb.de
Thu Sep 9 16:15:27 EDT 1999


Hi All,

what is the most efficient way to restore an unstructured
grid from a file?

for a 16250 cell mesh I used

  vtkUnstructuredGrid aHexahedronGrid
  aHexahedronGrid Allocate 130000 130000

  vtkUnstructuredGridReader gr
   gr SetFileName $filename
   gr Update
   aHexahedronGrid CopyStructure [gr GetOutput]

but isn't that wasting time and space? Is there a better way?

Greetings
Uli



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list