Salome HOME
COTECH: Update names of DISTENE products
authoreap <eap@opencascade.com>
Tue, 9 Sep 2014 10:17:24 +0000 (14:17 +0400)
committereap <eap@opencascade.com>
Tue, 9 Sep 2014 10:17:24 +0000 (14:17 +0400)
BLSURF -> MG-CADSurf
GHS3D -> MG-Tetra
Hexotic -> MG-Hexa

and

GHS3DPRL -> MG-Tetra Parallel

12 files changed:
doc/salome/gui/HexoticPLUGIN/input/hexotic_hypo.doc
doc/salome/gui/HexoticPLUGIN/input/hexoticplugin_python_interface.doc
doc/salome/gui/HexoticPLUGIN/input/index.doc
resources/HexoticPLUGIN.xml
src/GUI/HexoticPLUGIN_images.ts
src/GUI/HexoticPLUGIN_msg_en.ts
src/GUI/HexoticPluginGUI.cxx
src/HexoticPlugin/HexoticPLUGINBuilder.py
src/HexoticPlugin/HexoticPlugin_Hexotic.cxx
src/HexoticPlugin/HexoticPlugin_Hypothesis.cxx
src/HexoticPlugin/HexoticPlugin_Hypothesis.hxx
src/HexoticPlugin/HexoticPlugin_i.cxx

