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.
This commit is contained in:
@@ -14,6 +14,7 @@ DAT(120,"cannot solve water quality transport equations")
|
||||
// These errors apply only to an input file
|
||||
DAT(200,"one or more errors in input file")
|
||||
DAT(201,"syntax error")
|
||||
DAT(299,"invalid section keyword")
|
||||
|
||||
// These errors apply to both an input file and to API functions
|
||||
DAT(202,"illegal numeric value")
|
||||
@@ -43,6 +44,8 @@ DAT(225,"invalid lower/upper levels for tank")
|
||||
DAT(226,"no head curve or power rating for pump")
|
||||
DAT(227,"invalid head curve for pump")
|
||||
DAT(230,"nonincreasing x-values for curve")
|
||||
DAT(231,"no data provided for curve")
|
||||
DAT(232,"no data provided for pattern")
|
||||
DAT(233,"network has unconnected nodes")
|
||||
DAT(234,"network has an unconnected node with ID: ")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user