epyt-flow 0.14.1__py3-none-any.whl → 0.14.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. epyt_flow/EPANET/EPANET/SRC_engines/AUTHORS +8 -40
  2. epyt_flow/EPANET/EPANET/SRC_engines/LICENSE +3 -3
  3. epyt_flow/EPANET/EPANET/SRC_engines/Readme_SRC_Engines.txt +18 -0
  4. epyt_flow/EPANET/EPANET/SRC_engines/enumstxt.h +7 -24
  5. epyt_flow/EPANET/EPANET/SRC_engines/epanet.c +374 -726
  6. epyt_flow/EPANET/EPANET/SRC_engines/epanet2.c +32 -128
  7. epyt_flow/EPANET/EPANET/SRC_engines/epanet2.def +131 -0
  8. epyt_flow/EPANET/EPANET/SRC_engines/errors.dat +1 -7
  9. epyt_flow/EPANET/EPANET/SRC_engines/funcs.h +14 -40
  10. epyt_flow/EPANET/EPANET/SRC_engines/hash.c +177 -177
  11. epyt_flow/EPANET/EPANET/SRC_engines/hash.h +28 -28
  12. epyt_flow/EPANET/EPANET/SRC_engines/hydcoeffs.c +40 -192
  13. epyt_flow/EPANET/EPANET/SRC_engines/hydraul.c +46 -101
  14. epyt_flow/EPANET/EPANET/SRC_engines/hydsolver.c +24 -85
  15. epyt_flow/EPANET/EPANET/SRC_engines/hydstatus.c +63 -29
  16. epyt_flow/EPANET/EPANET/SRC_engines/include/epanet2.h +37 -70
  17. epyt_flow/EPANET/EPANET/SRC_engines/include/epanet2_2.h +234 -408
  18. epyt_flow/EPANET/EPANET/SRC_engines/include/epanet2_enums.h +37 -87
  19. epyt_flow/EPANET/EPANET/SRC_engines/inpfile.c +79 -153
  20. epyt_flow/EPANET/EPANET/SRC_engines/input1.c +94 -59
  21. epyt_flow/EPANET/EPANET/SRC_engines/input2.c +202 -73
  22. epyt_flow/EPANET/EPANET/SRC_engines/input3.c +351 -446
  23. epyt_flow/EPANET/EPANET/SRC_engines/main.c +93 -0
  24. epyt_flow/EPANET/EPANET/SRC_engines/mempool.c +4 -8
  25. epyt_flow/EPANET/EPANET/SRC_engines/mempool.h +23 -23
  26. epyt_flow/EPANET/EPANET/SRC_engines/output.c +4 -5
  27. epyt_flow/EPANET/EPANET/SRC_engines/project.c +75 -407
  28. epyt_flow/EPANET/EPANET/SRC_engines/quality.c +2 -12
  29. epyt_flow/EPANET/EPANET/SRC_engines/qualreact.c +13 -70
  30. epyt_flow/EPANET/EPANET/SRC_engines/qualroute.c +5 -7
  31. epyt_flow/EPANET/EPANET/SRC_engines/report.c +20 -88
  32. epyt_flow/EPANET/EPANET/SRC_engines/rules.c +6 -144
  33. epyt_flow/EPANET/EPANET/SRC_engines/smatrix.c +19 -19
  34. epyt_flow/EPANET/EPANET/SRC_engines/text.h +5 -16
  35. epyt_flow/EPANET/EPANET/SRC_engines/types.h +19 -73
  36. epyt_flow/EPANET/compile_linux.sh +1 -1
  37. epyt_flow/EPANET/compile_macos.sh +1 -1
  38. epyt_flow/VERSION +1 -1
  39. epyt_flow/simulation/scada/scada_data.py +1 -1
  40. epyt_flow/utils.py +66 -0
  41. epyt_flow/visualization/visualization_utils.py +4 -2
  42. {epyt_flow-0.14.1.dist-info → epyt_flow-0.14.2.dist-info}/METADATA +1 -1
  43. {epyt_flow-0.14.1.dist-info → epyt_flow-0.14.2.dist-info}/RECORD +46 -52
  44. epyt_flow/EPANET/EPANET/SRC_engines/flowbalance.c +0 -186
  45. epyt_flow/EPANET/EPANET/SRC_engines/leakage.c +0 -527
  46. epyt_flow/EPANET/EPANET/SRC_engines/util/cstr_helper.c +0 -59
  47. epyt_flow/EPANET/EPANET/SRC_engines/util/cstr_helper.h +0 -38
  48. epyt_flow/EPANET/EPANET/SRC_engines/util/errormanager.c +0 -92
  49. epyt_flow/EPANET/EPANET/SRC_engines/util/errormanager.h +0 -39
  50. epyt_flow/EPANET/EPANET/SRC_engines/util/filemanager.c +0 -212
  51. epyt_flow/EPANET/EPANET/SRC_engines/util/filemanager.h +0 -81
  52. epyt_flow/EPANET/EPANET/SRC_engines/validate.c +0 -408
  53. {epyt_flow-0.14.1.dist-info → epyt_flow-0.14.2.dist-info}/WHEEL +0 -0
  54. {epyt_flow-0.14.1.dist-info → epyt_flow-0.14.2.dist-info}/licenses/LICENSE +0 -0
  55. {epyt_flow-0.14.1.dist-info → epyt_flow-0.14.2.dist-info}/top_level.txt +0 -0
