-// Copyright (C) 2007-2022 CEA/DEN, EDF R&D, 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
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
*/
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,
in string file,
in boolean overwrite,
in boolean groupElemsByType) raises (SALOME::SALOME_Exception);
+ void ExportStructuredCGNS( in SMESH_IDSource meshPart,
+ in string file,
+ in boolean overwrite) raises (SALOME::SALOME_Exception);
void ExportGMF( in SMESH_IDSource meshPart,
in string file,
in boolean withRequiredGroups) raises (SALOME::SALOME_Exception);
*/
boolean SetMeshOrder(in submesh_array_array theSubMeshArray);
- /*!
- * \brief Set Number of Threads
- */
- void SetNbThreads(in long nbThreads);
- /*!
-
/*!
* Get mesh description
*/
long GetId();
};
+ interface SMESH_SequentialMesh:SMESH_Mesh{};
+ interface SMESH_ParallelMesh:SMESH_Mesh{
+
+ // Parallism method
+ long GetParallelismMethod();
+ void SetParallelismMethod(in long aMethod);
+
+ long GetParallelismDimension();
+ void SetParallelismDimension(in long aDim);
+
+ // Parameters for MutliThreading
+ long GetNbThreads();
+ void SetNbThreads(in long nbThreads);
+
+ // Parameters for MultiNode
+ string GetResource();
+ void SetResource(in string aResource);
+
+ long GetNbProc();
+ void SetNbProc(in long nbProc);
+
+ long GetNbProcPerNode();
+ void SetNbProcPerNode(in long nbProcPerNode);
+
+ long GetNbNode();
+ void SetNbNode(in long nbNode);
+
+ string GetWcKey();
+ void SetWcKey(in string wcKey);
+
+ string GetWalltime();
+ void SetWalltime(in string walltime);
+ };
+
};
#endif