]> SALOME platform Git repositories - plugins/hexoticplugin.git/blobdiff - src/HexoticPlugin/HexoticPlugin_i.cxx
Salome HOME
updated copyright message
[plugins/hexoticplugin.git] / src / HexoticPlugin / HexoticPlugin_i.cxx
index d9c9ff6dc65c6e316bdad0a13ddec4dbaa379f1f..9d67699af6708b72e47d79e02989bb9b6d0a7133 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -51,12 +51,13 @@ 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 ;
 
     return aCreator;
   }