Salome HOME
[bos #40653][CEA] New mesh import export formats with meshio.
[modules/smesh.git] / idl / SMESH_Mesh.idl
index 81c472b7924871f99197605a5a16d84a7fbe61c2..9a888182cfe0a9b5a11a2fd5f35e23f93da32628 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2023  CEA, EDF, OPEN CASCADE
+// Copyright (C) 2007-2024  CEA, EDF, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -436,6 +436,12 @@ module SMESH
     void RemoveGroupWithContents( in SMESH_GroupBase aGroup )
       raises (SALOME::SALOME_Exception);
 
+    /*!
+    *   Return True if all the submeshes are computed
+    */
+    boolean IsComputedOK()
+      raises (SALOME::SALOME_Exception);
+
     /*!
      *  Get the list of groups existing in the mesh
      */
@@ -706,6 +712,17 @@ module SMESH
                           in double             ZTolerance,
                           in boolean            saveNumbers) raises (SALOME::SALOME_Exception);
 
+    /*!
+     * Export a [part of] Mesh to a file with meshio library using an intermediate MED file
+     * @params
+     * - meshPart : a part of mesh to store
+     * - fileName : name of the MED file
+     * - selectedFilter : filter string selected by user in a file dialog.
+     */
+    void ExportPartToMESHIO(in SMESH_IDSource     meshPart,
+                            in string             fileName,
+                            in string             selectedFilter) raises (SALOME::SALOME_Exception);
+
     long long ExportPartToMEDCoupling( in SMESH_IDSource     meshPart,
                                        in boolean            auto_groups,
                                        in boolean            autoDimension,
@@ -1109,6 +1126,9 @@ module SMESH
     long GetParallelismMethod();
     void SetParallelismMethod(in long aMethod);
 
+    long GetParallelismDimension();
+    void SetParallelismDimension(in long aDim);
+
     // Parameters for MutliThreading
     long GetNbThreads();
     void SetNbThreads(in long nbThreads);
@@ -1128,6 +1148,9 @@ module SMESH
 
     string GetWcKey();
     void SetWcKey(in string wcKey);
+
+    string GetWalltime();
+    void SetWalltime(in string walltime);
   };
 
 };