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 blthicknesst(output,uinput,criterion)use modglobal,only:kb,ke,zh,zfimplicit nonereal,dimension(kb:ke),intent(in)::uinput!< input velocityreal,intent(in)::criterion!< criterion for BL thickness computation (e.g. 0.95 or 0.99)real,intent(out)::output!< BL thickness based on input criterion! real, dimension(kb:ke) :: mthickreal::ucrit! real :: umaxinteger::k! umax = maxval(uinput)ucrit=uinput(ke)*criterion! Velocity at which BL-thickness is reached! ucrit = umax*criterion ! Velocity at which BL-thickness is reacheddo k=kb,keif(uinput(k).GT.criterion*uinput(ke))then if(k==kb)thenoutput=zh(kb)+(zf(k)-zh(k))/uinput(k)*ucrit! interpolate z to BL-heightexit elseoutput=zf(k-1)+(zf(k)-zf(k-1))/(uinput(k)-uinput(k-1))*(ucrit-uinput(k-1))! interpolate z to BL-heightexit end if else if(k==ke)thenoutput=zf(ke)! maximum BL thicknessend if end do end subroutine blthicknesst