epanet-plus 0.0.1__cp312-cp312-macosx_10_13_x86_64.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.
Potentially problematic release.
This version of epanet-plus might be problematic. Click here for more details.
- docs/conf.py +67 -0
- epanet-msx-src/dispersion.h +27 -0
- epanet-msx-src/hash.c +107 -0
- epanet-msx-src/hash.h +28 -0
- epanet-msx-src/include/epanetmsx.h +104 -0
- epanet-msx-src/include/epanetmsx_export.h +42 -0
- epanet-msx-src/mathexpr.c +937 -0
- epanet-msx-src/mathexpr.h +39 -0
- epanet-msx-src/mempool.c +204 -0
- epanet-msx-src/mempool.h +24 -0
- epanet-msx-src/msxchem.c +1285 -0
- epanet-msx-src/msxcompiler.c +368 -0
- epanet-msx-src/msxdict.h +42 -0
- epanet-msx-src/msxdispersion.c +586 -0
- epanet-msx-src/msxerr.c +116 -0
- epanet-msx-src/msxfile.c +260 -0
- epanet-msx-src/msxfuncs.c +175 -0
- epanet-msx-src/msxfuncs.h +35 -0
- epanet-msx-src/msxinp.c +1504 -0
- epanet-msx-src/msxout.c +398 -0
- epanet-msx-src/msxproj.c +791 -0
- epanet-msx-src/msxqual.c +2011 -0
- epanet-msx-src/msxrpt.c +400 -0
- epanet-msx-src/msxtank.c +422 -0
- epanet-msx-src/msxtoolkit.c +1164 -0
- epanet-msx-src/msxtypes.h +551 -0
- epanet-msx-src/msxutils.c +524 -0
- epanet-msx-src/msxutils.h +56 -0
- epanet-msx-src/newton.c +158 -0
- epanet-msx-src/newton.h +34 -0
- epanet-msx-src/rk5.c +287 -0
- epanet-msx-src/rk5.h +39 -0
- epanet-msx-src/ros2.c +293 -0
- epanet-msx-src/ros2.h +35 -0
- epanet-msx-src/smatrix.c +816 -0
- epanet-msx-src/smatrix.h +29 -0
- epanet-src/AUTHORS +60 -0
- epanet-src/LICENSE +21 -0
- epanet-src/enumstxt.h +151 -0
- epanet-src/epanet.c +5937 -0
- epanet-src/epanet2.c +961 -0
- epanet-src/epanet2.def +131 -0
- epanet-src/errors.dat +79 -0
- epanet-src/flowbalance.c +186 -0
- epanet-src/funcs.h +219 -0
- epanet-src/genmmd.c +1000 -0
- epanet-src/hash.c +177 -0
- epanet-src/hash.h +28 -0
- epanet-src/hydcoeffs.c +1303 -0
- epanet-src/hydraul.c +1164 -0
- epanet-src/hydsolver.c +781 -0
- epanet-src/hydstatus.c +442 -0
- epanet-src/include/epanet2.h +466 -0
- epanet-src/include/epanet2_2.h +1962 -0
- epanet-src/include/epanet2_enums.h +518 -0
- epanet-src/inpfile.c +884 -0
- epanet-src/input1.c +672 -0
- epanet-src/input2.c +970 -0
- epanet-src/input3.c +2265 -0
- epanet-src/leakage.c +527 -0
- epanet-src/mempool.c +146 -0
- epanet-src/mempool.h +24 -0
- epanet-src/output.c +853 -0
- epanet-src/project.c +1691 -0
- epanet-src/quality.c +695 -0
- epanet-src/qualreact.c +800 -0
- epanet-src/qualroute.c +696 -0
- epanet-src/report.c +1559 -0
- epanet-src/rules.c +1500 -0
- epanet-src/smatrix.c +871 -0
- epanet-src/text.h +508 -0
- epanet-src/types.h +928 -0
- epanet-src/util/cstr_helper.c +59 -0
- epanet-src/util/cstr_helper.h +38 -0
- epanet-src/util/errormanager.c +92 -0
- epanet-src/util/errormanager.h +39 -0
- epanet-src/util/filemanager.c +212 -0
- epanet-src/util/filemanager.h +81 -0
- epanet-src/validate.c +408 -0
- epanet.cpython-312-darwin.so +0 -0
- epanet_plus/VERSION +1 -0
- epanet_plus/__init__.py +8 -0
- epanet_plus/epanet_plus.c +118 -0
- epanet_plus/epanet_toolkit.py +2730 -0
- epanet_plus/epanet_wrapper.py +2414 -0
- epanet_plus/include/epanet_plus.h +9 -0
- epanet_plus-0.0.1.dist-info/METADATA +152 -0
- epanet_plus-0.0.1.dist-info/RECORD +105 -0
- epanet_plus-0.0.1.dist-info/WHEEL +6 -0
- epanet_plus-0.0.1.dist-info/licenses/LICENSE +21 -0
- epanet_plus-0.0.1.dist-info/top_level.txt +11 -0
- examples/basic_usage.py +35 -0
- python-extension/ext.c +344 -0
- python-extension/pyepanet.c +2133 -0
- python-extension/pyepanet.h +143 -0
- python-extension/pyepanet2.c +1823 -0
- python-extension/pyepanet2.h +141 -0
- python-extension/pyepanet_plus.c +37 -0
- python-extension/pyepanet_plus.h +4 -0
- python-extension/pyepanetmsx.c +388 -0
- python-extension/pyepanetmsx.h +35 -0
- tests/test_epanet.py +16 -0
- tests/test_epanetmsx.py +36 -0
- tests/test_epyt.py +114 -0
- tests/test_load_inp_from_buffer.py +18 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
#include <Python.h>
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
PyObject* method_EN_createproject(PyObject* self, PyObject* Py_UNUSED(args));
|
|
5
|
+
PyObject* method_EN_deleteproject(PyObject* self, PyObject* args);
|
|
6
|
+
PyObject* method_EN_init(PyObject* self, PyObject* args);
|
|
7
|
+
PyObject* method_EN_open(PyObject* self, PyObject* args);
|
|
8
|
+
PyObject* method_EN_gettitle(PyObject* self, PyObject* args);
|
|
9
|
+
PyObject* method_EN_settitle(PyObject* self, PyObject* args);
|
|
10
|
+
PyObject* method_EN_getcomment(PyObject* self, PyObject* args);
|
|
11
|
+
PyObject* method_EN_setcomment(PyObject* self, PyObject* args);
|
|
12
|
+
PyObject* method_EN_getcount(PyObject* self, PyObject* args);
|
|
13
|
+
PyObject* method_EN_saveinpfile(PyObject* self, PyObject* args);
|
|
14
|
+
PyObject* method_EN_close(PyObject* self, PyObject* args);
|
|
15
|
+
PyObject* method_EN_solveH(PyObject* self, PyObject* args);
|
|
16
|
+
PyObject* method_EN_usehydfile(PyObject* self, PyObject* args);
|
|
17
|
+
PyObject* method_EN_openH(PyObject* self, PyObject* args);
|
|
18
|
+
PyObject* method_EN_initH(PyObject* self, PyObject* args);
|
|
19
|
+
PyObject* method_EN_runH(PyObject* self, PyObject* args);
|
|
20
|
+
PyObject* method_EN_nextH(PyObject* self, PyObject* args);
|
|
21
|
+
PyObject* method_EN_saveH(PyObject* self, PyObject* args);
|
|
22
|
+
PyObject* method_EN_savehydfile(PyObject* self, PyObject* args);
|
|
23
|
+
PyObject* method_EN_closeH(PyObject* self, PyObject* args);
|
|
24
|
+
PyObject* method_EN_solveQ(PyObject* self, PyObject* args);
|
|
25
|
+
PyObject* method_EN_openQ(PyObject* self, PyObject* args);
|
|
26
|
+
PyObject* method_EN_initQ(PyObject* self, PyObject* args);
|
|
27
|
+
PyObject* method_EN_runQ(PyObject* self, PyObject* args);
|
|
28
|
+
PyObject* method_EN_nextQ(PyObject* self, PyObject* args);
|
|
29
|
+
PyObject* method_EN_stepQ(PyObject* self, PyObject* args);
|
|
30
|
+
PyObject* method_EN_closeQ(PyObject* self, PyObject* args);
|
|
31
|
+
PyObject* method_EN_writeline(PyObject* self, PyObject* args);
|
|
32
|
+
PyObject* method_EN_report(PyObject* self, PyObject* args);
|
|
33
|
+
PyObject* method_EN_copyreport(PyObject* self, PyObject* args);
|
|
34
|
+
PyObject* method_EN_clearreport(PyObject* self, PyObject* args);
|
|
35
|
+
PyObject* method_EN_resetreport(PyObject* self, PyObject* args);
|
|
36
|
+
PyObject* method_EN_setreport(PyObject* self, PyObject* args);
|
|
37
|
+
PyObject* method_EN_setstatusreport(PyObject* self, PyObject* args);
|
|
38
|
+
PyObject* method_EN_getversion(PyObject* self, PyObject* args);
|
|
39
|
+
PyObject* method_EN_geterror(PyObject* self, PyObject* args);
|
|
40
|
+
PyObject* method_EN_getstatistic(PyObject* self, PyObject* args);
|
|
41
|
+
PyObject* method_EN_getresultindex(PyObject* self, PyObject* args);
|
|
42
|
+
PyObject* method_EN_getoption(PyObject* self, PyObject* args);
|
|
43
|
+
PyObject* method_EN_setoption(PyObject* self, PyObject* args);
|
|
44
|
+
PyObject* method_EN_getflowunits(PyObject* self, PyObject* args);
|
|
45
|
+
PyObject* method_EN_setflowunits(PyObject* self, PyObject* args);
|
|
46
|
+
PyObject* method_EN_gettimeparam(PyObject* self, PyObject* args);
|
|
47
|
+
PyObject* method_EN_settimeparam(PyObject* self, PyObject* args);
|
|
48
|
+
PyObject* method_EN_getqualinfo(PyObject* self, PyObject* args);
|
|
49
|
+
PyObject* method_EN_getqualtype(PyObject* self, PyObject* args);
|
|
50
|
+
PyObject* method_EN_setqualtype(PyObject* self, PyObject* args);
|
|
51
|
+
PyObject* method_EN_addnode(PyObject* self, PyObject* args);
|
|
52
|
+
PyObject* method_EN_deletenode(PyObject* self, PyObject* args);
|
|
53
|
+
PyObject* method_EN_getnodeindex(PyObject* self, PyObject* args);
|
|
54
|
+
PyObject* method_EN_getnodeid(PyObject* self, PyObject* args);
|
|
55
|
+
PyObject* method_EN_setnodeid(PyObject* self, PyObject* args);
|
|
56
|
+
PyObject* method_EN_getnodetype(PyObject* self, PyObject* args);
|
|
57
|
+
PyObject* method_EN_getnodevalue(PyObject* self, PyObject* args);
|
|
58
|
+
PyObject* method_EN_setnodevalue(PyObject* self, PyObject* args);
|
|
59
|
+
PyObject* method_EN_setjuncdata(PyObject* self, PyObject* args);
|
|
60
|
+
PyObject* method_EN_settankdata(PyObject* self, PyObject* args);
|
|
61
|
+
PyObject* method_EN_getcoord(PyObject* self, PyObject* args);
|
|
62
|
+
PyObject* method_EN_setcoord(PyObject* self, PyObject* args);
|
|
63
|
+
PyObject* method_EN_getdemandmodel(PyObject* self, PyObject* args);
|
|
64
|
+
PyObject* method_EN_setdemandmodel(PyObject* self, PyObject* args);
|
|
65
|
+
PyObject* method_EN_adddemand(PyObject* self, PyObject* args);
|
|
66
|
+
PyObject* method_EN_deletedemand(PyObject* self, PyObject* args);
|
|
67
|
+
PyObject* method_EN_getdemandindex(PyObject* self, PyObject* args);
|
|
68
|
+
PyObject* method_EN_getnumdemands(PyObject* self, PyObject* args);
|
|
69
|
+
PyObject* method_EN_getbasedemand(PyObject* self, PyObject* args);
|
|
70
|
+
PyObject* method_EN_setbasedemand(PyObject* self, PyObject* args);
|
|
71
|
+
PyObject* method_EN_getdemandpattern(PyObject* self, PyObject* args);
|
|
72
|
+
PyObject* method_EN_setdemandpattern(PyObject* self, PyObject* args);
|
|
73
|
+
PyObject* method_EN_getdemandname(PyObject* self, PyObject* args);
|
|
74
|
+
PyObject* method_EN_setdemandname(PyObject* self, PyObject* args);
|
|
75
|
+
PyObject* method_EN_addlink(PyObject* self, PyObject* args);
|
|
76
|
+
PyObject* method_EN_deletelink(PyObject* self, PyObject* args);
|
|
77
|
+
PyObject* method_EN_getlinkindex(PyObject* self, PyObject* args);
|
|
78
|
+
PyObject* method_EN_getlinkid(PyObject* self, PyObject* args);
|
|
79
|
+
PyObject* method_EN_setlinkid(PyObject* self, PyObject* args);
|
|
80
|
+
PyObject* method_EN_getlinktype(PyObject* self, PyObject* args);
|
|
81
|
+
PyObject* method_EN_setlinktype(PyObject* self, PyObject* args);
|
|
82
|
+
PyObject* method_EN_getlinknodes(PyObject* self, PyObject* args);
|
|
83
|
+
PyObject* method_EN_setlinknodes(PyObject* self, PyObject* args);
|
|
84
|
+
PyObject* method_EN_getlinkvalue(PyObject* self, PyObject* args);
|
|
85
|
+
PyObject* method_EN_setlinkvalue(PyObject* self, PyObject* args);
|
|
86
|
+
PyObject* method_EN_setpipedata(PyObject* self, PyObject* args);
|
|
87
|
+
PyObject* method_EN_getvertexcount(PyObject* self, PyObject* args);
|
|
88
|
+
PyObject* method_EN_getvertex(PyObject* self, PyObject* args);
|
|
89
|
+
PyObject* method_EN_setvertices(PyObject* self, PyObject* args);
|
|
90
|
+
PyObject* method_EN_getpumptype(PyObject* self, PyObject* args);
|
|
91
|
+
PyObject* method_EN_getheadcurveindex(PyObject* self, PyObject* args);
|
|
92
|
+
PyObject* method_EN_setheadcurveindex(PyObject* self, PyObject* args);
|
|
93
|
+
PyObject* method_EN_addpattern(PyObject* self, PyObject* args);
|
|
94
|
+
PyObject* method_EN_deletepattern(PyObject* self, PyObject* args);
|
|
95
|
+
PyObject* method_EN_getpatternindex(PyObject* self, PyObject* args);
|
|
96
|
+
PyObject* method_EN_getpatternid(PyObject* self, PyObject* args);
|
|
97
|
+
PyObject* method_EN_setpatternid(PyObject* self, PyObject* args);
|
|
98
|
+
PyObject* method_EN_getpatternlen(PyObject* self, PyObject* args);
|
|
99
|
+
PyObject* method_EN_getpatternvalue(PyObject* self, PyObject* args);
|
|
100
|
+
PyObject* method_EN_setpatternvalue(PyObject* self, PyObject* args);
|
|
101
|
+
PyObject* method_EN_getaveragepatternvalue(PyObject* self, PyObject* args);
|
|
102
|
+
PyObject* method_EN_setpattern(PyObject* self, PyObject* args);
|
|
103
|
+
PyObject* method_EN_addcurve(PyObject* self, PyObject* args);
|
|
104
|
+
PyObject* method_EN_deletecurve(PyObject* self, PyObject* args);
|
|
105
|
+
PyObject* method_EN_getcurveindex(PyObject* self, PyObject* args);
|
|
106
|
+
PyObject* method_EN_getcurveid(PyObject* self, PyObject* args);
|
|
107
|
+
PyObject* method_EN_setcurveid(PyObject* self, PyObject* args);
|
|
108
|
+
PyObject* method_EN_getcurvelen(PyObject* self, PyObject* args);
|
|
109
|
+
PyObject* method_EN_getcurvetype(PyObject* self, PyObject* args);
|
|
110
|
+
PyObject* method_EN_getcurvevalue(PyObject* self, PyObject* args);
|
|
111
|
+
PyObject* method_EN_setcurvevalue(PyObject* self, PyObject* args);
|
|
112
|
+
PyObject* method_EN_getcurve(PyObject* self, PyObject* args);
|
|
113
|
+
PyObject* method_EN_setcurve(PyObject* self, PyObject* args);
|
|
114
|
+
PyObject* method_EN_addcontrol(PyObject* self, PyObject* args);
|
|
115
|
+
PyObject* method_EN_deletecontrol(PyObject* self, PyObject* args);
|
|
116
|
+
PyObject* method_EN_getcontrol(PyObject* self, PyObject* args);
|
|
117
|
+
PyObject* method_EN_setcontrol(PyObject* self, PyObject* args);
|
|
118
|
+
PyObject* method_EN_addrule(PyObject* self, PyObject* args);
|
|
119
|
+
PyObject* method_EN_deleterule(PyObject* self, PyObject* args);
|
|
120
|
+
PyObject* method_EN_getrule(PyObject* self, PyObject* args);
|
|
121
|
+
PyObject* method_EN_getruleID(PyObject* self, PyObject* args);
|
|
122
|
+
PyObject* method_EN_getpremise(PyObject* self, PyObject* args);
|
|
123
|
+
PyObject* method_EN_setpremise(PyObject* self, PyObject* args);
|
|
124
|
+
PyObject* method_EN_setpremiseindex(PyObject* self, PyObject* args);
|
|
125
|
+
PyObject* method_EN_setpremisestatus(PyObject* self, PyObject* args);
|
|
126
|
+
PyObject* method_EN_setpremisevalue(PyObject* self, PyObject* args);
|
|
127
|
+
PyObject* method_EN_getthenaction(PyObject* self, PyObject* args);
|
|
128
|
+
PyObject* method_EN_setthenaction(PyObject* self, PyObject* args);
|
|
129
|
+
PyObject* method_EN_getelseaction(PyObject* self, PyObject* args);
|
|
130
|
+
PyObject* method_EN_setelseaction(PyObject* self, PyObject* args);
|
|
131
|
+
PyObject* method_EN_setrulepriority(PyObject* self, PyObject* args);
|
|
132
|
+
PyObject* method_EN_gettag(PyObject* self, PyObject* args);
|
|
133
|
+
PyObject* method_EN_settag(PyObject* self, PyObject* args);
|
|
134
|
+
PyObject* method_EN_timetonextevent(PyObject* self, PyObject* args);
|
|
135
|
+
PyObject* method_EN_getnodevalues(PyObject* self, PyObject* args);
|
|
136
|
+
PyObject* method_EN_getlinkvalues(PyObject* self, PyObject* args);
|
|
137
|
+
PyObject* method_EN_setvertex(PyObject* self, PyObject* args);
|
|
138
|
+
PyObject* method_EN_loadpatternfile(PyObject* self, PyObject* args);
|
|
139
|
+
PyObject* method_EN_setcurvetype(PyObject* self, PyObject* args);
|
|
140
|
+
PyObject* method_EN_getcontrolenabled(PyObject* self, PyObject* args);
|
|
141
|
+
PyObject* method_EN_setcontrolenabled(PyObject* self, PyObject* args);
|
|
142
|
+
PyObject* method_EN_getruleenabled(PyObject* self, PyObject* args);
|
|
143
|
+
PyObject* method_EN_setruleenabled(PyObject* self, PyObject* args);
|