@@ -1,13 +1,13 @@
1
1
  /*
2
2
  ******************************************************************************
3
3
  Project: OWA EPANET
4
- Version: 2.3
4
+ Version: 2.2
5
5
  Module: hydstatus.c
6
6
  Description: updates hydraulic status of network elements
7
7
  Authors: see AUTHORS
8
8
  Copyright: see AUTHORS
9
9
  License: see LICENSE
10
- Last Updated: 02/03/2023
10
+ Last Updated: 05/15/2019
11
11
  ******************************************************************************
12
12
  */
13
13
 
@@ -27,7 +27,7 @@ static StatusType pumpstatus(Project *, int, double);
27
27
  static StatusType prvstatus(Project *, int, StatusType, double, double, double);
28
28
  static StatusType psvstatus(Project *, int, StatusType, double, double, double);
29
29
  static StatusType fcvstatus(Project *, int, StatusType, double, double);
30
- static void tankstatus(Project *, int, int, double);
30
+ static void tankstatus(Project *, int, int, int);
31
31
 
32
32
 
33
33
  int valvestatus(Project *pr)
@@ -155,8 +155,10 @@ int linkstatus(Project *pr)
155
155
  }
156
156
 
157
157
  // Check for flow into (out of) full (empty) tanks
158
- if (n1 > net->Njuncs) tankstatus(pr, k, n1, hyd->LinkFlow[k]);
159
- if (n2 > net->Njuncs) tankstatus(pr, k, n2, -hyd->LinkFlow[k]);
158
+ if (n1 > net->Njuncs || n2 > net->Njuncs)
159
+ {
160
+ tankstatus(pr, k, n1, n2);
161
+ }
160
162
 
161
163
  // Note any change in link status; do not revise link flow
162
164
  if (status != hyd->LinkStatus[k])
@@ -222,7 +224,6 @@ StatusType pumpstatus(Project *pr, int k, double dh)
222
224
  {
223
225
  // Use huge value for constant HP pump
224
226
  hmax = BIG;
225
- if (hyd->LinkFlow[k] < TINY) return TEMPCLOSED;
226
227
  }
227
228
  else
228
229
  {
@@ -393,25 +394,16 @@ StatusType fcvstatus(Project *pr, int k, StatusType s, double h1, double h2)
393
394
  {
394
395
  status = ACTIVE;
395
396
  }
396
-
397
- // Active valve's loss coeff. can't be < fully open loss coeff.
398
- else if (status == ACTIVE)
399
- {
400
- if ((h1 - h2) / SQR(hyd->LinkFlow[k]) < pr->network.Link[k].Km)
401
- {
402
- status = XFCV;
403
- }
404
- }
405
397
  return status;
406
398
  }
407
399
 
408
400
 
