Hello all,<br><br>I use ComputePointId function and it looks like it has a bug.<br>My i, j, k go from 0 to n.<br>When n is the dimension of the grid.<br>(I have the same dimension for x,y and z axes)<br>3 nested loops.<br>
Inside I call the function:<br>p = Grid-&gt;ComputePointId(ijk);<br><br>When I printed the values of p.<br>I didn&#39;t get the expected 0..n^3.<br><br>While <br>p = i*dimension*dimension + j*dimension + k;<br>worked fine.<br>
<br>Did anybody have the same problem?<br>Or maybe I just don&#39;t use the function correctly...<br><br><br>Thank you,<br>Uliana<br>