Salome HOME
Copyright update 2020
[plugins/hexoticplugin.git] / src / HexoticPlugin / HexoticPlugin_i.cxx
index d9c9ff6dc65c6e316bdad0a13ddec4dbaa379f1f..9a0db043bf446ed584fa987419e5380e5dd0758b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2020  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
@@ -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 ;