Hello all,
Till last week I used vtkCosmoReader to read .cosmo files.
Now I try to use its parallel version,
and I have a few questions.
I noticed that there are more functions, like SetRL
and SetOverlap.
I set them, should I call update() after that?
i tried to run this:
vtkPCosmoReader *cosmo_reader = vtkPCosmoReader::New();
vtkUnstructuredGrid *cosmo_data;
cosmo_reader->SetRL(256.0);
cosmo_reader->SetOverlap(5);
cosmo_reader->SetFileName(cosmo_filename);
cosmo_reader->Update();
cosmo_data = cosmo_reader->GetOutput(0);
I get bad-alloc error because of
"cosmo_reader->Update();"
if i comment this line out,
it will go through, but the all the fields will have values equal to zero.
Thank you,
Uliana
_______________________________________________
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