[Paraview] FW: sum of values at all nodes

2009-04-11 Thread Moreland, Kenneth
I'm forwarding this question to the mailing list because I am not sure. I recall a lot of talk about aggregated operations like sum in context with the programmable filter, but I don't remember if there is a way to do it outside that. -Ken Kenneth Moreland *** Sandia Nat

Re: [Paraview] FW: sum of values at all nodes

2009-04-11 Thread Berk Geveci
This would be super easy to do with the python calculator (which is not committed). So, I would say the answer is "yes, we are working on it". On Sat, Apr 11, 2009 at 10:45 AM, Moreland, Kenneth wrote: > I’m forwarding this question to the mailing list because I am not sure.  I > recall a lot of

Re: [Paraview] FW: sum of values at all nodes

2009-04-17 Thread David E DeMarle
In the mean time, you can do it via Tools->Python Shell and this script: Start up paraview and apply wavelet source for example. Then open python shell and do this: Python 2.5.1 (r251:54863, Jan 13 2009, 10:26:13) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin >>> from paraview.simple import * >>

Re: [Paraview] FW: sum of values at all nodes

2009-04-17 Thread David E DeMarle
Typo, I meant this script: from paraview.simple import * mm = servermanager.filters.MinMax() mm.Operation = "SUM" >>> pm=servermanager.ProxyManager() print pm.GetProxiesInGroup("sources") > {('Wavelet1', '114'): } wavelet = pm.GetProxy("sources", "Wavelet1") out = s

Re: [Paraview] FW: sum of values at all nodes

2009-04-18 Thread Berk Geveci
This is why I love the ParaView architecture. I always find myself surprised by what it can do :-) On Fri, Apr 17, 2009 at 1:30 PM, David E DeMarle wrote: > In the mean time, you can do it via Tools->Python Shell and this script: > > Start up paraview and apply wavelet source for example. Then op