<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Dear all, <br>
    <br>
    I have developped a C++ program that uses an instance of the VTK
    class <a class="el"
href="http://www.vtk.org/doc/nightly/html/classvtkInterpolatedVelocityField.html"
      title="A concrete class for obtaining the interpolated velocity
      values at a point.">vtkInterpolatedVelocityField.</a><br>
    Most of the time is spent obtaining the interpolated velocity values
    at a point, which represents the bootleneck of my program.<br>
    I have noticed that some requests are performed several times.<br>
    I was wondering if I could store the requests performed and stored
    their results.<br>
    Each time, a new request is done, I would check if it has not been
    already evaluated, hoping that it will save some time.<br>
    <br>
    To sum up, I need to store each request made, store the result
    provided by <a class="el"
href="http://www.vtk.org/doc/nightly/html/classvtkInterpolatedVelocityField.html"
      title="A concrete class for obtaining the interpolated velocity
      values at a point.">vtkInterpolatedVelocityField</a>, and search
    if a request was already made.<br>
    <br>
    Is there any mechanism in vtk to do such a job?<br>
    I was thinking of stl map container to do so, with a specific
    compare function working on an array of three doubles (x,y,z). (No
    time involved in my problem)<br>
    Do you have advise to give me to deal with accuracy of the points.<br>
    <br>
    Best regards<br>
    Guillaume Jacquenot<br>
  </body>
</html>