Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
integer function landuse_index(id)! get land / cover use index! Return the position/line number/index of the land use cover entry in! the *.lut file! land use/cover ID from land use map, or variable 'n' as used in the rest of the SWIM codeinteger,intent(in)::idinteger::ilanduse_index=0do i=1,nlutif(LULC%id(i)==id)thenlanduse_index=iEXIT end if end do if(landuse_index==0)then call log_error("landuse_index","Land use ID does not exist:",int=id)end if end function landuse_index