Lew Rossman
bd97f66097
Update docs for version 2.3
2025-03-28 09:16:38 -04:00
Lew Rossman
7a1673994c
Set/Get node & link tags added
2025-02-19 09:49:09 -05:00
Marios S. Kyriakou
53350880c9
Add EN_loadpatternfile, ENloadpatternfile
2024-07-31 19:48:19 +03:00
Abel Heinsbroek
9637f5c092
change names of new functions to ENgetnodevalues and ENgetlinkvalues
2024-04-24 15:20:59 +02:00
Abel Heinsbroek
4dff3bd054
add ENgetnodesvalues and ENgetlinksvalues methods
2024-04-23 11:31:17 +02:00
Lew Rossman
10d5079d75
Add EN_openX function
...
EN_openX allows an EPANET input file to be opened even if it has errors. This required re-arranging code, mainly in input3.c, so that default values are assigned to an object before its input line is parsed.
2023-10-04 09:53:05 -04:00
Sam Hatchett
8b28307ecd
clarifying documentation
2023-09-13 09:18:08 -04:00
Sam Hatchett
06a43cdb4e
adds api support for enabling/disabling controls and rules
2023-09-12 14:51:44 -04:00
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
Sam Hatchett
41887e9016
adds client callback API function
2022-07-27 16:37:49 -04:00
Sam Hatchett
5f8ee49fd6
adds an API function to get information about upcoming events
2022-07-27 14:18:50 -04:00
Sam Hatchett
80b30272cb
modifies function declarations with unambiguous "out_" prefixes where output parameters are passed. This is a minor change that does not affect the API or any function implementations, but has great benefits to both readability and SWIG-wrapping. ( #605 )
...
Co-authored-by: Sam Hatchett <sam.hatchett@xyleminc.com >
2020-07-16 15:23:26 -04:00
Lew Rossman
80f9acfe4d
Network building enhancements
2020-02-04 10:01:23 -05:00
Sam Hatchett
c0fe89ceb5
possessive vs contraction
2019-12-07 21:16:58 -05:00
Lew Rossman
55e2879e2d
Updates the docs
2019-10-30 15:11:20 -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
a89f339525
PDA fixes
2019-07-22 09:50:41 -04:00
Sam Hatchett
3fe11b98ee
rethinking the python wrapper ( #511 )
...
* renames certain function parameter declarations and removes double pointer call from the deleteproject function
* deprecates conditonal compilation, removes python-specific headers and function renaming
* fixes tests and docs
* fixes test
2019-07-17 15:19:25 -04:00
Lew Rossman
2bbbf736b0
Numerous updates to project documentation
2019-05-30 13:28:32 -04:00
Lew Rossman
1c9ee7788b
Documentation edits
2019-05-09 13:53:57 -04:00
Lew Rossman
365ab00dcb
Refactors the API's demand editing functions
2019-05-09 10:26:40 -04:00
Michael Tryby
cf97cf8c9c
Work in progress
...
code cleanup, addressed issue raised in review, and implemented EN_adddemand()
2019-04-23 17:52:11 -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
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
Michael Tryby
a4b2e53768
Adding tests for save and use hydraulics file
2019-02-28 11:14:15 -05:00
Lew Rossman
fcbbbf9b2e
Adds new pattern, curve and reporting functions to API
2019-02-20 12:43:32 -05:00
Lew Rossman
3eb9a68783
Fixes win_build and VS/cmake build problems
2019-02-11 14:30:15 -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
140c95214e
Merge pull request #385 from eladsal/dev-title
...
Add new function to get and set title strings
2019-02-07 22:13:40 +02:00
Elad Salomons
ab62d3bb61
Add new function to get and set title strings
2019-02-06 11:45:48 +02:00
Michael Tryby
6a0151b9c7
Adding support for custom epanet_py build target
2019-02-04 14:28:32 -05:00
Michael Tryby
cba9dda5cf
Fixing build error gcc / Travis
2019-01-30 14:30:44 -05:00
Lew Rossman
0cfa45e52e
New updates to address compiler warnings (issue #370 )
...
In addition to addressing compiler warnings, argument names in the API function prototypes were made more consistent and descriptive. Also additional Doxygen comments were added in preparation for producing a more thorough documentation of the API.
2019-01-19 16:56:19 -05: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
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