<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Matt,<br>
<br>
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.<br>
<br>
Regards Basti<br>
<br>
Am 19.02.2010 20:35, schrieb Berk Geveci:
<blockquote
cite="mid:45d654b1002191135o759f0913rd3034c5423c22add@mail.gmail.com"
type="cite">In the next release, this will be very easy to do with the
Python Calculator. It will look like:<br>
<br>
inputs[0].PointData['some_array'] - inputs[1].PointData['some_array']<br>
<br>
-berk<br>
<br>
<div class="gmail_quote">On Fri, Feb 19, 2010 at 1:32 PM, David E
DeMarle <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The
calculator will not accept multiple inputs, so if you want to use<br>
it you will have to append the data first, which makes it hard to<br>
compare side by side.<br>
<br>
You should consider using the python programmable filter instead. It<br>
will accept multiple inputs (there was a post earlier this week on the<br>
mailing list descriing how to access each one) and there are examples<br>
on the wiki of scripts which iterate through the geometry of its<br>
input.<br>
<br>
David E DeMarle<br>
Kitware, Inc.<br>
R&D Engineer<br>
28 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: 518-371-3971 x109<br>
<div>
<div class="h5"><br>
<br>
<br>
On Fri, Feb 19, 2010 at 1:29 PM, Matthew Cragun <<a
moz-do-not-send="true" href="mailto:mcragun@totalsim.us">mcragun@totalsim.us</a>>
wrote:<br>
> I have two separate meshes that are similar, but have slight
differences.<br>
> They have the same number of points. I would like to use the
calculator to<br>
> create an array of the distances between corresponding point ID's
in the two<br>
> meshes. How can I access the coordinate values from each mesh
using<br>
> calculator?<br>
><br>
> For Example, in my calculator I would like:<br>
><br>
> Result Array Name= Distance<br>
> Function: Mag(mesh1.coords-mesh2.coords)<br>
><br>
><br>
> --<br>
> Matt Cragun<br>
><br>
> Engineer<br>
> TotalSim LLC<br>
> 7003 Post Road,<br>
> Suite 415<br>
> Dublin, Ohio 43016<br>
> O: (614) 255-7426<br>
> M: (801) 404-6021<br>
> E: <a moz-do-not-send="true" href="mailto:mcragun@totalsim.us">mcragun@totalsim.us</a><br>
><br>
</div>
</div>
> _______________________________________________<br>
> Powered by <a moz-do-not-send="true" href="http://www.kitware.com"
target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a moz-do-not-send="true"
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:<br>
> <a moz-do-not-send="true" href="http://paraview.org/Wiki/ParaView"
target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a moz-do-not-send="true"
href="http://www.paraview.org/mailman/listinfo/paraview"
target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
><br>
_______________________________________________<br>
Powered by <a moz-do-not-send="true" href="http://www.kitware.com"
target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a moz-do-not-send="true"
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
moz-do-not-send="true" href="http://paraview.org/Wiki/ParaView"
target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true"
href="http://www.paraview.org/mailman/listinfo/paraview"
target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<br>
</body>
</html>