Salome HOME
Création automatique de schémas YACS à partir d'un cas
[modules/homard.git] / idl / HOMARD_Gen.idl
index b91f3524b6b35002806688ef80c85b81b5fd9c42..49192eaa05b61b98664d0ae244bfa45bf78504c3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2011-2013  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
@@ -44,6 +44,8 @@ module HOMARD
 // A. Les methodes qui suivent sont celles que l'on retrouvera dans
 //    le fichier resources/HOMARDCatalog.xml.in pour definir le composant HOMARD dans YACS
 //    A priori, ce sont les seules sont l'utilisateur doit connaitre l'existence.
+//    ATTENTION : si les noms des arguments changent dans les Createxxxx, il faudra les changer
+//                dans YACSDriver pour assurer la coherence
 //
 // A.1. Les creations
 //
@@ -58,8 +60,22 @@ module HOMARD
                                       in double Xcentre, in double Ycentre, in double Zcentre,
                                       in double Radius)
                                                            raises (SALOME::SALOME_Exception);
+    HOMARD_Boundary   CreateBoundaryConeR (in string BoundaryName,
+                                      in double Xcentre1, in double Ycentre1, in double Zcentre1, in double Radius1,
+                                      in double Xcentre2, in double Ycentre2, in double Zcentre2, in double Radius2)
+                                                           raises (SALOME::SALOME_Exception);
+    HOMARD_Boundary   CreateBoundaryConeA (in string BoundaryName,
+                                      in double Xaxis, in double Yaxis, in double Zaxis, in double Angle,
+                                      in double Xcentre, in double Ycentre, in double Zcentre)
+                                                           raises (SALOME::SALOME_Exception);
     HOMARD_Cas        CreateCase(in string CaseName, in string MeshName, in string FileName )
                                                            raises (SALOME::SALOME_Exception);
+    HOMARD_Cas        CreateCaseFromIteration(in string CaseName, in string DirNameStart )
+                                                           raises (SALOME::SALOME_Exception);
+    HOMARD_Cas        CreateCaseFromCaseLastIteration(in string CaseName, in string DirNameStart )
+                                                           raises (SALOME::SALOME_Exception);
+    HOMARD_Cas        CreateCaseFromCaseIteration(in string CaseName, in string DirNameStart, in long Number )
+                                                           raises (SALOME::SALOME_Exception);
     HOMARD_Hypothesis CreateHypothesis(in string HypoName )
                                                            raises (SALOME::SALOME_Exception);
     HOMARD_Zone       CreateZoneBox (in string ZoneName,
@@ -135,7 +151,8 @@ module HOMARD
     void InvalideZone (in string ZoneName)                 raises (SALOME::SALOME_Exception);
 
     long DeleteBoundary (in string BoundaryName)           raises (SALOME::SALOME_Exception);
-    long DeleteCase(in string CaseName)                    raises (SALOME::SALOME_Exception);
+    long DeleteCase(in string CaseName, in long Option)
+                                                           raises (SALOME::SALOME_Exception);
     long DeleteHypo(in string HypoName)                    raises (SALOME::SALOME_Exception);
     long DeleteIteration(in string IterName, in long Option)
                                                            raises (SALOME::SALOME_Exception);
@@ -152,17 +169,26 @@ module HOMARD
     void DissociateHypoZone(in string HypoName, in string ZoneName)
                                                            raises (SALOME::SALOME_Exception);
 
-    long Compute (in string IterName, in long CleanOption, in long modeHOMARD, in long Option)
+    long Compute (in string IterName, in long CleanOption, in long modeHOMARD, in long Option1, in long Option2)
                                                            raises (SALOME::SALOME_Exception);
 
-    boolean  VerifieDir (in string IterName)               raises (SALOME::SALOME_Exception);
+//
+    string CreateDirNameIter(in string NomDir, in long option )
+                                                           raises (SALOME::SALOME_Exception);
+
+    boolean VerifieDir (in string IterName)                raises (SALOME::SALOME_Exception);
 
+//
     void  PublishFileUnderIteration(in string IterName, in string FileName, in string Comment)
                                                            raises (SALOME::SALOME_Exception);
     void  PublishBoundaryUnderCase(in string CaseName, in string BoundaryName);
     void  PublishResultInSmesh(in string FileName, in long Option)
                                                            raises (SALOME::SALOME_Exception);
 
+//
+    long   WriteYACSSchema(in string CaseName, in string ScriptFile, in string DirName, in string MeshFile)
+                                                           raises (SALOME::SALOME_Exception);
+
   };
 };