index 3e5df461ecd63ca89d31996653687f82101e386d..23c33f7942e83b2ced4988188b784c89d0b808da 100644 (file)
@@ -1,8 +1,8 @@
 /*!
 
-\page hexotic_hypo_page Hexotic Parameters hypothesis
+\page hexotic_hypo_page MG-Hexa Parameters hypothesis
 
-\n Hexotic Parameters hypothesis works only with <b>Hexotic</b> 
+\n MG-Hexa Parameters hypothesis works only with <b>MG-Hexa</b> 
 algorithm. This algorithm is a commercial software.
 \n To get a licence, visit http://www.distene.com/en/corp/eval-distene.html
 
@@ -11,7 +11,7 @@ algorithm. This algorithm is a commercial software.
 \image html hexotic_parameters.png
 
 <ul>
-<li><b>Name</b> - allows to define the name of the hypothesis (Hexotic 
+<li><b>Name</b> - allows to define the name of the hypothesis (MG-Hexa 
 Parameters by default).</li>
 
 <li><b>Min size</b> - allows defining the minimal size of the elements (overrides "Nb. Hexes Max Level" value).</li>
@@ -53,10 +53,10 @@ Parameters by default).</li>
 </li>
 </ul>
 
-\note If BLSURF is used as 2D algo, and if a GMF file is defined as output file (using SetGMFFile(my2Dmesh.mesh)), then Hexotic will use this file as input.
+\note If BLSURF is used as 2D algo, and if a GMF file is defined as output file (using SetGMFFile(my2Dmesh.mesh)), then MG-Hexa will use this file as input.
 This allows to avoid the reconstruction of the GMF file from the SMESH structure and can improve the global computation time.
 
-<br><b>See Also</b> a sample TUI Script of the \ref tui_hexotic "creation of an Hexotic mesh"
+<br><b>See Also</b> a sample TUI Script of the \ref tui_hexotic "creation of a MG-Hexa mesh"
 
 \section hexotic_local_size_parameters Local size
 
index b71eec5d71871a7717414d47d784dd87c1adce7a..3d8eb013243375bb7f386e44e1cd1543a96ca67a 100644 (file)
@@ -17,12 +17,12 @@ Below you can see an example of usage of the HexoticPLUGINBuilder Python API for
   -# \ref tui_hexotic_sd_mode3
   -# \ref tui_hexotic_sd_mode4
 
-\section tui_hexotic_basic Construction of Mesh using Hexotic algorithm
+\section tui_hexotic_basic Construction of Mesh using MG-Hexa algorithm
 
-<h2>Example of mesh generation with Hexotic algorithm:</h2>
+<h2>Example of mesh generation with MG-Hexa algorithm:</h2>
 \tui_script{hexoticdemo.py}
 
-\image html hexotic_basic_subdivisions_4_8.png Left: Hexotic mesh without hypothesis, right: Hexotic mesh with an hypothesis defined by minl=4 and maxl=8
+\image html hexotic_basic_subdivisions_4_8.png Left: MG-Hexa mesh without hypothesis, right: MG-Hexa mesh with an hypothesis defined by minl=4 and maxl=8
 
 \subsection tui_local_size Local size
 
@@ -33,41 +33,41 @@ Below you can see an example of usage of the HexoticPLUGINBuilder Python API for
 
 \section tui_hexotic_sd_mode Effect of the sub-domain mode
 
-This example illustrates the sub-domain mode of Hexotic.
+This example illustrates the sub-domain mode of MG-Hexa.
 
 \subsection tui_hexotic_sd_mode1 Sub-domain mode = 1
 
-<h2>Example of sub-domain mode 1 with Hexotic algorithm:</h2>
+<h2>Example of sub-domain mode 1 with MG-Hexa algorithm:</h2>
 \tui_script{hexoticsubdom1.py}
 
-\image html hexotic_sd_mode_1.png Hexotic mesh of a box cut by a holed sphere ( sd = 1 )
+\image html hexotic_sd_mode_1.png MG-Hexa mesh of a box cut by a holed sphere ( sd = 1 )
 
 \ref tui_hexotic "Back to top"
 
 \subsection tui_hexotic_sd_mode2 Sub-domain mode = 2
 
-<h2>Example of sub-domain mode 2 with Hexotic algorithm:</h2>
+<h2>Example of sub-domain mode 2 with MG-Hexa algorithm:</h2>
 \tui_script{hexoticsubdom2.py}
 
-\image html hexotic_sd_mode_2.png Hexotic mesh of a box cut by a holed sphere ( sd = 2 )
+\image html hexotic_sd_mode_2.png MG-Hexa mesh of a box cut by a holed sphere ( sd = 2 )
 
 \ref tui_hexotic "Back to top"
 
 \subsection tui_hexotic_sd_mode3 Sub-domain mode = 3
 
-<h2>Example of sub-domain mode 3 with Hexotic algorithm:</h2>
+<h2>Example of sub-domain mode 3 with MG-Hexa algorithm:</h2>
 \tui_script{hexoticsubdom3.py}
 
-\image html hexotic_sd_mode_3.png Hexotic mesh of a box cut by a holed sphere ( sd = 3 )
+\image html hexotic_sd_mode_3.png MG-Hexa mesh of a box cut by a holed sphere ( sd = 3 )
 
 \ref tui_hexotic "Back to top"
 
 \subsection tui_hexotic_sd_mode4 Sub-domain mode = 4
 
-<h2>Example of sub-domain mode 4 with Hexotic algorithm:</h2>
+<h2>Example of sub-domain mode 4 with MG-Hexa algorithm:</h2>
 \tui_script{hexoticsubdom4.py}
 
-\image html hexotic_sd_mode_4.png Hexotic mesh of a box cut by a plane ( On the left, sd = 3: the internal surface is ignored ; on the right sd = 4: all sub-domains are meshed )
+\image html hexotic_sd_mode_4.png MG-Hexa mesh of a box cut by a plane ( On the left, sd = 3: the internal surface is ignored ; on the right sd = 4: all sub-domains are meshed )
 
 \ref tui_hexotic "Back to top"
 
index ec94806faf66235fa978c725e9235b391df166ad..38f90891c9fff76df076ff1466addaba58823b4c 100644 (file)
@@ -6,7 +6,7 @@
 - Meshing 3D geometric entities.
 - Generating 3D meshes from 2D meshes, working without geometrical objects.
 
-\note HexoticPLUGIN plugin uses DISTENE Hexotic commercial meshing
+\note HexoticPLUGIN plugin uses DISTENE MG-Hexa commercial meshing
 software and requires a license at the run time (to work within the
 Mesh module).
 
index 05a0316e45e4f662fe828461325be99c0b6594ee..0d54497719ac0e7c3befbc741a79884461806880 100644 (file)
@@ -31,8 +31,8 @@
                server-lib="HexoticEngine"
                gui-lib="HexoticPluginGUI">
   <hypotheses>
-    <hypothesis type="Hexotic_Parameters"
-    label-id="Hexotic Parameters"
+    <hypothesis type="MG-Hexa Parameters"
+    label-id="MG-Hexa Parameters"
     icon-id="mesh_hypo_Hexotic.png"
     dim="3">
       <python-wrap>
   </hypotheses>
   <algorithms>
 
-    <algorithm type="Hexotic_3D"
-               label-id="Hexahedron (Hexotic)"
+    <algorithm type="MG-Hexa"
+               label-id="MG-Hexa"
                icon-id="mesh_algo_Hexotic.png"
-               hypos="Hexotic_Parameters"
+               hypos="MG-Hexa Parameters"
                input="TRIA,QUAD"
                output="HEXA"
                need-geom="false"
                dim="3">
       <python-wrap>
-        <algo>Hexotic_3D=Hexahedron(algo=smeshBuilder.Hexotic)</algo>
+        <algo>Hexotic_3D=Hexahedron(algo=smeshBuilder.MG_Hexa)</algo>
         <hypo>Hexotic_Parameters=Parameters()</hypo>
       </python-wrap>
     </algorithm>
index 78717e0fe961a42965ad0942102fb69d054683c7..8e7201d630f21bf0d127f1c45da712a7448973ac 100644 (file)
@@ -12,7 +12,7 @@
         <translation>mesh_hypo_Hexotic.png</translation>
     </message>
     <message>
-        <source>ICON_SMESH_TREE_ALGO_Hexotic_2D3D</source>
+        <source>ICON_SMESH_TREE_ALGO_MG-Hexa</source>
         <translation>mesh_tree_algo_Hexotic.png</translation>
     </message>
     <message>
@@ -20,7 +20,7 @@
         <translation>mesh_tree_algo_Hexotic.png</translation>
     </message>
     <message>
-        <source>ICON_SMESH_TREE_HYPO_Hexotic_Parameters</source>
+        <source>ICON_SMESH_TREE_HYPO_MG-Hexa Parameters</source>
         <translation>mesh_tree_hypo_Hexotic.png</translation>
     </message>
     <message>
index 08c7c2141e34874530dec9a24aed30eb216c8cdc..a0eeb3c20f349e16c578198b222c6a73b2944e44 100644 (file)
@@ -5,7 +5,7 @@
     <name>@default</name>
     <message>
         <source>Hexotic_3D_HYPOTHESIS</source>
-        <translation>Hexotic 3D</translation>
+        <translation>MG-Hexa</translation>
     </message>
     <message>
         <source>Hexotic_3D_TITLE</source>
index 2af824614e8c8231d9f12ea4c91e3735c7044861..29f4cf77869d430b33562459aa18e206ce514b9f 100755 (executable)
@@ -35,8 +35,9 @@ extern "C"
   SMESHGUI_GenericHypothesisCreator* GetHypothesisCreator( const QString& aHypType )
   {
     SMESHGUI_GenericHypothesisCreator* aCreator = NULL;
-    if( aHypType=="Hexotic_Parameters" )
-      aCreator =  new HexoticPluginGUI_HypothesisCreator( aHypType );
+    if( aHypType=="Hexotic_Parameters" ||
+        aHypType=="MG-Hexa Parameters")
+      aCreator =  new HexoticPluginGUI_HypothesisCreator( "MG-Hexa Parameters" );
     return aCreator;
   }
 }
index 39e7c39cb181a7d3928906b53de49d6a5dbb8bf6..eef51a11262761857d1b9456df0f01cbf4a3c1b7 100644 (file)
@@ -36,8 +36,9 @@ except ImportError:
 # Mesh algo type identifiers
 #----------------------------
 
-## Algorithm type: Hexotic hexahedron 3D algorithm, see Hexotic_Algorithm
-Hexotic = "Hexotic_3D"
+## Algorithm type: MG-Hexa hexahedron 3D algorithm, see Hexotic_Algorithm
+MG_Hexa = "MG-Hexa"
+Hexotic = MG_Hexa
 
 #----------------------------
 # Algorithms
@@ -119,7 +120,7 @@ class Hexotic_Algorithm(Mesh_Algorithm):
     #  @return hypothesis object
     def Parameters(self):
         if not self.params:
-            self.params = self.Hypothesis("Hexotic_Parameters", [],
+            self.params = self.Hypothesis("MG-Hexa Parameters", [],
                                           "libHexoticEngine.so", UseExisting=0)
             pass
         return self.params
index 588d40888578230d10d280936350189fad01c9b2..4f74c1f4a7cb98b0dba2b3c05414561fa50af815 100644 (file)
@@ -99,14 +99,14 @@ HexoticPlugin_Hexotic::HexoticPlugin_Hexotic(int hypId, int studyId, SMESH_Gen*
   : SMESH_3D_Algo(hypId, studyId, gen)
 {
   MESSAGE("HexoticPlugin_Hexotic::HexoticPlugin_Hexotic");
-  _name = "Hexotic_3D";
+  _name = "MG-Hexa";
   _shapeType = (1 << TopAbs_SHELL) | (1 << TopAbs_SOLID);// 1 bit /shape type
 //   _onlyUnaryInput = false;
   _requireShape = false;
   _iShape=0;
   _nbShape=0;
   _hexoticFilesKept=false;
-  _compatibleHypothesis.push_back("Hexotic_Parameters");
+  _compatibleHypothesis.push_back( HexoticPlugin_Hypothesis::GetHypType() );
 #ifdef WITH_BLSURFPLUGIN
   _blsurfHypo = NULL;
 #endif
@@ -147,7 +147,7 @@ bool HexoticPlugin_Hexotic::CheckBLSURFHypothesis( SMESH_Mesh&         aMesh,
 
   // If a BLSURF hypothesis is applied, get it
   SMESH_HypoFilter blsurfFilter;
-  blsurfFilter.Init( blsurfFilter.HasName( "BLSURF_Parameters" ));
+  blsurfFilter.Init( blsurfFilter.HasName( BLSURFPlugin_Hypothesis::GetHypType() ));
   std::list<const SMESHDS_Hypothesis *> appliedHyps;
   aMesh.GetHypotheses( aShape, blsurfFilter, appliedHyps, false );
 
@@ -155,7 +155,7 @@ bool HexoticPlugin_Hexotic::CheckBLSURFHypothesis( SMESH_Mesh&         aMesh,
     itl = appliedHyps.begin();
     theHyp = (*itl); // use only the first hypothesis
     std::string hypName = theHyp->GetName();
-    if (hypName == "BLSURF_Parameters") {
+    if (hypName == BLSURFPlugin_Hypothesis::GetHypType()) {
       _blsurfHypo = static_cast<const BLSURFPlugin_Hypothesis*> (theHyp);
       ASSERT(_blsurfHypo);
       return true;
@@ -192,7 +192,7 @@ bool HexoticPlugin_Hexotic::CheckHypothesis( SMESH_Mesh&
   theHyp = (*itl); // use only the first hypothesis
 
   std::string hypName = theHyp->GetName();
-  if (hypName == "Hexotic_Parameters") {
+  if (hypName == HexoticPlugin_Hypothesis::GetHypType() ) {
     _hypothesis = static_cast<const HexoticPlugin_Hypothesis*> (theHyp);
     ASSERT(_hypothesis);
     aStatus = SMESH_Hypothesis::HYP_OK;
index 7cb1b7e59b0fee0e0b6afa33ca0e749310f02cbc..22dec1de28f6fe8c3492b7263173be9a7a4d0a29 100644 (file)
@@ -50,7 +50,7 @@ HexoticPlugin_Hypothesis::HexoticPlugin_Hypothesis (int hypId, int studyId,
     _sizeMaps(GetDefaultHexoticSizeMaps())
 {
   MESSAGE("HexoticPlugin_Hypothesis::HexoticPlugin_Hypothesis");
-  _name = "Hexotic_Parameters";
+  _name = GetHypType();
   _param_algo_dim = 3;
 }
 
index 8a733d4def785f6f5ab1ee59835eba82f67fc599..9c3f1968770e98c57b942f28d136e58b86d179c5 100644 (file)
@@ -52,6 +52,8 @@ public:
 
   HexoticPlugin_Hypothesis(int hypId, int studyId, SMESH_Gen* gen);
 
+  static const char* GetHypType() { return "MG-Hexa Parameters"; }
+
   void SetHexesMinLevel(int theVal);
   int GetHexesMinLevel() const { return _hexesMinLevel; }
 
index d9c9ff6dc65c6e316bdad0a13ddec4dbaa379f1f..8ef3514dccd04b29d56070c6b400341faea65fe8 100644 (file)
@@ -51,10 +51,12 @@ extern "C"
     GenericHypothesisCreator_i* aCreator = 0;
 
     // Algorithms
-    if (strcmp(aHypName, "Hexotic_3D") == 0)
+    if (strcmp(aHypName, "Hexotic_3D") == 0 ||
+        strcmp(aHypName, "MG-Hexa") == 0)
       aCreator = new HexoticPlugin_Creator_i<HexoticPlugin_Hexotic_i>;
     // Hypotheses
-    else if (strcmp(aHypName, "Hexotic_Parameters") == 0)
+    else if (strcmp(aHypName, "Hexotic_Parameters") == 0 ||
+             strcmp(aHypName, "MG-Hexa Parameters") == 0)
       aCreator = new HexoticPlugin_Creator_i<HexoticPlugin_Hypothesis_i>;
     else ;