If HRU area is zero, groundwatr.f90 will crash out when computing totalColumnInflow, totalColumnOutflow, mLayerBaseflow and length2area due to a divide-by-zero error. While setting HRU area = 0 is perhaps not the most logical choice, debugging core dumps that result of this is tricky and adding a preliminary check would help the user figure out what's wrong.
If HRU area is zero,
groundwatr.f90
will crash out when computingtotalColumnInflow
,totalColumnOutflow
,mLayerBaseflow
andlength2area
due to a divide-by-zero error. While setting HRU area = 0 is perhaps not the most logical choice, debugging core dumps that result of this is tricky and adding a preliminary check would help the user figure out what's wrong.