1 // Copyright (C) 2011-2012 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.
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
20 #ifndef _HOMARD_HYPOTHESIS_IDL
21 #define _HOMARD_HYPOTHESIS_IDL
23 #include "SALOME_Component.idl"
24 #include "SALOME_Exception.idl"
25 #include "SALOMEDS.idl"
27 #include "HOMARD_Cas.idl"
31 typedef sequence<string> listeZonesHypo ;
32 typedef sequence<string> listeIters ;
33 typedef sequence<string> listeComposantsHypo ;
34 typedef sequence<long> listeTypes;
35 typedef sequence<string> listFieldInterpHypo;
48 interface HOMARD_Hypothesis : Engines::EngineComponent
51 void SetName(in string NomHypothesis) raises (SALOME::SALOME_Exception);
52 string GetName() raises (SALOME::SALOME_Exception);
54 void SetCaseCreation(in string NomCas) raises (SALOME::SALOME_Exception);
55 string GetCaseCreation() raises (SALOME::SALOME_Exception);
57 void SetAdapRefinUnRef(in long Adap, in long Raff, in long Dera)
58 raises (SALOME::SALOME_Exception);
59 listeTypes GetAdapRefinUnRef() raises (SALOME::SALOME_Exception);
60 long GetAdapType() raises (SALOME::SALOME_Exception);
61 long GetRefinType() raises (SALOME::SALOME_Exception);
62 long GetUnRefType() raises (SALOME::SALOME_Exception);
64 void SetField(in string FieldName) raises (SALOME::SALOME_Exception);
65 string GetFieldName() raises (SALOME::SALOME_Exception);
66 void SetRefinThr(in long TypeThR, in double ThreshR)
67 raises (SALOME::SALOME_Exception);
68 void SetUnRefThr(in long TypeThC, in double ThreshC)
69 raises (SALOME::SALOME_Exception);
70 long GetRefinThrType() raises (SALOME::SALOME_Exception);
71 long GetUnRefThrType() raises (SALOME::SALOME_Exception);
72 void SetUseComp(in long UsCmpI) raises (SALOME::SALOME_Exception);
73 void SetUseField(in long UsField) raises (SALOME::SALOME_Exception);
74 InfosHypo GetField() raises (SALOME::SALOME_Exception);
76 void AddComp(in string NomComposant) raises (SALOME::SALOME_Exception);
77 void SupprComp() raises (SALOME::SALOME_Exception);
78 listeComposantsHypo GetListComp() raises (SALOME::SALOME_Exception);
80 void AddZone(in string NomZone, in long TypeUse) raises (SALOME::SALOME_Exception);
81 void SupprZone(in string NomZone) raises (SALOME::SALOME_Exception);
82 listeZonesHypo GetZones() raises (SALOME::SALOME_Exception);
84 listeIters GetIterations() raises (SALOME::SALOME_Exception);
85 void AddIteration(in string NomIteration) raises (SALOME::SALOME_Exception);
87 ListGroupType GetGroups() raises (SALOME::SALOME_Exception);
88 void SetGroups(in ListGroupType ListGroup) raises (SALOME::SALOME_Exception);
89 void AddGroup(in string LeGroupe) raises (SALOME::SALOME_Exception);
91 void SetTypeFieldInterp(in long TypeFieldInterp) raises (SALOME::SALOME_Exception);
92 long GetTypeFieldInterp() raises (SALOME::SALOME_Exception);
93 void AddFieldInterp(in string FieldInterp) raises (SALOME::SALOME_Exception);
94 void SupprFieldInterp() raises (SALOME::SALOME_Exception);
95 listFieldInterpHypo GetListFieldInterp() raises (SALOME::SALOME_Exception);
97 void SetNivMax(in long NivMax) raises (SALOME::SALOME_Exception);
98 long GetNivMax() raises (SALOME::SALOME_Exception);
100 void SetDiamMin(in double DiamMin) raises (SALOME::SALOME_Exception);
101 double GetDiamMin() raises (SALOME::SALOME_Exception);
103 void SetAdapInit(in long AdapInit) raises (SALOME::SALOME_Exception);
104 long GetAdapInit() raises (SALOME::SALOME_Exception);
106 void SetLevelOutput(in long LevelOutput) raises (SALOME::SALOME_Exception);
107 long GetLevelOutput() raises (SALOME::SALOME_Exception);
109 string GetDumpPython() raises (SALOME::SALOME_Exception);