Salome HOME
23352: [CEA] Order and naming of meshing algorithms
authoreap <eap@opencascade.com>
Mon, 3 Oct 2016 14:57:36 +0000 (17:57 +0300)
committereap <eap@opencascade.com>
Mon, 3 Oct 2016 14:57:36 +0000 (17:57 +0300)
resources/GHS3DPlugin.xml
src/GHS3DPlugin/GHS3DPlugin_Hypothesis_i.cxx

index 0ab10602a1460a04b7fd2ee1859d36778b7ea4ec..684b313c53833d9d919f8147c577bf690f9f152b 100644 (file)
 
 <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,
   </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>
index dd3239f6c4f2d6ebb419d53f7e48aa3f60901e4e..acc6472785971e1862b064aa186685f2f33fc066 100644 (file)
@@ -58,8 +58,8 @@ GHS3DPlugin_Hypothesis_i::GHS3DPlugin_Hypothesis_i (PortableServer::POA_ptr theP
 {
   MESSAGE( "GHS3DPlugin_Hypothesis_i::GHS3DPlugin_Hypothesis_i" );
   myBaseImpl = new ::GHS3DPlugin_Hypothesis (theGenImpl->GetANewId(),
-                                              theStudyId,
-                                              theGenImpl);
+                                             theStudyId,
+                                             theGenImpl);
 }
 
 //=======================================================================