X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=idl%2FSMESH_Mesh.idl;h=070732b256ef4964e578997e2beedae3de9aac2e;hp=7b86361d83a2604744924452312f18e7dd354ca2;hb=HEAD;hpb=effd6e22299c58b7829614ca9f66796a2e1b3dd9 diff --git a/idl/SMESH_Mesh.idl b/idl/SMESH_Mesh.idl index 7b86361d8..9a888182c 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, @@ -899,12 +916,6 @@ module SMESH */ boolean SetMeshOrder(in submesh_array_array theSubMeshArray); - /*! - * \brief Set Number of Threads - */ - void SetNbThreads(in long nbThreads); - /*! - /*! * Get mesh description */ @@ -1108,6 +1119,40 @@ module SMESH 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