[vtk-developers] Quadratic convenience classes in vtkUnstructuredGrid
Mathieu Malaterre
mathieu.malaterre at gmail.com
Tue May 22 04:15:27 EDT 2007
Hi Ken,
Indeed ! I believe you can track back the change to me at some point
last year. One group (michelin, France) is using a sort of multi-UG to
represent there tires. So they have multiple (= a lot!) vtkUG and they realize
that performance was affected by that. Since they only use a limited
subset of the available vtkCell in VTK and because you do not need
explicit representation of a Cell they submited the patch.
the other cells were proposed by a vtk user, and I guess he
implemented those classes at the time where vtkCell sublcasses would
instanciate everything in the cstor.
I believe this is safe to change the current behavior of the new
Bi/Tri quad cell to copy the behavior of the older quad cell.
2 cents,
-Mathieu
> On 5/21/07, Moreland, Kenneth <kmorel at sandia.gov> wrote:
> > I was doing some debugging and noticed that several of the convenience
> > vtkCell classes for some of the quadratic types (QuadraticLinearQuad,
> > BiQuadraticQuad, etc.) are being instantiated in the vtkUnstructuredGrid
> > constructor whereas all the others are set to NULL until used. Is there
> > a reason for this?
> >
> > -Ken
> >
> > **** Kenneth Moreland
> > *** Sandia National Laboratories
> > ***********
> > *** *** *** email: kmorel at sandia.gov
> > ** *** ** phone: (505) 844-8919
> > *** fax: (505) 845-0833
> >
> >
> > _______________________________________________
> > vtk-developers mailing list
> > vtk-developers at vtk.org
> > http://www.vtk.org/mailman/listinfo/vtk-developers
> >
>
>
> --
> Mathieu
>
--
Mathieu
More information about the vtk-developers
mailing list