From: eap Date: Mon, 3 Oct 2016 15:00:03 +0000 (+0300) Subject: 23352: [CEA] Order and naming of meshing algorithms X-Git-Tag: V8_2_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=880fcb3a889a5cb7a9f11369a0971c256f7dc593;p=plugins%2Fhybridplugin.git 23352: [CEA] Order and naming of meshing algorithms --- diff --git a/resources/HYBRIDPlugin.xml b/resources/HYBRIDPlugin.xml index 7a642e9..2da42e3 100644 --- a/resources/HYBRIDPlugin.xml +++ b/resources/HYBRIDPlugin.xml @@ -25,16 +25,16 @@ - + gui-lib ="HYBRIDPluginGUI"> - + SetEnforcedVertex, @@ -54,13 +54,15 @@ - + dim ="3"> HYBRID_3D=Tetrahedron(algo=smeshBuilder.HYBRID) HYBRID_Parameters=Parameters() diff --git a/src/HYBRIDPlugin/HYBRIDPluginBuilder.py b/src/HYBRIDPlugin/HYBRIDPluginBuilder.py index 1d859f5..7a66586 100644 --- a/src/HYBRIDPlugin/HYBRIDPluginBuilder.py +++ b/src/HYBRIDPlugin/HYBRIDPluginBuilder.py @@ -53,9 +53,10 @@ Generation_Tetra_Dominant, Generation_Hexa_Dominant = 0,1 #---------------------------- ## Algorithm type: HYBRID tetra-hexahedron 3D algorithm, see HYBRID_Algorithm -HYBRID = "HYBRID_3D" +MG_Hybrid = "HYBRID_3D" +HYBRID = MG_Hybrid -## Tetrahedron HYBRID 3D algorithm +## MG-Hybrid 3D algorithm # # It can be created by calling smeshBuilder.Mesh.Tetrahedron( smeshBuilder.HYBRID, geom=0 ) class HYBRID_Algorithm(Mesh_Algorithm): @@ -65,7 +66,7 @@ class HYBRID_Algorithm(Mesh_Algorithm): meshMethod = "Tetrahedron" ## type of algorithm used with helper function in smeshBuilder.Mesh class # @internal - algoType = HYBRID + algoType = MG_Hybrid ## doc string of the method in smeshBuilder.Mesh class # @internal docHelper = "Creates tetrahedron 3D algorithm for volumes"