409
- void tankstatus(Project *pr, int k, int n, double q)
401
+ void tankstatus(Project *pr, int k, int n1, int n2)
410
402
  /*
411
403
  **----------------------------------------------------------------
412
- ** Input: k = link index
413
- ** n = tank node index
414
- ** q = link flow rate out of (+) or into (-) tank
404
+ ** Input: k = link index
405
+ ** n1 = start node of link
406
+ ** n2 = end node of link
415
407
  ** Output: none
416
408
  ** Purpose: closes link flowing into full or out of empty tank
417
409
  **----------------------------------------------------------------
@@ -420,23 +412,65 @@ void tankstatus(Project *pr, int k, int n, double q)
420
412
  Network *net = &pr->network;
421
413
  Hydraul *hyd = &pr->hydraul;
422
414
 
423
- int i;
415
+ int i, n;
416
+ double h, q;
424
417
  Stank *tank;
425
418
  Slink *link = &net->Link[k];
426
419
 
427
420
  // Return if link is closed
428
421
  if (hyd->LinkStatus[k] <= CLOSED) return;
429
422
 
423
+ // Make node n1 be the tank, reversing flow (q) if need be
424
+ q = hyd->LinkFlow[k];
425
+ i = n1 - net->Njuncs;
426
+ if (i <= 0)
427
+ {
428
+ i = n2 - net->Njuncs;
429
+ if (i <= 0) return;
430
+ n = n1;
431
+ n1 = n2;
432
+ n2 = n;
433
+ q = -q;
434
+ }
435
+
430
436
  // Ignore reservoirs
431
- i = n - net->Njuncs;
432
437
  tank = &net->Tank[i];
433
438
  if (tank->A == 0.0) return;
434
-
435
- // Can't add flow to a full tank
436
- if (hyd->NodeHead[n] >= tank->Hmax && !tank->CanOverflow && q < 0.0)
437
- hyd->LinkStatus[k] = TEMPCLOSED;
438
-
439
- // Can't remove flow from an empty tank
440
- else if (hyd->NodeHead[n] <= tank->Hmin && q > 0.0)
441
- hyd->LinkStatus[k] = TEMPCLOSED;
439
+
440
+ // Find head difference across link
441
+ h = hyd->NodeHead[n1] - hyd->NodeHead[n2];
442
+
443
+ // If tank is full, then prevent flow into it
444
+ if (hyd->NodeHead[n1] >= tank->Hmax - hyd->Htol && !tank->CanOverflow)
445
+ {
446
+ // Case 1: Link is a pump discharging into tank
447
+ if (link->Type == PUMP)
448
+ {
449
+ if (link->N2 == n1) hyd->LinkStatus[k] = TEMPCLOSED;
450
+ }
451
+
452
+ // Case 2: Downstream head > tank head
453
+ // (e.g., an open outflow check valve would close)
454
+ else if (cvstatus(pr, OPEN, h, q) == CLOSED)
455
+ {
456
+ hyd->LinkStatus[k] = TEMPCLOSED;
457
+ }
458
+ }
459
+
460
+ // If tank is empty, then prevent flow out of it
461
+ if (hyd->NodeHead[n1] <= tank->Hmin + hyd->Htol)
462
+ {
463
+ // Case 1: Link is a pump discharging from tank
464
+ if (link->Type == PUMP)
465
+ {
466
+ if (link->N1 == n1) hyd->LinkStatus[k] = TEMPCLOSED;
467
+ }
468
+
469
+ // Case 2: Tank head > downstream head
470
+ // (e.g., a closed outflow check valve would open)
471
+ else if (cvstatus(pr, CLOSED, h, q) == OPEN)
472
+ {
473
+ hyd->LinkStatus[k] = TEMPCLOSED;
474
+ }
475
+ }
442
476
  }
@@ -1,13 +1,13 @@
1
1
  /*
2
2
  ******************************************************************************
3
3
  Project: OWA EPANET
4
- Version: 2.3
4
+ Version: 2.2
5
5
  Module: epanet2.h
6
6
  Description: declarations of the legacy style EPANET 2 API functions
7
7
  Authors: see AUTHORS
8
8
  Copyright: see AUTHORS
9
9
  License: see LICENSE
10
- Last Updated: 02/14/2025
10
+ Last Updated: 10/29/2019
11
11
  ******************************************************************************
12
12
  */
13
13
 
@@ -18,7 +18,7 @@ set of thread safe API functions that allows one to run concurrent analyses on
18
18
  multiple EPANET projects can be found in the epanet2_2.h header file. The two
19
19
  APIs share the same function names and arguments with the difference being that
20
20
  the thread safe functions use the prefix "EN_" and include an extra argument that
21
- represents the EPANET project being analyzed. To avoid unnecessary repetition,
21
+ represents the EPANET project being analyzed. To avoid unneccesary repetition,
22
22
  only the thread safe API functions have been documented. To see a description of
23
23
  a legacy style API function declared here please refer to its complementary named
24
24
  function in epanet2_2.h.
