Baseform / Baseform-Epanet-Java-Library

A full port of the Epanet modeling library to Java, as a basis for our software platform's network analysis capabilities. This is a complete rewrite of the C language code to a portable, modern and extensible Java library that is hardware- and operating system-independent. The port is a full Epanet engine implementation, including the regular hydraulic and water quality simulation and fully integrating the MSX multi-species extension library.
www.baseform.org
GNU General Public License v3.0
38 stars 45 forks source link

HydraulicReader.SnapshotIterator returns only the first step #5

Closed msteiger closed 7 years ago

msteiger commented 10 years ago

The HydraulicReader.SnapshotIterator.hasNext() loads the first AwareStep into curStep. However, getStep() is 0 for the first step and hasNext() returns false. Consequently, only the first AwareStep is returned.