]> SALOME platform Git repositories - modules/smesh.git/blobdiff - idl/SMESH_Homard.idl
Salome HOME
Simplify interface
[modules/smesh.git] / idl / SMESH_Homard.idl
index 10d190326d5e257736c1bae8e2c7df0d3daac002..b1d4c27a585c79ab3f738c4005f66b3d4016525e 100644 (file)
@@ -39,8 +39,6 @@ module SMESHHOMARD
     void     SetName(in string Name)         raises (SALOME::SALOME_Exception);
     string   GetName()                       raises (SALOME::SALOME_Exception);
 
-    string   GetDumpPython()                 raises (SALOME::SALOME_Exception);
-
     // Caracteristiques
     void     SetType (in long Type)          raises (SALOME::SALOME_Exception);
     long     GetType()                       raises (SALOME::SALOME_Exception);
@@ -82,17 +80,11 @@ module SMESHHOMARD
     void       SetGroups(in ListGroupType ListGroup)       raises (SALOME::SALOME_Exception);
     ListGroupType GetGroups()                              raises (SALOME::SALOME_Exception);
 
-    // Liens avec les autres iterations
-    void     SetCaseCreation(in string NomCas)             raises (SALOME::SALOME_Exception);
-    string   GetCaseCreation()                             raises (SALOME::SALOME_Exception);
+    string   GetDumpPython()                 raises (SALOME::SALOME_Exception);
   };
 
   interface HOMARD_Cas : SALOME::GenericObj
   {
-    string GetName() raises (SALOME::SALOME_Exception);
-    string GetDumpPython() raises (SALOME::SALOME_Exception);
-
-    // Caracteristiques
     void     SetDirName(in string NomDir) raises (SALOME::SALOME_Exception);
     string   GetDirName()                 raises (SALOME::SALOME_Exception);
 
@@ -108,10 +100,13 @@ module SMESHHOMARD
                               in string Group) raises (SALOME::SALOME_Exception);
     ListBoundaryGroupType GetBoundaryGroup() raises (SALOME::SALOME_Exception);
     void SupprBoundaryGroup() raises (SALOME::SALOME_Exception);
+
+    string GetDumpPython() raises (SALOME::SALOME_Exception);
   };
 
   interface HOMARD_Gen : SALOME::GenericObj
   {
+    // Create boundaries
     HOMARD_Boundary CreateBoundaryCAO (in string BoundaryName, in string FileName)
       raises(SALOME::SALOME_Exception);
     HOMARD_Boundary CreateBoundaryDi (in string BoundaryName, in string MeshName,
@@ -143,7 +138,7 @@ module SMESHHOMARD
                                          in double RadiusRev, in double RadiusPri)
       raises (SALOME::SALOME_Exception);
 
-    // CreateCase
+    // Set mesh (SMESH_Mesh object or MED file) and working directory
     HOMARD_Cas CreateCaseOnMesh(in string MeshName,
                                 in SMESH::SMESH_Mesh smeshMesh,
                                 in string theWorkingDir) raises(SALOME::SALOME_Exception);
@@ -151,27 +146,14 @@ module SMESHHOMARD
                           in string FileName,
                           in string theWorkingDir) raises(SALOME::SALOME_Exception);
 
-    // A.2. Information
-    HOMARD_Boundary  GetBoundary(in string BoundaryName) raises (SALOME::SALOME_Exception);
-    HOMARD_Cas       GetCase() raises (SALOME::SALOME_Exception);
-    listeBoundarys   GetAllBoundarysName()  raises (SALOME::SALOME_Exception);
-
-    void InvalideBoundary (in string BoundaryName) raises (SALOME::SALOME_Exception);
-
-    long DeleteBoundary (in string BoundaryName) raises (SALOME::SALOME_Exception);
-    long DeleteCase() raises (SALOME::SALOME_Exception);
-    void CleanCase() raises (SALOME::SALOME_Exception);
-
+    // Associate boundaries to groups
     void AddBoundaryGroup(in string BoundaryName,
                           in string Group) raises (SALOME::SALOME_Exception);
 
-    long Compute() raises (SALOME::SALOME_Exception);
-
-    string CreateDirNameIter (in string NomDir, in long num)
-      raises (SALOME::SALOME_Exception);
-
-    void PublishResultInSmesh (in string FileName, in long Option)
-      raises (SALOME::SALOME_Exception);
+    // Information
+    HOMARD_Boundary  GetBoundary(in string BoundaryName) raises (SALOME::SALOME_Exception);
+    HOMARD_Cas       GetCase() raises (SALOME::SALOME_Exception);
+    listeBoundarys   GetAllBoundarysName()  raises (SALOME::SALOME_Exception);
 
     //  Preferences
     void SetConfType(in long ConfType) raises (SALOME::SALOME_Exception);
@@ -185,6 +167,14 @@ module SMESHHOMARD
     void SetLogInFile (in boolean theLogInFile);
     void SetLogFile (in string theFileName) raises (SALOME::SALOME_Exception);
     void SetRemoveLogOnSuccess (in boolean theRemoveLogOnSuccess);
+
+    // Computation
+    long Compute() raises (SALOME::SALOME_Exception);
+
+    // Clean data
+    void InvalideBoundary (in string BoundaryName) raises (SALOME::SALOME_Exception);
+    long DeleteBoundary (in string BoundaryName) raises (SALOME::SALOME_Exception);
+    void DeleteCase() raises (SALOME::SALOME_Exception);
   };
 
 }; // module SMESHHOMARD