From 1e54d14b39fae2c32a24a538ea8c9846e96a401f Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 5 Apr 2013 10:47:52 +0000 Subject: [PATCH] Restore documentation of methods dynamically added by plug-ins to the Mesh class, killed by previous integration --- src/NETGENPlugin/NETGENPluginBuilder.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/NETGENPlugin/NETGENPluginBuilder.py b/src/NETGENPlugin/NETGENPluginBuilder.py index 5cb5758..11369c7 100644 --- a/src/NETGENPlugin/NETGENPluginBuilder.py +++ b/src/NETGENPlugin/NETGENPluginBuilder.py @@ -172,7 +172,7 @@ class NETGEN_Algorithm(Mesh_Algorithm): ## Tetrahedron 1D-2D-3D algorithm. # -# It can be created by calling smeshBuilder.Mesh.Tetrahedron( smesh.NETGEN_1D2D3D, geom=0 ). +# It can be created by calling smeshBuilder.Mesh.Tetrahedron( smeshBuilder.NETGEN_1D2D3D, geom=0 ). # This algorithm generates all 1D (edges), 2D (faces) and 3D (volumes) elements # for given geometrical shape. class NETGEN_1D2D3D_Algorithm(NETGEN_Algorithm): @@ -262,7 +262,7 @@ class NETGEN_1D2D3D_Algorithm(NETGEN_Algorithm): ## Triangle NETGEN 1D-2D algorithm. # -# It can be created by calling smeshBuilder.Mesh.Triangle( smesh.NETGEN_1D2D, geom=0 ) +# It can be created by calling smeshBuilder.Mesh.Triangle( smeshBuilder.NETGEN_1D2D, geom=0 ) # # This algorithm generates 1D (edges) and 2D (faces) elements # for given geometrical shape. @@ -291,7 +291,7 @@ class NETGEN_1D2D_Algorithm(NETGEN_1D2D3D_Algorithm): ## Triangle NETGEN 2D algorithm # -# It can be created by calling smeshBuilder.Mesh.Triangle( smesh.NETGEN_2D, geom=0 ) +# It can be created by calling smeshBuilder.Mesh.Triangle( smeshBuilder.NETGEN_2D, geom=0 ) # # This algorithm generates only 2D (faces) elements for given geometrical shape # and, in contrast to NETGEN_1D2D_Algorithm class, should be used in conjunction @@ -368,7 +368,7 @@ class NETGEN_2D_Only_Algorithm(NETGEN_Algorithm): ## Tetrahedron 3D algorithm # -# It can be created by calling smeshBuilder.Mesh.Tetrahedron() or smeshBuilder.Mesh.Tetrahedron( smesh.NETGEN, geom=0 ) +# It can be created by calling smeshBuilder.Mesh.Tetrahedron() or smeshBuilder.Mesh.Tetrahedron( smeshBuilder.NETGEN, geom=0 ) # # This algorithm generates only 3D (volumes) elements for given geometrical shape # and, in contrast to NETGEN_1D2D3D_Algorithm class, should be used in conjunction @@ -415,11 +415,11 @@ class NETGEN_3D_Algorithm(NETGEN_Algorithm): ## Triangle (helper) 1D-2D algorithm # # This is the helper class that is used just to allow creating of create NETGEN_1D2D algorithm -# by calling smeshBuilder.Mesh.Triangle( smesh.NETGEN, geom=0 ); this is required for backward compatibility +# by calling smeshBuilder.Mesh.Triangle( smeshBuilder.NETGEN, geom=0 ); this is required for backward compatibility # with old Python scripts. # # @note This class (and corresponding smeshBuilder.Mesh function) is obsolete; -# use smeshBuilder.Mesh.Triangle( smesh.NETGEN_1D2D, geom=0 ) instead. +# use smeshBuilder.Mesh.Triangle( smeshBuilder.NETGEN_1D2D, geom=0 ) instead. class NETGEN_1D2D_Algorithm_2(NETGEN_1D2D_Algorithm): ## name of the dynamic method in smeshBuilder.Mesh class @@ -444,7 +444,7 @@ class NETGEN_1D2D_Algorithm_2(NETGEN_1D2D_Algorithm): # by calling smeshBuilder.Mesh.Netgen(); this is required for backward compatibility with old Python scripts. # # @note This class (and corresponding smeshBuilder.Mesh function) is obsolete; -# use smeshBuilder.Mesh.Tetrahedron( smesh.NETGEN_1D2D3D, geom=0 ) instead. +# use smeshBuilder.Mesh.Tetrahedron( smeshBuilder.NETGEN_1D2D3D, geom=0 ) instead. class NETGEN_1D2D3D_Algorithm_2(NETGEN_1D2D3D_Algorithm): ## name of the dynamic method in smeshBuilder.Mesh class -- 2.39.2