@@ -72,21 +72,14 @@ extern "C" {
72
72
 
73
73
  int DLLEXPORT ENopen(const char *inpFile, const char *rptFile,
74
74
  const char *outFile);
75
-
76
- int DLLEXPORT ENopenX(const char *inpFile, const char *rptFile,
77
- const char *outFile);
78
-
75
+
79
76
  int DLLEXPORT ENgettitle(char *line1, char *line2, char *line3);
80
-
81
- int DLLEXPORT ENsettitle(const char *line1, const char *line2, const char *line3);
77
+
78
+ int DLLEXPORT ENsettitle(char *line1, char *line2, char *line3);
82
79
 
83
80
  int DLLEXPORT ENgetcomment(int object, int index, char *comment);
84
81
 
85
- int DLLEXPORT ENsetcomment(int object, int index, const char *comment);
86
-
87
- int DLLEXPORT ENgettag(int object, int index, char *tag);
88
-
89
- int DLLEXPORT ENsettag(int object, int index, const char *tag);
82
+ int DLLEXPORT ENsetcomment(int object, int index, char *comment);
90
83
 
91
84
  int DLLEXPORT ENgetcount(int object, int *count);
92
85
 
@@ -114,9 +107,9 @@ extern "C" {
114
107
 
115
108
  int DLLEXPORT ENcloseH();
116
109
 
117
- int DLLEXPORT ENsavehydfile(const char *filename);
110
+ int DLLEXPORT ENsavehydfile(char *filename);
118
111
 
119
- int DLLEXPORT ENusehydfile(const char *filename);
112
+ int DLLEXPORT ENusehydfile(char *filename);
120
113
 
121
114
  /********************************************************************
122
115
 
@@ -144,17 +137,17 @@ extern "C" {
144
137
 
145
138
  ********************************************************************/
146
139
 
147
- int DLLEXPORT ENwriteline(const char *line);
140
+ int DLLEXPORT ENwriteline(char *line);
148
141
 
149
142
  int DLLEXPORT ENreport();
150
143
 
151
- int DLLEXPORT ENcopyreport(const char *filename);
144
+ int DLLEXPORT ENcopyreport(char *filename);
152
145
 
153
146
  int DLLEXPORT ENclearreport();
154
147
 
155
148
  int DLLEXPORT ENresetreport();
156
149
 
157
- int DLLEXPORT ENsetreport(const char *format);
150
+ int DLLEXPORT ENsetreport(char *format);
158
151
 
159
152
  int DLLEXPORT ENsetstatusreport(int level);
160
153
 
@@ -163,15 +156,8 @@ extern "C" {
163
156
  int DLLEXPORT ENgeterror(int errcode, char *errmsg, int maxLen);
164
157
 
165
158
  int DLLEXPORT ENgetstatistic(int type, EN_API_FLOAT_TYPE* value);
166
-
167
- int DLLEXPORT ENgetresultindex(int type, int index, int *value);
168
-
169
- int DLLEXPORT ENtimetonextevent(int *eventType, long *duration, int *elementIndex);
170
-
171
- int DLLEXPORT ENsetreportcallback(void (*callback)(void *userData, void *EN_projectHandle, const char*));
172
159
 
173
- int DLLEXPORT ENsetreportcallbackuserdata(void *userData);
174
-
160
+ int DLLEXPORT ENgetresultindex(int type, int index, int *value);
175
161
 
176
162
  /********************************************************************
177
163
 
@@ -196,8 +182,8 @@ extern "C" {
196
182
 
197
183
  int DLLEXPORT ENgetqualtype(int *qualType, int *traceNode);
198
184
 
199
- int DLLEXPORT ENsetqualtype(int qualType, const char *chemName,
200
- const char *chemUnits, const char *traceNode);
185
+ int DLLEXPORT ENsetqualtype(int qualType, char *chemName, char *chemUnits,
186
+ char *traceNode);
201
187
 
202
188
  /********************************************************************
203
189
 
@@ -205,31 +191,29 @@ extern "C" {
205
191
 
206
192
  ********************************************************************/
207
193
 
208
- int DLLEXPORT ENaddnode(const char *id, int nodeType, int *index);
194
+ int DLLEXPORT ENaddnode(char *id, int nodeType, int *index);
209
195
 
210
196
  int DLLEXPORT ENdeletenode(int index, int actionCode);
211
197
 
212
- int DLLEXPORT ENgetnodeindex(const char *id, int *index);
198
+ int DLLEXPORT ENgetnodeindex(char *id, int *index);
213
199
 
214
200
  int DLLEXPORT ENgetnodeid(int index, char *id);
215
201
 
216
- int DLLEXPORT ENsetnodeid(int index, const char *newid);
202
+ int DLLEXPORT ENsetnodeid(int index, char *newid);
217
203
 
218
204
  int DLLEXPORT ENgetnodetype(int index, int *nodeType);
219
205
 
220
206
  int DLLEXPORT ENgetnodevalue(int index, int property, EN_API_FLOAT_TYPE *value);
221
207
 
222
- int DLLEXPORT ENgetnodevalues(int property, EN_API_FLOAT_TYPE *value);
223
-
224
208
  int DLLEXPORT ENsetnodevalue(int index, int property, EN_API_FLOAT_TYPE value);
225
209
 
226
210
  int DLLEXPORT ENsetjuncdata(int index, EN_API_FLOAT_TYPE elev,
227
- EN_API_FLOAT_TYPE dmnd, const char *dmndpat);
211
+ EN_API_FLOAT_TYPE dmnd, char *dmndpat);
228
212
 
229
213
  int DLLEXPORT ENsettankdata(int index, EN_API_FLOAT_TYPE elev,
230
214
  EN_API_FLOAT_TYPE initlvl, EN_API_FLOAT_TYPE minlvl,
231
215
  EN_API_FLOAT_TYPE maxlvl, EN_API_FLOAT_TYPE diam,
232
- EN_API_FLOAT_TYPE minvol, const char *volcurve);
216
+ EN_API_FLOAT_TYPE minvol, char *volcurve);
233
217
 
234
218
  int DLLEXPORT ENgetcoord(int index, double *x, double *y);
235
219
 
@@ -248,14 +232,13 @@ extern "C" {
248
232
  EN_API_FLOAT_TYPE preq, EN_API_FLOAT_TYPE pexp);
249
233
 
250
234
  int DLLEXPORT ENadddemand(int nodeIndex, EN_API_FLOAT_TYPE baseDemand,
251
- const char *demandPattern, const char *demandName);
235
+ char *demandPattern, char *demandName);
252
236
 
