71 SUBROUTINE sptrund(IROMB,MAXWV,IDRTI,IMAXI,JMAXI,
72 & IDRTO,IMAXO,JMAXO,KMAX,
73 & IPRIME,ISKIPI,JSKIPI,KSKIPI,
74 & ISKIPO,JSKIPO,KSKIPO,JCPU,GRID,
77 REAL GRID(*),GRIDX(*),GRIDY(*)
78 REAL W((MAXWV+1)*((IROMB+1)*MAXWV+2)/2*2+1,KMAX)
82 IF(jc.EQ.0) jc=
ncpus()
83 mx=(maxwv+1)*((iromb+1)*maxwv+2)/2
88 inp=(jmaxi-1)*max(0,-jn)+1
89 isp=(jmaxi-1)*max(0,-js)+1
90 CALL sptran(iromb,maxwv,idrti,imaxi,jmaxi,kmax,
91 & iprime,iskipi,jn,js,mdim,kskipi,0,0,jc,
92 & w,grid(inp),grid(isp),-1)
98 inp=(jmaxo-1)*max(0,-jn)+1
99 isp=(jmaxo-1)*max(0,-js)+1
100 CALL sptrand(iromb,maxwv,idrto,imaxo,jmaxo,kmax,
101 & 0,iskipo,jn,js,mdim,kskipo,0,0,jc,
103 & gridx(inp),gridx(isp),gridy(inp),gridy(isp),1)