From 880fcb3a889a5cb7a9f11369a0971c256f7dc593 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 3 Oct 2016 18:00:03 +0300 Subject: [PATCH] 23352: [CEA] Order and naming of meshing algorithms --- resources/HYBRIDPlugin.xml | 26 +++++++++++++------------ src/HYBRIDPlugin/HYBRIDPluginBuilder.py | 7 ++++--- 2 files changed, 18 insertions(+), 15 deletions(-) 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" -- 2.39.2