253
237
  int DLLEXPORT ENdeletedemand(int nodeIndex, int demandIndex);
254
-
238
+
255
239
  int DLLEXPORT ENgetnumdemands(int nodeIndex, int *numDemands);
256
240
 
257
- int DLLEXPORT ENgetdemandindex(int nodeIndex, const char *demandName,
258
- int *demandIndex);
241
+ int DLLEXPORT ENgetdemandindex(int nodeIndex, char *demandName, int *demandIndex);
259
242
 
260
243
  int DLLEXPORT ENgetbasedemand(int nodeIndex, int demandIndex,
261
244
  EN_API_FLOAT_TYPE *baseDemand);
@@ -269,7 +252,7 @@ extern "C" {
269
252
 
270
253
  int DLLEXPORT ENgetdemandname(int nodeIndex, int demandIndex, char *demandName);
271
254
 
272
- int DLLEXPORT ENsetdemandname(int nodeIndex, int demandIndex, const char *demandName);
255
+ int DLLEXPORT ENsetdemandname(int nodeIndex, int demandIndex, char *demandName);
273
256
 
274
257
  /********************************************************************
275
258
 
@@ -277,16 +260,15 @@ extern "C" {
277
260
 
278
261
  ********************************************************************/
279
262
 
280
- int DLLEXPORT ENaddlink(const char *id, int linkType, const char *fromNode,
281
- const char *toNode, int *index);
263
+ int DLLEXPORT ENaddlink(char *id, int linkType, char *fromNode, char *toNode, int *index);
282
264
 
283
265
  int DLLEXPORT ENdeletelink(int index, int actionCode);
284
266
 
285
- int DLLEXPORT ENgetlinkindex(const char *id, int *index);
267
+ int DLLEXPORT ENgetlinkindex(char *id, int *index);
286
268
 
287
269
  int DLLEXPORT ENgetlinkid(int index, char *id);
288
270
 
289
- int DLLEXPORT ENsetlinkid(int index, const char *newid);
271
+ int DLLEXPORT ENsetlinkid(int index, char *newid);
290
272
 
291
273
  int DLLEXPORT ENgetlinktype(int index, int *linkType);
292
274
 
@@ -298,20 +280,16 @@ extern "C" {
298
280
 
299
281
  int DLLEXPORT ENgetlinkvalue(int index, int property, EN_API_FLOAT_TYPE *value);
300
282
 
301
- int DLLEXPORT ENgetlinkvalues(int property, EN_API_FLOAT_TYPE *value);
302
-
303
283
  int DLLEXPORT ENsetlinkvalue(int index, int property, EN_API_FLOAT_TYPE value);
304
284
 
305
285
  int DLLEXPORT ENsetpipedata(int index, EN_API_FLOAT_TYPE length,
306
286
  EN_API_FLOAT_TYPE diam, EN_API_FLOAT_TYPE rough,
307
287
  EN_API_FLOAT_TYPE mloss);
308
-
288
+
309
289
  int DLLEXPORT ENgetvertexcount(int index, int *count);
310
-
290
+
311
291
  int DLLEXPORT ENgetvertex(int index, int vertex, double *x, double *y);
312
-
313
- int DLLEXPORT ENsetvertex(int index, int vertex, double x, double y);
314
-
292
+
315
293
  int DLLEXPORT ENsetvertices(int index, double *x, double *y, int count);
316
294
 
317
295
  /********************************************************************
@@ -332,15 +310,15 @@ extern "C" {
332
310
 
333
311
  ********************************************************************/
334
312
 
335
- int DLLEXPORT ENaddpattern(const char *id);
313
+ int DLLEXPORT ENaddpattern(char *id);
336
314
 
337
315
  int DLLEXPORT ENdeletepattern(int index);
338
316
 
339
- int DLLEXPORT ENgetpatternindex(const char *id, int *index);
317
+ int DLLEXPORT ENgetpatternindex(char *id, int *index);
340
318
 
341
319
  int DLLEXPORT ENgetpatternid(int index, char *id);
342
320
 
343
- int DLLEXPORT ENsetpatternid(int index, const char *id);
321
+ int DLLEXPORT ENsetpatternid(int index, char *id);
344
322
 
345
323
  int DLLEXPORT ENgetpatternlen(int index, int *len);
346
324
 
@@ -352,30 +330,26 @@ extern "C" {
352
330
 
353
331
  int DLLEXPORT ENsetpattern(int index, EN_API_FLOAT_TYPE *values, int len);
354
332
 
355
- int DLLEXPORT ENloadpatternfile(const char *filename, const char *id);
356
-
357
333
  /********************************************************************
358
334
 
359
335
  Data Curve Functions
360
336
 
361
337
  ********************************************************************/
362
338
 
363
- int DLLEXPORT ENaddcurve(const char *id);
339
+ int DLLEXPORT ENaddcurve(char *id);
364
340
 
365
341
  int DLLEXPORT ENdeletecurve(int index);
366
342
 
367
- int DLLEXPORT ENgetcurveindex(const char *id, int *index);
343
+ int DLLEXPORT ENgetcurveindex(char *id, int *index);
368
344
 
369
345
  int DLLEXPORT ENgetcurveid(int index, char *id);
370
346
 
371
- int DLLEXPORT ENsetcurveid(int index, const char *id);
347
+ int DLLEXPORT ENsetcurveid(int index, char *id);
372
348
 
373
349
  int DLLEXPORT ENgetcurvelen(int index, int *len);
374
350
 
375
351
  int DLLEXPORT ENgetcurvetype(int index, int *type);
376
352
 
377
- int DLLEXPORT ENsetcurvetype(int index, int type);
378
-
379
353
  int DLLEXPORT ENgetcurvevalue(int curveIndex, int pointIndex,
380
354
  EN_API_FLOAT_TYPE *x, EN_API_FLOAT_TYPE *y);
381
355
 
@@ -405,9 +379,6 @@ extern "C" {
405
379
  int DLLEXPORT ENsetcontrol(int index, int type, int linkIndex,
406
380
  EN_API_FLOAT_TYPE setting, int nodeIndex, EN_API_FLOAT_TYPE level);
407
381
 
408
- int DLLEXPORT ENgetcontrolenabled(int index, int *out_enabled);
409
-
410
- int DLLEXPORT ENsetcontrolenabled(int index, int enabled);
411
382
 
412
383
  /********************************************************************
413
384
 
@@ -450,13 +421,9 @@ extern "C" {
450
421
 
451
422
  int DLLEXPORT ENsetelseaction(int ruleIndex, int actionIndex, int linkIndex,
452
423
  int status, EN_API_FLOAT_TYPE setting);
453
-
424
+
454
425
  int DLLEXPORT ENsetrulepriority(int index, EN_API_FLOAT_TYPE priority);
455
426
 
456
- int DLLEXPORT ENgetruleenabled(int index, int *out_enabled);
457
-
458
- int DLLEXPORT ENsetruleenabled(int index, int enabled);
459
-
460
427
  #if defined(__cplusplus)
461
428
  }
462
429
  #endif