1 // Copyright (C) 2011-2016 CEA/DEN, EDF R&D
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 // L'ordre de description des fonctions est le meme dans tous les fichiers
22 // HOMARD_aaaa.idl, HOMARD_aaaa.hxx, HOMARD_aaaa.cxx, HOMARD_aaaa_i.hxx, HOMARD_aaaa_i.cxx :
23 // 1. Les generalites : Name, Delete, DumpPython, Dump, Restore
24 // 2. Les caracteristiques
25 // 3. Le lien avec les autres structures
27 // Quand les 2 fonctions Setxxx et Getxxx sont presentes, Setxxx est decrit en premier
30 #ifndef _HOMARD_CAS_IDL
31 #define _HOMARD_CAS_IDL
33 #include "SALOME_Component.idl"
34 #include "SALOME_Exception.idl"
35 #include "SALOMEDS.idl"
37 #include "HOMARD_Iteration.idl"
38 #include "HOMARD_YACS.idl"
42 typedef sequence<double> extrema ;
43 typedef sequence<string> ListGroupType ;
44 typedef sequence<string> ListBoundaryGroupType ;
47 interface HOMARD_Cas : Engines::EngineComponent
50 void SetName(in string Name) raises (SALOME::SALOME_Exception);
51 string GetName() raises (SALOME::SALOME_Exception);
53 long Delete(in long Option) raises (SALOME::SALOME_Exception);
55 string GetDumpPython() raises (SALOME::SALOME_Exception);
58 void SetDirName(in string NomDir) raises (SALOME::SALOME_Exception);
59 string GetDirName() raises (SALOME::SALOME_Exception);
61 long GetState() raises (SALOME::SALOME_Exception);
63 long GetNumberofIter() raises (SALOME::SALOME_Exception);
65 void SetConfType(in long ConfType) raises (SALOME::SALOME_Exception);
66 long GetConfType() raises (SALOME::SALOME_Exception);
68 void SetExtType(in long ExtType) raises (SALOME::SALOME_Exception);
69 long GetExtType() raises (SALOME::SALOME_Exception);
71 void SetBoundingBox(in extrema LesExtremes) raises (SALOME::SALOME_Exception);
72 extrema GetBoundingBox() raises (SALOME::SALOME_Exception);
74 void AddGroup(in string Group) raises (SALOME::SALOME_Exception);
75 void SetGroups(in ListGroupType ListGroup) raises (SALOME::SALOME_Exception);
76 ListGroupType GetGroups() raises (SALOME::SALOME_Exception);
78 void AddBoundary(in string BoundaryName) raises (SALOME::SALOME_Exception);
79 void AddBoundaryGroup(in string BoundaryName, in string Group)
80 raises (SALOME::SALOME_Exception);
81 ListBoundaryGroupType GetBoundaryGroup() raises (SALOME::SALOME_Exception);
82 void SupprBoundaryGroup() raises (SALOME::SALOME_Exception);
84 void SetPyram(in long Pyram) raises (SALOME::SALOME_Exception);
85 long GetPyram() raises (SALOME::SALOME_Exception);
87 void MeshInfo(in long Qual, in long Diam, in long Conn, in long Tail, in long Inte)
88 raises (SALOME::SALOME_Exception);
90 // Liens avec les autres structures
91 string GetIter0Name () raises (SALOME::SALOME_Exception);
92 HOMARD_Iteration GetIter0 () raises (SALOME::SALOME_Exception);
94 HOMARD_Iteration NextIteration(in string IterName) raises (SALOME::SALOME_Exception);
96 HOMARD_Iteration LastIteration() raises (SALOME::SALOME_Exception);
98 void AddIteration (in string IterName) raises (SALOME::SALOME_Exception);
101 HOMARD_YACS CreateYACSSchema(in string YACSName, in string ScriptFile, in string DirName, in string MeshFile)
102 raises (SALOME::SALOME_Exception);