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.
Source Code
SUBROUTINE UpdateRangeSegmentT(x,t)REAL(KIND=8),INTENT(IN)::x(2),t(2)! LP: See UpdateDepthSegmentTIF(t(1)>=0.0)THEN! SSP%Seg%r( iSegr ) <= x( 1 ) < SSP%Seg%r( iSegr + 1 )DO WHILE(x(1)<SSP%Seg%r(iSegr).AND.iSegr>1)iSegr=iSegr-1END DO DO WHILE(x(1)>=SSP%Seg%r(iSegr+1).AND.iSegr<SSP%Nr-1)iSegr=iSegr+1END DO ELSE! SSP%Seg%r( iSegr ) < x( 1 ) <= SSP%Seg%r( iSegr + 1 )DO WHILE(x(1)>SSP%Seg%r(iSegr+1).AND.iSegr<SSP%Nr-1)iSegr=iSegr+1END DO DO WHILE(x(1)<=SSP%Seg%r(iSegr).AND.iSegr>1)iSegr=iSegr-1END DO ENDIF END SUBROUTINE UpdateRangeSegmentT