Salome HOME
61d38e56ee3b25ff36099880db9514d792dc7404
[modules/homard.git] / idl / HOMARD_Iteration.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_ITERATION_IDL
21 #define _HOMARD_ITERATION_IDL
22
23 #include "SALOME_Component.idl"
24 #include "SALOME_Exception.idl"
25 #include "SALOMEDS.idl"
26
27 module HOMARD
28 {
29   typedef sequence<string> listeIterFilles ;
30
31   interface HOMARD_Iteration : Engines::EngineComponent
32   {
33     void     SetName(in string NomIter)                    raises (SALOME::SALOME_Exception);
34     string   GetName()                                     raises (SALOME::SALOME_Exception);
35
36     HOMARD_Iteration NextIteration(in string NomIter)      raises (SALOME::SALOME_Exception);
37
38     void     SetEtat(in boolean State)                     raises (SALOME::SALOME_Exception);
39     boolean  GetEtat()                                     raises (SALOME::SALOME_Exception);
40
41     void     SetNumber(in long NumIter)                    raises (SALOME::SALOME_Exception);
42     long     GetNumber()                                   raises (SALOME::SALOME_Exception);
43
44     void     SetMeshName(in string NomMesh)                raises (SALOME::SALOME_Exception);
45     string   GetMeshName()                                 raises (SALOME::SALOME_Exception);
46     void     SetMeshFile(in string MeshFile)               raises (SALOME::SALOME_Exception);
47     string   GetMeshFile()                                 raises (SALOME::SALOME_Exception);
48
49     void     SetFieldFile(in string FieldFile)             raises (SALOME::SALOME_Exception);
50     string   GetFieldFile()                                raises (SALOME::SALOME_Exception);
51     void     SetTimeStepRank(in long TimeStep, in long Rank)
52                                                            raises (SALOME::SALOME_Exception);
53     long     GetTimeStep()                                 raises (SALOME::SALOME_Exception);
54     long     GetRank()                                     raises (SALOME::SALOME_Exception);
55
56     void     SetIterParentName(in string NomIterParent)    raises (SALOME::SALOME_Exception);
57     string   GetIterParentName()                           raises (SALOME::SALOME_Exception);
58     HOMARD_Iteration GetIterParent()                       raises (SALOME::SALOME_Exception);
59
60     void     AddIteration(in string NomIter)               raises (SALOME::SALOME_Exception);
61
62     void     AssociateHypo(in string NomHypo)              raises (SALOME::SALOME_Exception);
63
64     void     SetHypoName(in string NomHypo)                raises (SALOME::SALOME_Exception);
65     string   GetHypoName()                                 raises (SALOME::SALOME_Exception);
66
67     void     SetCaseName(in string NomCas)                 raises (SALOME::SALOME_Exception);
68     string   GetCaseName()                                 raises (SALOME::SALOME_Exception);
69
70     void     SetDirName(in string NomDir)                  raises (SALOME::SALOME_Exception);
71     string   GetDirName()                                  raises (SALOME::SALOME_Exception);
72
73     listeIterFilles GetIterations()                        raises (SALOME::SALOME_Exception);
74
75     void     SetMessFile(in string MessFile)               raises (SALOME::SALOME_Exception);
76     string   GetMessFile()                                 raises (SALOME::SALOME_Exception);
77
78     long     Compute(in long etatMenage)                   raises (SALOME::SALOME_Exception);
79
80     string   GetDumpPython()                               raises (SALOME::SALOME_Exception);
81   };
82 };
83 #endif