Awesome! Using the cell locator is slower but it should always work with this type of mesh.<br><br><div class="gmail_quote">On Thu, Feb 11, 2010 at 7:20 PM, da <span dir="ltr"><<a href="mailto:remywendy@gmail.com">remywendy@gmail.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;">Using the nightly works for my case. Thanks Berk!<div><div></div><div class="h5"><div><br></div>
<div><br><br><div class="gmail_quote">On Thu, Feb 11, 2010 at 3:31 PM, da <span dir="ltr"><<a href="mailto:remywendy@gmail.com" target="_blank">remywendy@gmail.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;">Hey Berk, <div><br></div><div>I am not using the development version. I will try that next (what is the development version? Is this a CMAKE flag when compiling VTK?). I have tested my file with Paraview's streamtracer (using the same integration units, and even smaller integration units), and it does not have this problem regardless of what integration unit I use. Is this because Paraview applies a filter before stream tracer? (I noticed it took a much longer time to do it in Paraview). </div>
<div><br></div><div>Here is the latest thing I've tried: I was thinking that it had to do with the tolerance (const double vtkInterpolatedVelocityField::TOLERANCE_SCALE = 1.0E-8; ) when calling FindCell(), so I implemented a subclass of vtkInterpolatedVelocityField that used a tolerance of 1E-03 which didn't change a thing - so it seems to be a problem with vtkPointSet's FindCell method?</div>
<div><br></div><div>I'll let you know if the development version improves things.</div><div><br></div><div>Thanks,</div><div>Da<div><div></div><div><br><br><div class="gmail_quote">On Thu, Feb 11, 2010 at 3:01 PM, Berk Geveci <span dir="ltr"><<a href="mailto:berk.geveci@kitware.com" target="_blank">berk.geveci@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;">This is a known issue for which we now have a solution (crossing fingers). Are you using the development version of VTK? If yes, try calling SetInterpolatorType(vtkStreamTracer::INTERPOLATOR_WITH_CELL_LOCATOR)<br>
<br>Please let me know whether this works or not.<br>
<br>Best,<br>-berk<br><br><div class="gmail_quote"><div><div></div><div>On Thu, Feb 11, 2010 at 3:33 PM, da <span dir="ltr"><<a href="mailto:remywendy@gmail.com" target="_blank">remywendy@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>
Hey guys,<div><br></div><div>I have a single structured grid that is split in the middle (see picture). When I try to run a vtkStreamTracer through it, the stream lines will be cut off at this boundary if the Integration Unit is set too fine. However, if I make the integration unit big enough so that the line goes through okay, I lose too much resolution elsewhere. I tried using a vtkConnectivityFilter before the stream tracer, but it didn't seem to connect the cells on the boundary. Any ideas?</div>
<div><br></div><font color="#888888"><div>-Da</div><div><br></div>
</font><br></div></div><div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br></div>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><div><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
</div><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br>