Fixes #172 (adjust controls when node/link is deleted) & EN_addrule added
- Deleting controls with node/link deletion made conditional. - New EN_addrule function added along with a test file. - Rule structures re-named & rules.c heavily modified. - Issue with exceeding limit on number of temporary file names fixed. - VB declaration and DEF files updated.
This commit is contained in:
@@ -495,7 +495,7 @@ double findsourcequal(EN_Project *pr, int n, double volin, double volout, long t
|
||||
{
|
||||
// Concentration Source:
|
||||
case CONCEN:
|
||||
if (net->Node[n].Type == EN_JUNCTION)
|
||||
if (net->Node[n].Type == JUNCTION)
|
||||
{
|
||||
// ... source requires a negative demand at the node
|
||||
if (hyd->NodeDemand[n] < 0.0)
|
||||
|
||||
Reference in New Issue
Block a user