One other question:<br><br>If I take this one step further, is it possible to send the data at the current time step to the PPF?<br><br>For example I have a mesh deforming in time (ob1) that is being compared to a baseline with no time data (ob2). All of the nodes are similar. After looking at some of the previous threads, it looks like I can access the data for the temporal set with:<br>
<br> ob1 = self.GetInputDataObject(0,0).GetTimeStep(0)<br> ob2 = self.GetinputDataObject(0,1)<br> some calculation of ob1.t0 and ob2<br><br>This hasn't seemed to work quite right however, as Paraview 3.6.2 doesn't recognize the "GetTimeStep()" portion. Are there any suggestions?<br>
<br>Also, in the end I would like to animate this. Each time step, I would like the PPF to update to the current time step. So is it possible to say something equivalent to:<br><br> ob1 = self.GetInputDataObject(0,0).GetCurrentTimeStep()<br>
ob2 = self.GetinputDataObject(0,1)<br> some calculation of ob1.tcurrent and ob2<br><br>Are there any recommended documentation resources for the Python api available in the PPF?<br><br>Thanks,<br><br>Matt<br><br>
On Mon, Feb 22, 2010 at 8:10 AM, Matthew Cragun <span dir="ltr"><<a href="mailto:mcragun@totalsim.us">mcragun@totalsim.us</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">I am using one mesh that is deforming in time. So node1.mesh2 is the the same node as node1.mesh1, just in a different location in space.<br><br>But your point is well made that if I were using unrelated meshes (i.e. roughly similar geometry but with a different number of nodes in each mesh) finding the closest node would be a good way to go.<br>
<br>Best Regards,<br clear="all"><br>-- <br></div><div><div></div><div class="h5">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 href="mailto:mcragun@totalsim.us" target="_blank">mcragun@totalsim.us</a><br>
</div></div></blockquote></div><br><br clear="all"><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 href="mailto:mcragun@totalsim.us">mcragun@totalsim.us</a><br>