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.
real(dp)function rsv_pol(k,xp,yp,xps)!**** Interpolation using function POLygon ***integer,intent(in)::kreal(dp),intent(in)::xp(:),yp(:),xpsreal(dp)::x0,xtinteger::i,ihRSV_POL=0.x0=xpsif(x0<xp(1))x0=xp(1)do i=1,kih=ixt=ABS(xp(i)-x0)if(xt<=1.E-6)thenRSV_POL=yp(ih)exit end if if(x0<=xp(i))thenRSV_POL=yp(i-1)+(yp(i)-yp(i-1))*(x0-xp(i-1))/(xp(i)-xp(i-1))exit end if end do end function RSV_POL