Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
~ ~ ~ PURPOSE ~ ~ ~
this subroutine calculates the water exchange volume between irrigation canals and connected grid cells
for canals that originate outside of the model boundary (and hence do not remove water from channels
within the model)