The code allows separate solutions for each soil layer when the solution is very slow. In these cases the water balance was erroneously calculated at the end of calculations for each soil layer. Code modified to only calculate the water balance when all soil layers are solved simultaneously.
There are other water balance checks later in the code, so this simplification should have limited impact.
The code allows separate solutions for each soil layer when the solution is very slow. In these cases the water balance was erroneously calculated at the end of calculations for each soil layer. Code modified to only calculate the water balance when all soil layers are solved simultaneously.
There are other water balance checks later in the code, so this simplification should have limited impact.