Commit Graph

372 Commits

Author SHA1 Message Date
Michael Tryby ff21a33821 Merge branch 'dev' of https://github.com/OpenWaterAnalytics/EPANET into dev-list 2019-04-17 10:53:08 -04:00
Michael Tryby d1979e7ed0 Update errror code from 250 to 252 2019-04-17 09:39:24 -04:00
Michael Tryby 3186ec326c Adding element id validity check
Adding checks for element set id functions
2019-04-16 17:29:32 -04:00
Michael Tryby 22a7993c8c Adding element id validity checks 2019-04-16 16:57:38 -04:00
Michael Tryby 9224ac4f09 Update cstr_helper.c
Fixing indentation
2019-04-16 15:54:50 -04:00
Michael Tryby 2d74851635 Update cstr_helper.c
fixing indentation
2019-04-16 15:54:12 -04:00
Michael Tryby 02ec735c58 Work in progress
Refactoring cstr_copy and adding test
2019-04-16 15:51:19 -04:00
Michael Tryby ac56971ef2 Work in progress
Creating function for validateing element ID strings
2019-04-16 14:44:06 -04:00
Michael Tryby c659c70817 Work in progress
Implementing demand_list
2019-04-15 13:35:37 -04:00
Michael Tryby f80e74bc5c Update demand.h 2019-04-12 18:07:32 -04:00
Michael Tryby 880bdfffba Work in progress
compiles with warnings, definitely not working
2019-04-12 18:00:36 -04:00
Michael Tryby 2404493f81 Merge pull request #454 from michaeltryby/dev-list
Dev generic list
2019-04-12 14:21:00 -04:00
Michael Tryby 9c4665a661 Fixes memory leak in EN_addnode() (#455)
* Fixing memory leak in EN_addnode()

* Separating test_net_builder from test_toolkit

Making test_net_builder a standalone test

* Removing BOOST_TEST_MAIN

* Work in progress
2019-04-11 18:04:20 -04:00
Michael Tryby 3f37fdbff4 Refactoring head_list and tail_list
Simplifying head and tail list. Adding delete_node() to list API.
2019-04-11 10:45:22 -04:00
Michael Tryby af87edbafe Update list.c 2019-04-11 09:48:43 -04:00
Michael Tryby a7f8fc868e Reorganized to contain list abstraction 2019-04-11 09:44:08 -04:00
Michael Tryby f10e36336f Work in progress 2019-04-10 17:59:55 -04:00
Michael Tryby 6187bc112e Fixing indent 2019-04-10 16:17:36 -04:00
Michael Tryby 669bdde122 Expanding test
Added test where data is a struct
2019-04-10 16:12:13 -04:00
Michael Tryby 7d3c16a400 Update list.c
Fixing indent
2019-04-10 11:26:36 -04:00
Michael Tryby fbecf1b915 Fixing indent
Spaces not tabs
2019-04-10 11:25:01 -04:00
Michael Tryby 3d62254eb8 Update list.c
Updating in line comments.
2019-04-10 11:11:13 -04:00
Michael Tryby 6537b4fca0 Updating file headers 2019-04-10 11:03:23 -04:00
Michael Tryby f9dd9bc766 Clean up and inline comments 2019-04-10 10:57:55 -04:00
Michael Tryby ea02e1736e Fixed memory leak
Fixed memory leak in test_head_list
2019-04-10 10:44:34 -04:00
Michael Tryby 39038bc17e Fixing indentation 2019-04-09 18:17:15 -04:00
Michael Tryby 07995beda1 Fixing bug in head_list 2019-04-09 18:09:41 -04:00
Michael Tryby 1fdee6ac7e Fix typo 2019-04-09 16:16:54 -04:00
Michael Tryby dcfa51f938 Update list.h
Adding documentation
2019-04-09 16:09:37 -04:00
Michael Tryby 30f0def02a Initial commit list
generic linked list
2019-04-09 14:26:33 -04:00
Michael Tryby a6e033767f Merge branch 'dev' of https://github.com/OpenWaterAnalytics/EPANET into Mariosmsk-fix_bug_getdemandname 2019-04-08 15:38:37 -04:00
Michael Tryby cf1fc43a4d Merge branch 'dev' of https://github.com/OpenWaterAnalytics/EPANET into Mariosmsk-fix_bug_getdemandname 2019-04-08 15:22:16 -04:00
Michael Tryby 14af368876 Merge branch 'fix_bug_getdemandname' of https://github.com/Mariosmsk/EPANET into Mariosmsk-fix_bug_getdemandname 2019-04-08 14:44:05 -04:00
Lew Rossman b8443230c6 Bug fix for 2Comp and LIFO tank mixing models (issue #448) 2019-04-08 11:16:23 -04:00
Lew Rossman b2a8b55bc6 Update input2.c 2019-04-05 16:28:55 -04:00
Lew Rossman edcd4b69c7 Eliminates use of temporary linked lists to process Patterns & Curves (issue #449) 2019-04-05 13:02:39 -04:00
Lew Rossman 3e733f5a2a Add more analysis options to the API (issue #425) 2019-04-03 21:17:28 -04:00
Michael Tryby 927cf9770e merging upstream dev 2019-04-03 16:40:58 -04:00
Michael Tryby 9f867b10ca Merge pull request #443 from OpenWaterAnalytics/lrossman-dev17
Removed the EN_DEFDEMANDPAT option
2019-04-03 16:35:47 -04:00
Michael Tryby 84bf6f98d0 Cleaning up include statements adding crtdbg.h 2019-04-03 15:55:23 -04:00
Michael Tryby 0f7c07555b Merge pull request #444 from michaeltryby/dev
Cleaning up build on gcc
2019-04-03 10:58:46 -04:00
Michael Tryby 9da7e9a81b Cleaning up build on gcc 2019-04-03 10:29:10 -04:00
Lew Rossman 83ffc1cfc7 Removed the EN_DEFDEMANDPAT option
See issue #429. Also allowed the EN_HEADLOSSFORM option to be changed if the solver is not active.
2019-04-03 10:25:37 -04:00
Michael Tryby 207cc53b04 Cleaning up build on gcc 2019-04-03 09:27:51 -04:00
Lew Rossman ca0ea0e17c Fixes bug in EN_getcurve 2019-04-03 00:58:40 -04:00
Lew Rossman 6a4b95f4d5 Bug fixes 2019-04-02 22:21:05 -04:00
Michael Tryby db85975151 Fixing header comments 2019-04-02 17:28:48 -04:00
Michael Tryby 0e30d57d4e Update errormanager
Make error_handle_t "private".  Update headers.
2019-04-02 17:01:35 -04:00
Michael Tryby ea5d2894b1 Bumping version, updating headers 2019-04-02 16:51:55 -04:00
Michael Tryby 3ba40015b2 revert 8574f52 2019-04-02 15:41:24 -04:00