Hi,

ther is a small bug in  function
 
 VTKIO::solution_to_vtk(const EquationSystems& es, vtkUnstructuredGrid*& 
grid)

in vtk_io.C. On line 320

     data->SetNumberOfValues(sys.solution->size());

sets the number of values too high when there is more than one variable 
in sys.
(Corresponding vtu-file is then filled with some garbage values.) It 
should be replaced by

    data->SetNumberOfValues(n_nodes);

Regards,
Mladen Jurak


 

<http://web.math.hr/%7Ejurak>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to