Hi Ricardo, Just a guess, your cell 3-tuples look to me to be "Fortran array indexes," but a C-programmer wrote the reader and he thought it only logical that cell 3-tuples should "C array offsets." So, you need to subtract "1" off of every integer in the CELLS datum block. Sam (a Fortran programmer) Ricardo Canelas wrote: Hello, I'm quite new to Paraview, so i'm terribly sorry if this is a stupid thing to ask. I'm beginning to panic here. I wrote a routine to generate the vtk files to render in Paraview, but i can't seem to get in right. In a 45000 element test the output saysGeneric Warning: In ..\..\..\src\VTK\IO\vtkDataReader.cxx, line 1382 Error reading ascii data. Possible mismatch of datasize with declaration. And crashes. With about 100 elements it gives the same error, it actually renders something, but it is totally absurd. This is a surface unstructured mesh. Each cell has a scalar and a vector. I'm attaching a small example of the vtk file for the 100 cell example. Thanks in advance, Best regards, -- Ricardo Canelas CEHIDRO - Instituto Superior Técnico, TU Lisboa, Av. Prof. Rovisco Pais, 1049-001 Lisboa, Portugal |
<<attachment: samuelkey.vcf>>
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview