X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=idl%2FSMESH_Mesh.idl;h=49e8f97cb4872235945b58c6391312cb3d1a6e6c;hp=88152274ef2a4a354fd7b40a32ead57e0647d462;hb=HEAD;hpb=d328a1d7b8ebcd3d3f02ea9996d56d50016be3a4 diff --git a/idl/SMESH_Mesh.idl b/idl/SMESH_Mesh.idl index 88152274e..6535888a1 100644 --- a/idl/SMESH_Mesh.idl +++ b/idl/SMESH_Mesh.idl @@ -1,4 +1,4 @@ -// 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 @@ -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, @@ -739,6 +756,9 @@ module SMESH 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); @@ -899,17 +919,6 @@ module SMESH */ boolean SetMeshOrder(in submesh_array_array theSubMeshArray); - /*! - * \brief Set Number of Threads - */ - void SetNbThreads(in long nbThreads); - /*! - /*! - * \brief Get Number of Threads - */ - long GetNbThreads(); - /*! - /*! * Get mesh description */ @@ -1114,7 +1123,38 @@ module SMESH }; interface SMESH_SequentialMesh:SMESH_Mesh{}; - interface SMESH_ParallelMesh: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); + }; };