[visit-developers] corrupt "links" in vtk unstructured grid?

Meredith, Jeremy S. jsmeredith at ornl.gov
Thu Oct 16 17:47:36 EDT 2008


So why isn't ->Links correct on a shallow copy of a data set?  If the
connectivity is a copy, wouldn't a copy of Links be correct?  (Or does
it use pointers....?)


--
Jeremy Meredith
Oak Ridge National Laboratory


> -----Original Message-----
> From: visit-developers-bounces at email.ornl.gov
[mailto:visit-developers-
> bounces at email.ornl.gov] On Behalf Of Cyrus D. Harrison
> Sent: Thursday, October 16, 2008 5:42 PM
> To: VisIt Developers
> Subject: Re: [visit-developers] corrupt "links" in vtk unstructured
> grid?
> 
> Jeremy,
> I haven't run into this specifically, but it doesn't surprise me - I
> ran
> into a nasty case
> were a shallow copy of a dataset copied the links  - which were not
> even
> close to valid
> for new dataset created.  So my experience is the use of the links
data
> is not consistent and
> can cause extreme excitement. (Of course they are very useful when
they
> actually work)
> -Cyrus
> 
> 
> Kathleen Bonnell wrote:
> > Jeremy,
> >
> > I believe this is needed in order to extract connectivity
> information,
> > it is used in several filters in VisIt.
> >
> > Is your use case a newly constructed grid?
> >
> > Kathleen
> >
> >
> >
> > On Thursday 16 October 2008 13:48, Meredith, Jeremy S. wrote:
> >
> >> Has anyone ever come across this before?
> >>
> >>
> >>
> >> I've gotten into a situation where I need to add a call to
> "BuildLinks"
> >> before calling "GetPointCells"  (this is in the cell data to point
> data
> >> recentering filter).  If I don't, it appears to just be reading
> random
> >> uninitialized point ID's for this case.
> >>
> >>
> >>
> >> (I recall something similar to this, but I'm thinking it's about
> >> "InitTraversal", not BuildLinks.)
> >>
> >>
> >>
> >> --
> >>
> >> Jeremy Meredith
> >>
> >> Oak Ridge National Laboratory
> >>
> >
> >
> >



More information about the visit-developers mailing list