Forwarding. I was not looked at address bar before send. Sorry.<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Wagner Sales</b> <<a href="mailto:wsales@gmail.com">wsales@gmail.com</a>><br>
Date: 2008/6/6<br>Subject: Re: [vtkusers] crash trying to use FindCells<br>To: Karl Merkley <<a href="mailto:karl@elemtech.com">karl@elemtech.com</a>><br><br><br>Hi Karl,<br><br>In the line 58 you are declaring a pointer to *weights, but that's is not an array, just a null pointer ( i think ).<br>
Try to do this:<br>double *weigths = new double[4];<br><br>I'm doing this on my code to search cell and are ok.<br>
<br>I hope thats helps,<br><br>Regards,<br><br>Wagner Sales<br><br><div class="gmail_quote">2008/6/6 Karl Merkley <<a href="mailto:karl@elemtech.com" target="_blank">karl@elemtech.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">
I'm getting a crash when I try to use FindCells. It may very well be that I just don't know what I'm doing! I'm attaching a small sample case that shows the kind of thing I'd like to be able to do. I'd appreciate any pointers.<br>
<br>
TIA,<br><font color="#888888">
Karl<br>
<br>
</font><br><br>
<br>
<br>
<br>
<br>
<br></div>_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>
</div><br>