<!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">&lt;<a moz-do-not-send="true"
 href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>&gt;</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&amp;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 &lt;<a
 moz-do-not-send="true" href="mailto:mcragun@totalsim.us">mcragun@totalsim.us</a>&gt;
wrote:<br>
&gt; I have two separate meshes that are similar, but have slight
differences.<br>
&gt; They have the same number of points.&nbsp; I would like to use the
calculator to<br>
&gt; create an array of the distances between corresponding point ID's
in the two<br>
&gt; meshes.&nbsp; How can I access the coordinate values from each mesh
using<br>
&gt; calculator?<br>
&gt;<br>
&gt; For Example, in my calculator I would like:<br>
&gt;<br>
&gt; &nbsp;Result Array Name= Distance<br>
&gt; Function:&nbsp; Mag(mesh1.coords-mesh2.coords)<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Matt Cragun<br>
&gt;<br>
&gt; Engineer<br>
&gt; TotalSim LLC<br>
&gt; 7003 Post Road,<br>
&gt; Suite 415<br>
&gt; Dublin, Ohio 43016<br>
&gt; O: (614) 255-7426<br>
&gt; M: (801) 404-6021<br>
&gt; E: <a moz-do-not-send="true" href="mailto:mcragun@totalsim.us">mcragun@totalsim.us</a><br>
&gt;<br>
    </div>
    </div>
&gt; _______________________________________________<br>
&gt; Powered by <a moz-do-not-send="true" href="http://www.kitware.com"
 target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <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>
&gt;<br>
&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt; <a moz-do-not-send="true" href="http://paraview.org/Wiki/ParaView"
 target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <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>
&gt;<br>
&gt;<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>