Improved node re-ordering method (Issue #162)

This commit is contained in:
Lew Rossman
2018-07-02 13:55:41 -04:00
parent 55a7179ca6
commit 86ffbcf614
5 changed files with 1476 additions and 379 deletions

View File

@@ -122,7 +122,7 @@ int hydsolve(EN_Project *pr, int *iter, double *relerr)
hlosscoeff(pr, i);
}
matrixcoeffs(pr);
errcode = linsolve(&hyd->solver, net->Njuncs);
errcode = linsolve(pr, net->Njuncs);
/* Take action depending on error code */
if (errcode < 0) {