Salome HOME
IMP23373: [CEA 1170] Optimization of a 3D mesh using MG-Tetra
[plugins/ghs3dplugin.git] / resources / GHS3DPlugin.xml
index fbf6dbd399256fe4043e329c7eb743fc66b1eb41..1989d2087be54e9f0298dec71fa602436cf13e5c 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='us-ascii'?>
 <!DOCTYPE meshers PUBLIC "" "desktop.dtd">
 <!--
-  Copyright (C) 2004-2015  CEA/DEN, EDF R&D
+  Copyright (C) 2004-2016  CEA/DEN, EDF R&D
 
   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
 
 <meshers>
 
-<meshers-group name="GHS3D"
-               resources="GHS3DPlugin"
+<meshers-group name      ="GHS3D"
+               resources ="GHS3DPlugin"
                idl-module="GHS3DPlugin"
                server-lib="GHS3DEngine"
-               gui-lib="GHS3DPluginGUI">
+               gui-lib   ="GHS3DPluginGUI">
   <hypotheses>
-    <hypothesis type="MG-Tetra Parameters"
+    <hypothesis type    ="MG-Tetra Parameters"
                label-id="MG-Tetra Parameters"
-               icon-id="mesh_hypo_ghs3d.png"
-               dim="3">
+               icon-id ="mesh_hypo_ghs3d.png"
+               dim     ="3">
       <python-wrap>
         <accumulative-methods>
           SetEnforcedVertex,
         </accumulative-methods>
       </python-wrap>
     </hypothesis>
+
+    <hypothesis type    ="MG-Tetra Optimization Parameters"
+                label-id="MG-Tetra Optimization Parameters"
+                icon-id ="mesh_hypo_ghs3d.png"
+                dim     ="3">
+    </hypothesis>
+
   </hypotheses>
 
   <algorithms>
-    <algorithm type="MG-Tetra"
-               label-id="MG-Tetra"
-               icon-id="mesh_tree_hypo_ghs3d.png"
-               input="TRIA,QUAD"
-               output="TETRA,PYRAMID"
+    <algorithm type     ="MG-Tetra"
+               label-id ="MG-Tetra"
+               icon-id  ="mesh_tree_hypo_ghs3d.png"
+               group-id ="1"
+               priority ="30"
+               input    ="TRIA,QUAD"
+               output   ="TETRA,PYRAMID"
               need-geom="false"
                opt-hypos="MG-Tetra Parameters,ViscousLayers"
-               dim="3">
+               dim      ="3">
       <python-wrap>
         <algo>MG-Tetra=Tetrahedron(algo=smeshBuilder.MG_Tetra)</algo>
         <hypo>MG-Tetra Parameters=Parameters()</hypo>
       </python-wrap>
     </algorithm>
 
+    <algorithm type     ="MG-Tetra Optimization"
+               label-id ="MG-Tetra Optimization"
+               icon-id  ="mesh_tree_hypo_ghs3d.png"
+               group-id ="2"
+               input    ="TETRA"
+               output   ="TETRA"
+               need-geom="never"
+               opt-hypos="MG-Tetra Optimization Parameters"
+               dim      ="3">
+      <python-wrap>
+        <algo>MG-Tetra Optimization=Tetrahedron(algo=smeshBuilder.MG_Tetra_Optimization)</algo>
+        <hypo>MG-Tetra Optimization Parameters=Parameters()</hypo>
+      </python-wrap>
+    </algorithm>
+
   </algorithms>
 </meshers-group>