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.
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.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Source Code
subroutine zinterpolate2d(input,output)use modglobal,only:ib,ie,kb,ke,zf,nstoreimplicit nonereal,dimension(ib:ie,kbin:kein),intent(in)::inputreal,dimension(ib:ie,kb:ke),intent(inout)::outputinteger kdo k=kb,keif(linuf(k)==kein+1)then! indicator for extrapolation!output(:,k)=input(:,kein)elseif(linlf(k)==kbin-1)then! interprets this as extrapolation to bottom (use u=0 at z+=0)output(:,k)=input(:,kbin)/zfin(kbin)*zf(k)! output(:,k,:) = input(:,kbin,:) ! temeperature is not zero at the wall, so line above is wrongelse! normal interpolationoutput(:,k)=input(:,linlf(k))+(input(:,linuf(k))-input(:,linlf(k)))/(zfin(linuf(k))-zfin(linlf(k)))*(zf(k)-zf(linlf(k)))if((zf(k).gt.zfin(linuf(k))).or.(zf(k).lt.zfin(linlf(k))))then write(6,*)'!!!Mistake in zinterpolate2d !!!!'end if end if end do end subroutine zinterpolate2d