Salome HOME
Merge branch 'master' into gni/adaptation
[modules/smesh.git] / idl / HOMARD_YACS.idl
1 // Copyright (C) 2011-2020  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, or (at your option) any later version.
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 // Remarques :
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
26 //
27 // Quand les 2 fonctions Setxxx et Getxxx sont presentes, Setxxx est decrit en premier
28 //
29
30 #ifndef _HOMARD_YACS_IDL
31 #define _HOMARD_YACS_IDL
32
33 #include "SALOME_Component.idl"
34 #include "SALOME_Exception.idl"
35 #include "SALOMEDS.idl"
36
37 module ADAPT
38 {
39   interface HOMARD_YACS : Engines::EngineComponent
40   {
41 // Generalites
42     void     SetName(in string Name)                       raises (SALOME::SALOME_Exception);
43     string   GetName()                                     raises (SALOME::SALOME_Exception);
44
45     long     Delete(in long Option)                        raises (SALOME::SALOME_Exception);
46
47     string   GetDumpPython()                               raises (SALOME::SALOME_Exception);
48
49 // Caracteristiques
50     void     SetType (in long Type)                        raises (SALOME::SALOME_Exception);
51     long     GetType()                                     raises (SALOME::SALOME_Exception);
52
53     void     SetMaxIter (in long MaxIter)                  raises (SALOME::SALOME_Exception);
54     long     GetMaxIter()                                  raises (SALOME::SALOME_Exception);
55     void     SetMaxNode (in long MaxNode)                  raises (SALOME::SALOME_Exception);
56     long     GetMaxNode()                                  raises (SALOME::SALOME_Exception);
57     void     SetMaxElem (in long MaxElem)                  raises (SALOME::SALOME_Exception);
58     long     GetMaxElem()                                  raises (SALOME::SALOME_Exception);
59
60     void     SetTestConvergence (in long TypeTest, in double VRef)
61                                                            raises (SALOME::SALOME_Exception);
62     long     GetTestConvergenceType()                      raises (SALOME::SALOME_Exception);
63     double   GetTestConvergenceVRef()                      raises (SALOME::SALOME_Exception);
64
65     void     SetDirName(in string NomDir)                  raises (SALOME::SALOME_Exception);
66     string   GetDirName()                                  raises (SALOME::SALOME_Exception);
67
68     void     SetMeshFile(in string MeshFile)               raises (SALOME::SALOME_Exception);
69     string   GetMeshFile()                                 raises (SALOME::SALOME_Exception);
70
71     void     SetScriptFile(in string ScriptFile)           raises (SALOME::SALOME_Exception);
72     string   GetScriptFile()                               raises (SALOME::SALOME_Exception);
73
74     void     SetXMLFile(in string XMLFile)                 raises (SALOME::SALOME_Exception);
75     string   GetXMLFile()                                  raises (SALOME::SALOME_Exception);
76
77     long     Write()                                       raises (SALOME::SALOME_Exception);
78     long     WriteOnFile( in string YACSFile )             raises (SALOME::SALOME_Exception);
79
80 // Liens avec les autres structures
81     void     SetCaseName(in string NomCas)                 raises (SALOME::SALOME_Exception);
82     string   GetCaseName()                                 raises (SALOME::SALOME_Exception);
83
84 // Divers
85   };
86 };
87 #endif