]> SALOME platform Git repositories - modules/gui.git/commit
Salome HOME
Improve smesh GUI display() speed for viewing mesh
authorAfeef <afeef.badri@gmail.com>
Tue, 30 Mar 2021 12:08:25 +0000 (14:08 +0200)
committerChristophe Bourcier <christophe.bourcier@cea.fr>
Thu, 15 Apr 2021 06:36:00 +0000 (08:36 +0200)
commitcef1a8c26271998ff9a7e2a2b554010743242231
tree691ba766db3b5d4ac1a967964a4d6ce279882432
parent1422da8b1bbed7ca75d7c4ed422934f4ca35cdbd
Improve smesh GUI display() speed for viewing mesh

Primarily, VTKViewer_GeometryFilter
is delegated  to  vtkGeometryFilter
used by ParaView.

At this point  typical  performance improvements are 5-10x over
the mesh display, this  dependes if  multithreaded  version  of
ParaView (consequently VTK) is used or not

Use old routines for nonlinear cells (quadratic 1D and 2D):
This should fix arc visulization
for quadratic elements

Bypass to old method for Polyhedron datat:
Multi-threding of VTK causes problems
for Polyhedron data, the code at  the
moment does not seem  stable.  To  be
investigated in future, if VTK can be
patched.

Addition to non-delegation list:
Add all 3d quadratic, biquadratic and
triquadratic elements to the list  of
elements  which  have  to  be handled
natively.
src/VTKViewer/VTKViewer_GeometryFilter.cxx
src/VTKViewer/VTKViewer_GeometryFilter.h