Can you use the array calculator filter to compute the derived values? -Ken
On 1/19/10 9:39 AM, "Nico Schlömer" <[email protected]> wrote: Hi, I'm having that very simple legacy VTK file (STRUCTURED_GRID) with one big block of SCALARS with two components, representing the real part and the imaginary part of complex values z. The values that are interesting for plotting are |z|^2 and arg(z), which of course can be entirely expressed in terms of Re(z), Im(z). Is there any way to tell ParaView to do the conversion? What I do right now is returning not Re(z), Im(z) in the VTK components, but |z|^2 and arg(z), for which apparently a conversion in the code's write and read routines is necessary (potentially leading to round-off errors, and being inherently *ugly*). Cheers, Nico _______________________________________________ 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 **** Kenneth Moreland *** Sandia National Laboratories *********** *** *** *** email: [email protected] ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel
_______________________________________________ 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
