X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=idl%2FHYBRIDPlugin_Algorithm.idl;h=1ac44f014491ac7164387ef260ee79335c9135ca;hb=8424c2beffdbb92c8e5c31440265966fdae483b0;hp=aebabc22383f44201675ac277cdaf7a131eda446;hpb=54a8851d5ae0667e752c651813c902341af5b6c8;p=plugins%2Fhybridplugin.git diff --git a/idl/HYBRIDPlugin_Algorithm.idl b/idl/HYBRIDPlugin_Algorithm.idl index aebabc2..1ac44f0 100644 --- a/idl/HYBRIDPlugin_Algorithm.idl +++ b/idl/HYBRIDPlugin_Algorithm.idl @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D +// Copyright (C) 2007-2021 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -34,6 +34,8 @@ */ module HYBRIDPlugin { + typedef sequence string_array; + typedef sequence TCoords; struct HYBRIDEnforcedVertex { string name; @@ -68,6 +70,16 @@ module HYBRIDPlugin */ interface HYBRIDPlugin_Hypothesis : SMESH::SMESH_Hypothesis { + /*! + * Sizes of boundary layers are relative to the surface size. Default no + */ + void SetHeightIsRelative( in boolean isRelative ); + boolean GetHeightIsRelative(); + /*! + * Maximum internal angles of boundary elements (in degree) + */ + void SetBoundaryLayersMaxElemAngle( in double angle ); + double GetBoundaryLayersMaxElemAngle(); /*! * To mesh "holes" in a solid or not. Default is to mesh. */ @@ -78,6 +90,21 @@ module HYBRIDPlugin */ void SetLayersOnAllWrap(in boolean toMesh); boolean GetLayersOnAllWrap(); + /*! + * To mesh layers on given faces. + */ + void SetFacesWithLayers(in SMESH::long_array faceIDs); + SMESH::long_array GetFacesWithLayers(); + /*! + * To imprint layers on given faces. + */ + void SetFacesWithImprinting(in SMESH::long_array faceIDs); + SMESH::long_array GetFacesWithImprinting(); + /*! + * To snap layers on given faces. + */ + void SetFacesWithSnapping(in SMESH::long_array faceIDs); + SMESH::long_array GetFacesWithSnapping(); /*! * To make groups of volumes of different domains when mesh is generated from skin. * Default is to make groups. @@ -116,7 +143,7 @@ module HYBRIDPlugin void SetBoundaryLayersGrowth(in short level) raises (SALOME::SALOME_Exception); short GetBoundaryLayersGrowth(); /*! - * ElementGeneration: 0-Generation_Tetra_Dominant, 1-Generation_Hexa_Dominant. Default is Generation_Tetra_Dominant + * ElementGeneration: 0-Generation_Tetra_Dominant, 1-Generation_Hexa_Dominant, 2-Generation_Cartesian_Core. Default is Generation_Tetra_Dominant */ void SetElementGeneration(in short level) raises (SALOME::SALOME_Exception); short GetElementGeneration(); @@ -144,6 +171,12 @@ module HYBRIDPlugin */ void SetBoundaryLayersProgression(in double BLP) raises (SALOME::SALOME_Exception); double GetBoundaryLayersProgression(); + /*! + * To set core size. + * Default is 0.0 + */ + void SetCoreSize(in double CS) raises (SALOME::SALOME_Exception); + double GetCoreSize(); /*! * To set multinormals angle threshold at opening ridges. * Default is 30.0 @@ -206,10 +239,38 @@ module HYBRIDPlugin void SetToRemoveCentralPoint(in boolean toRemove); boolean GetToRemoveCentralPoint(); /*! - * To set hiden/undocumented/advanced options + * Set advanced option value + */ + void SetOptionValue(in string optionName, + in string optionValue) raises (SALOME::SALOME_Exception); + string GetOptionValue(in string optionName) raises (SALOME::SALOME_Exception); + void UnsetOption(in string optionName); + /*! + * Adds custom advanced option and its value */ - void SetTextOption(in string option); - string GetTextOption(); + void SetAdvancedOption(in string optionsAndValues) // in a form "option_1 v1 option_2 v2'" + raises (SALOME::SALOME_Exception); + string GetAdvancedOption(); + void AddOption(in string optionName, in string optionValue); + string GetOption(in string optionName); + void SetTextOption(in string option); // obsolete + string GetTextOption(); // obsolete + /*! + * Return array of strings each of which is option name concatenated + * with option value devided by semicolon - "option_name:option_value:option_type". + * Option value is empty if an option is not set. + * option_type: 1 if user-define, 0 if default + * Note: the method is mostly for interaction with GUI. + */ + string_array GetOptionValues(); + string_array GetAdvancedOptionValues(); + /*! + * Set option values each in the form "option_name[:option_value][:option_type]". + * Note: the method is mostly for interaction with GUI. + */ + void SetOptionValues(in string_array options) raises (SALOME::SALOME_Exception); + void SetAdvancedOptionValues(in string_array options); + /*! * To define the volumic gradation */