<div dir="ltr">Simon,<div><br></div><div>As I am cleaning my inbox, I ran into this email. Since there have been other emails about this I'll skip your original query :). Just wanted to give you an update on recent developments in ParaView. We recently pushed updates to VTK/ParaView to allow you to use Python calculator to compute "sum" in parallel across all blocks in the dataset. e.g. for can.ex2, you can apply the Python Calculator and select "Cell Data", with expression "sum(EQPS)" the result array will have the true global sum. This also includes operations like min/max/mean etc.</div>
<div><br></div><div>Utkarsh</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 25, 2014 at 11:21 AM, Su, Simon M CTR USARMY ARL (US) <span dir="ltr"><<a href="mailto:simon.m.su.ctr@mail.mil" target="_blank">simon.m.su.ctr@mail.mil</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Classification: UNCLASSIFIED<br>
Caveats: NONE<br>
<br>
Hello,<br>
<br>
Running in PV client/server mode, is there a calculator function that will<br>
add up all the values of a variable (cell or point variable).<br>
<br>
I can use the programmable filter to write a python loop to iterate through<br>
all the cell/point of the variable and add them up. But, running in a<br>
client/server mode, how would you store that value? Can I just add a single<br>
value (not array) to the data? If so, what vtk data structure shall I use to<br>
store a double variable? vtk.vtkDouble()? Or is there a way to write that<br>
value out to a file. Running it in parallel, how would that be handled?<br>
<br>
Thanks<br>
-simon<br>
<br>
Classification: UNCLASSIFIED<br>
Caveats: NONE<br>
<br>
<br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>