Version: 9.16.0
CalciumTypes.hxx
Go to the documentation of this file.
1// Copyright (C) 2007-2026 CEA, EDF, OPEN CASCADE
2//
3// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5//
6// This library is free software; you can redistribute it and/or
7// modify it under the terms of the GNU Lesser General Public
8// License as published by the Free Software Foundation; either
9// version 2.1 of the License, or (at your option) any later version.
10//
11// This library is distributed in the hope that it will be useful,
12// but WITHOUT ANY WARRANTY; without even the implied warranty of
13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14// Lesser General Public License for more details.
15//
16// You should have received a copy of the GNU Lesser General Public
17// License along with this library; if not, write to the Free Software
18// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19//
20// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21//
22
23// File : CalciumTypes.hxx
24// Author : Eric Fayolle (EDF)
25// Module : KERNEL
26// Modified by : $LastChangedBy$
27// Date : $LastChangedDate: 2007-02-28 15:26:32 +0100 (mer, 28 fév 2007) $
28// Id : $Id$
29//
30#ifndef __CALCIUM_TYPES__
31#define __CALCIUM_TYPES__
32
33namespace CalciumTypes {
34
35
36 const float EPSILON = 1.e-6;
37
38
39 /* Type de dependance des variables */
40 const int CP_TEMPS = 40;
41 const int CP_ITERATION = 41;
42 const int CP_SEQUENTIEL = 42;
43 /* Mode de dependance inconnu */
44 const int CPIT = 6;
45
46 /* Directive de continuation d'une instance */
47 const int CP_CONT = 20;
48 const int CP_ARRET = 21;
49
50 /* Type d'interpolation */
51 const int CP_LINEAIRE = 100;
52 const int CP_ESCALIER = 101;
53
54
55 /* Repere dans cycle de temps */
56 const int TI = 110;
57 const int TF = 111;
58
59
60 /* Niveaux */
61 const int CP_ILLIMITE = -70;
62 const int CP_AUTESP = -71;
63
64
65
66 typedef int InfoType ;
70 // TYPE uniquement utilisé ds CalciumInterface
77
78 /* Codes d'erreur */
79
80 /* Pas d'erreur */
81 const int CPOK = 0;
82
83 /* Emetteur inconnu */
84 const int CPERIU = 1;
85
86 /* Nom de variable inconnu */
87 const int CPNMVR = 2;
88
89 /* Type entree/sortie incompatible */
90 const int CPIOVR = 3;
91
92 /* Type inconnu */
93 const int CPTP = 4;
94
95 /* Type de variable incompatible */
96 const int CPTPVR = 5;
97
98 /* Mode de dependance inconnu */
99 // Déclaré au dessus
100 // const int CPIT = 6;
101
102 /* Mode dependance incompatible */
103 const int CPITVR = 7;
104
105 /* Requete non autorisee */
106 const int CPRENA = 8;
107
108 /* Type de deconnexion incorrect */
109 const int CPDNTP = 9;
110
111 /* Directive de deconnexion incorrecte */
112 const int CPDNDI = 10;
113
114 /* Nom de code inconnu */
115 const int CPNMCD = 11;
116
117 /* Nom d'instance inconnu */
118 const int CPNMIN = 12;
119
120 /* Attente */
121 const int CPATTENTE = 13;
122
123 /* Blocage */
124 const int CPBLOC = 14;
125
126 /* Nombre de valeurs transmises egal a zero */
127 const int CPNTNULL = 15;
128
129 /* Longueur de variable insuffisante */
130 const int CPLGVR = 16;
131
132 /* L'instance doit s'arreter */
133 const int CPSTOP = 17;
134
135 /* Arret anormal */
136 const int CPATAL = 18;
137
138 /* Coupleur absent */
139 const int CPNOCP = 19;
140
141 /* Variable sortante non connectee */
142 const int CPCTVR = 20;
143
144 /* Nombre de pas a executer egal a zero */
145 const int CPPASNULL = 21;
146
147 /* Machine inconnue */
148 const int CPMACHINE = 22;
149
150 /* COUPLAGE_GROUPE non positionnee */
151 const int CPGRNU = 23;
152
153 /* Groupe d'instances incorrect */
154 const int CPGRIN = 24;
155
156 /* Fin du fichier d'entree */
157 const int CPFINFICH = 25;
158
159 /* Erreur de format dans un fichier */
160 const int CPERRFICH = 26;
161
162 /* Requete d'avance de n pas annulee */
163 /* par passage en mode NORMAL */
164 const int CPNORERR = 27;
165
166 /* Coupleur en mode NORMAL pour une */
167 /* requete RUN_N_PAS ou DEF_* */
168 const int CPRUNERR = 28;
169
170 /* Option inconnue */
171 const int CPOPT = 29;
172
173 /* Valeur d'option inconnue */
174 const int CPVALOPT = 30;
175
176 /* Ecriture impossible par effacement */
177 const int CPECREFF = 31;
178
179 /* Lecture d'une variable non connectee */
180 /* ou n'appartenant pas a un lien VAS */
181 /* ou VAV s'il s'agit d'une sortante */
182 const int CPLIEN = 32;
183
184 /* Lecture d'une variable d'une instance*/
185 /* deconnectee avec directive CP_ARRET */
186 const int CPINARRET = 33;
187
188 /* Les lectures sequentielles ne pourront plus */
189 /* etre satisfaites : instance productrice arretee */
190 const int CPSTOPSEQ = 34;
191
192 /* Erreur dans la chaine de declaration */
193 const int CPDECL = 35;
194
195 /* Erreur dans l'execution de l'instance ajoutee */
196 const int CPINEXEC = 36;
197
198 /* Erreur PVM */
199 // const int CPPVM = 37;
200 // const int CPCOM = 37;
201 /* Erreur detectee au niveau de l'int CPERRINST = 38; */
202
203 /* Mode d'execution non defini */
204 // const int CPMODE = 39;
205
206 /* Instance deconnectee */
207 const int CPINSTDEC = 40;
208
209}
210#endif
Definition: CalciumTypes.hxx:33
const int CPCTVR
Definition: CalciumTypes.hxx:142
const int CPATAL
Definition: CalciumTypes.hxx:136
const int CPTPVR
Definition: CalciumTypes.hxx:96
const int CPMACHINE
Definition: CalciumTypes.hxx:148
const int CPNMCD
Definition: CalciumTypes.hxx:115
DisconnectDirective
Definition: CalciumTypes.hxx:76
@ UNDEFINED_DIRECTIVE
Definition: CalciumTypes.hxx:76
@ CONTINUE
Definition: CalciumTypes.hxx:76
@ STOP
Definition: CalciumTypes.hxx:76
const int CPOK
Definition: CalciumTypes.hxx:81
const int TF
Definition: CalciumTypes.hxx:57
const int CPRUNERR
Definition: CalciumTypes.hxx:168
const int CPERIU
Definition: CalciumTypes.hxx:84
const int CPDECL
Definition: CalciumTypes.hxx:193
const int CPINEXEC
Definition: CalciumTypes.hxx:196
const int CPIOVR
Definition: CalciumTypes.hxx:90
const int CPGRIN
Definition: CalciumTypes.hxx:154
const int CPERRFICH
Definition: CalciumTypes.hxx:160
const int CPNOCP
Definition: CalciumTypes.hxx:139
const int CPNORERR
Definition: CalciumTypes.hxx:164
const int CPINSTDEC
Definition: CalciumTypes.hxx:207
const int CP_ESCALIER
Definition: CalciumTypes.hxx:52
const int CPINARRET
Definition: CalciumTypes.hxx:186
const int CP_ARRET
Definition: CalciumTypes.hxx:48
const int CP_ITERATION
Definition: CalciumTypes.hxx:41
const int CPDNDI
Definition: CalciumTypes.hxx:112
const int CPATTENTE
Definition: CalciumTypes.hxx:121
const int CPGRNU
Definition: CalciumTypes.hxx:151
const int CPRENA
Definition: CalciumTypes.hxx:106
const int CPBLOC
Definition: CalciumTypes.hxx:124
const int CPVALOPT
Definition: CalciumTypes.hxx:174
const int CPECREFF
Definition: CalciumTypes.hxx:177
const int CPITVR
Definition: CalciumTypes.hxx:103
const int CPDNTP
Definition: CalciumTypes.hxx:109
int InfoType
Definition: CalciumTypes.hxx:66
const int CP_SEQUENTIEL
Definition: CalciumTypes.hxx:42
const int CP_CONT
Definition: CalciumTypes.hxx:47
const int CPLGVR
Definition: CalciumTypes.hxx:130
DependencyType
Definition: CalciumTypes.hxx:68
@ ITERATION_DEPENDENCY
Definition: CalciumTypes.hxx:69
@ TIME_DEPENDENCY
Definition: CalciumTypes.hxx:68
@ SEQUENCE_DEPENDENCY
Definition: CalciumTypes.hxx:71
@ UNDEFINED_DEPENDENCY
Definition: CalciumTypes.hxx:68
const int CPLIEN
Definition: CalciumTypes.hxx:182
const int CP_LINEAIRE
Definition: CalciumTypes.hxx:51
const int CP_AUTESP
Definition: CalciumTypes.hxx:62
const int UNLIMITED_STORAGE_LEVEL
Definition: CalciumTypes.hxx:67
const int CPTP
Definition: CalciumTypes.hxx:93
const int CPOPT
Definition: CalciumTypes.hxx:171
const int CPFINFICH
Definition: CalciumTypes.hxx:157
const int CPSTOPSEQ
Definition: CalciumTypes.hxx:190
const int CPSTOP
Definition: CalciumTypes.hxx:133
const int CPPASNULL
Definition: CalciumTypes.hxx:145
const int CPIT
Definition: CalciumTypes.hxx:44
ExtrapolationSchem
Definition: CalciumTypes.hxx:75
@ E1_SCHEM
Definition: CalciumTypes.hxx:75
@ UNDEFINED_EXTRA_SCHEM
Definition: CalciumTypes.hxx:75
@ E0_SCHEM
Definition: CalciumTypes.hxx:75
InterpolationSchem
Definition: CalciumTypes.hxx:74
@ L1_SCHEM
Definition: CalciumTypes.hxx:74
@ L0_SCHEM
Definition: CalciumTypes.hxx:74
DateCalSchem
Definition: CalciumTypes.hxx:73
@ TF_SCHEM
Definition: CalciumTypes.hxx:73
@ ALPHA_SCHEM
Definition: CalciumTypes.hxx:73
@ TI_SCHEM
Definition: CalciumTypes.hxx:73
const int CP_TEMPS
Definition: CalciumTypes.hxx:40
const int CP_ILLIMITE
Definition: CalciumTypes.hxx:61
const float EPSILON
Definition: CalciumTypes.hxx:36
const int CPNTNULL
Definition: CalciumTypes.hxx:127
const int CPNMIN
Definition: CalciumTypes.hxx:118
const int CPNMVR
Definition: CalciumTypes.hxx:87
const int TI
Definition: CalciumTypes.hxx:56