[Paraview] Using data in Calculator from multiple sources
Bastil2001 at yahoo.de
Bastil2001 at yahoo.de
Sat Feb 20 05:42:28 EST 2010
Matt,
do you have a correspondence between the nodes meaning node1(x) of
model1 needs to be compared with node1(x) of model2? Otherwise this will
not work and you have to search for nearest nodes first.
Regards Basti
Am 19.02.2010 20:35, schrieb Berk Geveci:
> In the next release, this will be very easy to do with the Python
> Calculator. It will look like:
>
> inputs[0].PointData['some_array'] - inputs[1].PointData['some_array']
>
> -berk
>
> On Fri, Feb 19, 2010 at 1:32 PM, David E DeMarle
> <dave.demarle at kitware.com <mailto:dave.demarle at kitware.com>> wrote:
>
> The calculator will not accept multiple inputs, so if you want to use
> it you will have to append the data first, which makes it hard to
> compare side by side.
>
> You should consider using the python programmable filter instead. It
> will accept multiple inputs (there was a post earlier this week on the
> mailing list descriing how to access each one) and there are examples
> on the wiki of scripts which iterate through the geometry of its
> input.
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 28 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-371-3971 x109
>
>
>
> On Fri, Feb 19, 2010 at 1:29 PM, Matthew Cragun
> <mcragun at totalsim.us <mailto:mcragun at totalsim.us>> wrote:
> > I have two separate meshes that are similar, but have slight
> differences.
> > They have the same number of points. I would like to use the
> calculator to
> > create an array of the distances between corresponding point
> ID's in the two
> > meshes. How can I access the coordinate values from each mesh using
> > calculator?
> >
> > For Example, in my calculator I would like:
> >
> > Result Array Name= Distance
> > Function: Mag(mesh1.coords-mesh2.coords)
> >
> >
> > --
> > Matt Cragun
> >
> > Engineer
> > TotalSim LLC
> > 7003 Post Road,
> > Suite 415
> > Dublin, Ohio 43016
> > O: (614) 255-7426
> > M: (801) 404-6021
> > E: mcragun at totalsim.us <mailto:mcragun at totalsim.us>
> >
> > _______________________________________________
> > Powered by www.kitware.com <http://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
> >
> >
> _______________________________________________
> Powered by www.kitware.com <http://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
>
>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100220/9f15d156/attachment.htm>
More information about the ParaView
mailing list