[vtkusers] Fwd: crash trying to use FindCells

Wagner Sales wsales at gmail.com
Fri Jun 6 13:06:30 EDT 2008


Forwarding. I was not looked at address bar before send. Sorry.

---------- Forwarded message ----------
From: Wagner Sales <wsales at gmail.com>
Date: 2008/6/6
Subject: Re: [vtkusers] crash trying to use FindCells
To: Karl Merkley <karl at elemtech.com>


Hi Karl,

In the line 58 you are declaring a pointer to *weights, but that's is not an
array, just a null pointer ( i think ).
Try to do this:
double *weigths = new double[4];

I'm doing this on my code to search cell and are ok.

I hope thats helps,

Regards,

Wagner Sales

2008/6/6 Karl Merkley <karl at elemtech.com>:

> 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.
>
>  TIA,
>       Karl
>
>
>
>
>
>
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080606/3dddc2dc/attachment.htm>


More information about the vtkusers mailing list