It was not clear in your email, but I am assuming that the points marked 
invalid are actually inside a cell in the unstructured mesh and should not have 
been marked so.  You also stated that they happen near where the resolution of 
the unstructured grid changes.  That can mean multiple things, but I am 
assuming that you are referring to a discontinuity in the grid where coarse 
cells share a face with multiple finer cells.  If this is the case, then VTK is 
going to have problems because many of its algorithms, including finding the 
cell in which a point belongs, relies on being able to find a cell's neighbors, 
and this is ill defined when you have a discontinuity.

-Ken


On 8/10/10 6:30 PM, "[email protected]" <[email protected]> wrote:

Dear all,

I am using the ResampleWithDataset filter to interpolate values from an
unstructured grid to a grid of equally spaced points.
>From the vtkValidPointMask, I noticed that several of the sampled points
are invalid. The invalid points are found mostly where the resolution of
the unstructured grid changes.

Is there a way to reduce the number of invalid points? And is it correct
to apply the ResampleWithDataset filter on Unstructured Grid, or should I
have converted them to something else first?

Thanks in advance for your help!

Camilla

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview




   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: [email protected]
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to