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 zinterpolatew1d(input,output)use modglobal,only:kb,ke,zhimplicit nonereal,dimension(kbin:kein+1),intent(in)::inputreal,dimension(kb:ke+1),intent(inout)::outputinteger kdo k=kb,ke+1if(linuh(k)==kein+2)then! indicator for extrapolation!output(k)=input(kein+1)elseif(linlh(k)==kbin-1)then! interprets this as extrapolation to bottom (use u=0 at z+=0)output(k)=input(kbin)!=0! output(k) = input(kbin)/zhin(kbin) * zh(k)! output(:,k,:) = input(:,kbin,:) ! temeperature is not zero at the wall, so line above is wrongelse! normal interpolationoutput(k)=input(linlh(k))+(input(linuh(k))-input(linlh(k)))/(zhin(linuh(k))-zhin(linlh(k)))*(zh(k)-zh(linlh(k)))if((zh(k).gt.zhin(linuh(k))).or.(zh(k).lt.zhin(linlh(k))))then write(6,*)'!!!Mistake in zinterpolatew1d !!!!'end if end if end do end subroutine zinterpolatew1d