Lew Rossman
2f8561632f
Allows string literals as arguments in C++ clients
...
See issue #651 . Also addresses issue #602 .
2023-01-29 12:34:58 -05:00
Sam Hatchett
2705f8adc1
Merge branch 'dev' into 681-request-additional-api-function-for-getting-finer-grained-time-step-information
2023-01-19 11:52:18 -05:00
Sam Hatchett
736f5ebdd4
updates function signatures to use int-casted enum
2023-01-19 09:50:50 -05:00
Sam Hatchett
9b3007ff55
adds projectless function declarations
...
and fixes non-camelcase convention
2022-08-08 12:02:22 -04:00
Sam Hatchett
b139684164
fixes non-camelcase convention
...
and adds rich corinthian vintage-style (projectless) function declarations
2022-08-08 11:58:09 -04:00
Lew Rossman
80f9acfe4d
Network building enhancements
2020-02-04 10:01:23 -05:00
Lew Rossman
3bd4039d95
Bug fix for EN_setcurve
...
Adjusts params of any pump that uses the curve whose data is modified by EN_setcurve or EN_setcurvevalue (issue #550 ).
2019-11-02 11:17:25 -04:00
Lew Rossman
7aadc83ddf
Adds link vertex get/set functions to the API
2019-10-29 16:33:40 -04:00
Lew Rossman
b640a8685c
Adds EN_getresultindex function to the API
...
See issue #546 . Also fixes a small bug in project.c.
2019-10-26 11:25:09 -04:00
Lew Rossman
c9b836973e
Removes _DEBUG directives from all source files
...
This commit removes the #ifdef _DEBUG statements at the top of all source code files per issue #482 . It also updates the doc files to stress that the speedup observed for hydraulic analysis with the MMD node re-ordering method only applies to single period runs.
2019-05-13 23:49:19 -04:00
Lew Rossman
365ab00dcb
Refactors the API's demand editing functions
2019-05-09 10:26:40 -04:00
Lew Rossman
1583bea154
Return object index from EN_addnode and EN_addlink (issue #432 )
...
Adds an output argument to EN_addnode and EN_addlink that returns the index of the newly added object.
Also refactors the validity check on object ID names.
2019-04-18 07:00:07 -04:00
Michael Tryby
84bf6f98d0
Cleaning up include statements adding crtdbg.h
2019-04-03 15:55:23 -04:00
Lew Rossman
ca0ea0e17c
Fixes bug in EN_getcurve
2019-04-03 00:58:40 -04:00
Lew Rossman
18f65eb8b0
Replace fixed-sized comment strings with dynamic strings
2019-03-17 19:54:51 -04:00
Lew Rossman
65a6c846b6
Change ENgetcoords & ENsetcoords args. to doubles
2019-03-02 12:26:49 -05:00
Lew Rossman
fcbbbf9b2e
Adds new pattern, curve and reporting functions to API
2019-02-20 12:43:32 -05:00
Lew Rossman
36b78f28d3
New function clearreport added (see issue #383 )
...
The newly added `gettitle` and `settitle` functions were moved from the Reporting Functions section to the Project (formerly System) Functions section of epanet2.c and epanet.c.
2019-02-08 12:07:56 -05:00
Elad Salomons
ab62d3bb61
Add new function to get and set title strings
2019-02-06 11:45:48 +02:00
Lew Rossman
dd376692ad
Floating pt. args in thread-safe API changed to doubles (Issue #365 )
2019-01-09 15:14:10 -05:00
Lew Rossman
628fffc718
Added additional network building features ( #367 )
2019-01-02 10:33:58 -05:00
Michael Tryby
76a9dd999c
Fixing file header, adding epanet2.c to winbuild
2018-11-30 09:08:38 -05:00
Michael Tryby
b0c7714d72
Keeping legacy api in epanet2.h epanet2.c and moving new api to epanet2_2.h epanet.c
2018-11-29 12:51:47 -05:00