Salome HOME
61d9d85dc96c14f28427619b05ecd1625ecd25a5
[modules/homard.git] / idl / HOMARD_Boundary.idl
1 // Copyright (C) 2011-2012  CEA/DEN, EDF R&D
2 //
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.
7 //
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.
12 //
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
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 #ifndef _HOMARD_Boundary_IDL
21 #define _HOMARD_Boundary_IDL
22
23 #include "SALOME_Component.idl"
24 #include "SALOME_Exception.idl"
25 #include "SALOMEDS.idl"
26
27 #include "HOMARD_Cas.idl"
28 #include "HOMARD_Zone.idl"
29
30
31 module HOMARD
32 {
33   interface HOMARD_Boundary : Engines::EngineComponent
34   {
35
36     void     SetName (in string Name)                      raises (SALOME::SALOME_Exception);
37     string   GetName ()                                    raises (SALOME::SALOME_Exception);
38
39     void     SetType (in long Type)                        raises (SALOME::SALOME_Exception);
40     long     GetType()                                     raises (SALOME::SALOME_Exception);
41
42     void     SetMeshFile(in string MeshFile)               raises (SALOME::SALOME_Exception);
43     string   GetMeshFile()                                 raises (SALOME::SALOME_Exception);
44
45     void     SetMeshName(in string MeshName)               raises (SALOME::SALOME_Exception);
46     string   GetMeshName()                                 raises (SALOME::SALOME_Exception);
47
48     void     SetCylinder (in double Xcentre, in double Ycentre, in double Zcentre,
49                           in double Xaxe, in double Yaxe, in double Zaxe, in double rayon)
50                                                            raises (SALOME::SALOME_Exception);
51
52     void     SetSphere (in double Xcentre, in double Ycentre, in double Zcentre, in double rayon)
53                                                            raises (SALOME::SALOME_Exception);
54
55     HOMARD::double_array GetCoords()                       raises (SALOME::SALOME_Exception);
56
57     void     SetLimit (in double Xincr, in double Yincr, in double Zincr)
58                                                            raises (SALOME::SALOME_Exception);
59     HOMARD::double_array GetLimit()                        raises (SALOME::SALOME_Exception);
60
61     void     SetCaseCreation(in string NomCas)             raises (SALOME::SALOME_Exception);
62     string   GetCaseCreation()                             raises (SALOME::SALOME_Exception);
63
64     void       AddGroup(in string LeGroupe)                raises (SALOME::SALOME_Exception);
65     ListGroupType GetGroups()                              raises (SALOME::SALOME_Exception);
66     void       SetGroups(in ListGroupType ListGroup)       raises (SALOME::SALOME_Exception);
67
68     string   GetDumpPython()                               raises (SALOME::SALOME_Exception);
69
70   };
71 };
72 #endif