refactor the network iteration code
This decouples the group/well constraint check and the network update. The motivation was to get better output to user and .DBG file.
jenkins build this please
jenkins build this failure_report please
jenkins build this failure_report please
jenkins build this failure_report please
Thanks for the request. I will try to begin reviewing it tomorrow.
There are some warnings need to be fixed, but it can be done after the reviewing is done.
jenkins build this please
I will close this now and instead focus on getting #6100 in.