[Paraview] Calculator speed
Moreland, Kenneth
kmorel at sandia.gov
Tue Sep 9 09:46:26 EDT 2008
Tobias,
I would agree that the parsing of calculator expressions is probably slowing
down the calculations. I also agree that a custom filter would be the
easiest way to fix the problem (and would probably simplify things for
users).
-Ken
On 9/9/08 6:58 AM, "Tobias Brandvik" <tbrandvik at gmail.com> wrote:
> Hi,
>
> I've written a CFD solver that uses Paraview in parallel mode with
> hdf5/xdmf. Currently, the application writes out the primary variables
> and lets the user calculate any desired secondary variables using the
> calculator. However, this procedure is very slow -- it seems to be an
> order of magnitude faster to calculate the data in the solver itself
> and have Paraview read it from disk. I suspect this is because the
> calculator expressions get translated to python code, but I might also
> be doing something wrong.
>
> Am I correct in thinking that the easiest way to fix this would be to
> write a custom filter in C++?
>
> Cheers,
> Tobias
>
> --
> Tobias Brandvik
> PhD Student
> Whittle Laboratory
> 1 JJ Thomson Avenue
> Cambridge CB3 0DY, UK
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
More information about the ParaView
mailing list