我需要使用每个变量的值(wndspeed、xh、yh、A 和 B)进行函数调用 有没有人知道如何在不使用这些嵌套循环的情况下做到这一点?
do i=1,windsteps
wndspeed =windinc*float(i-1)+windstart
write(*,*)i,wndspeed
do j=1,ixsteps
xh=xinc*float(j-1)
xh=xh/height
do k=1,iysteps
yh=10.*float(k-1)*1e3
yh=yinc*float(k-1)
yh=yh/height
do l=1,iasteps
A=(ainc*float(l-1)+50)*1e3
do m=1,ibsteps
B=binc*float(m-1)+1
Pdelt=wndspeed*wndspeed*rho*exp(1.)/B
call trackslopes(elevang,wndspeed,coxmkcor,skewpeak,
1 numslops,slopary,tanumax,xh,yh,A,B,Pdelt,height,numchips,
2 bkgrdwnd,antgain)
skewpeak=0
call trackconvolve(height,tanumax,numslops,slopary,numchips,
1 stppchip,deadband,elevang,convary)
enddo
enddo
enddo
enddo