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(*),GRIDMN(*)
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)
subroutine sptran(iromb, maxwv, idrt, imax, jmax, kmax, iprime, iskip, jnskip, jsskip, kwskip, kgskip, jbeg, jend, jcpu, wave, gridn, grids, idir)
This subprogram performs a spherical transform between spectral coefficients of scalar quantities and...
subroutine sptrand(iromb, maxwv, idrt, imax, jmax, kmax, iprime, iskip, jnskip, jsskip, kwskip, kgskip, jbeg, jend, jcpu, wave, gridmn, gridxn, gridxs, gridyn, gridys, idir)
This subprogram performs a spherical transform between spectral coefficients of scalar fields and the...
subroutine sptrund(iromb, maxwv, idrti, imaxi, jmaxi, idrto, imaxo, jmaxo, kmax, iprime, iskipi, jskipi, kskipi, iskipo, jskipo, kskipo, jcpu, grid, gridmn, gridx, gridy)
THIS SUBPROGRAM SPECTRALLY TRUNCATES SCALAR FIELDS ON A GLOBAL CYLINDRICAL GRID, RETURNING THEIR MEAN...