65 SUBROUTINE sptrung(IROMB,MAXWV,IDRTI,IMAXI,JMAXI,KMAX,NMAX,
66 & IPRIME,ISKIPI,JSKIPI,KSKIPI,KGSKIP,
67 & NRSKIP,NGSKIP,JCPU,RLAT,RLON,GRIDI,GP)
69 REAL RLAT(*),RLON(*),GRIDI(*),GP(*)
70 REAL W((MAXWV+1)*((IROMB+1)*MAXWV+2)/2*2+1,KMAX)
74 IF(jc.EQ.0) jc=
ncpus()
75 mx=(maxwv+1)*((iromb+1)*maxwv+2)/2
80 inp=(jmaxi-1)*max(0,-jn)+1
81 isp=(jmaxi-1)*max(0,-js)+1
82 CALL sptran(iromb,maxwv,idrti,imaxi,jmaxi,kmax,
83 & iprime,iskipi,jn,js,mdim,kskipi,0,0,jc,
84 & w,gridi(inp),gridi(isp),-1)
87 CALL sptgpt(iromb,maxwv,kmax,nmax,mdim,kgskip,nrskip,ngskip,
subroutine sptgpt(iromb, maxwv, kmax, nmax, kwskip, kgskip, nrskip, ngskip, rlat, rlon, wave, gp)
This subprogram performs a spherical transform from spectral coefficients of scalar quantities to spe...
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 sptrung(iromb, maxwv, idrti, imaxi, jmaxi, kmax, nmax, iprime, iskipi, jskipi, kskipi, kgskip, nrskip, ngskip, jcpu, rlat, rlon, gridi, gp)
This subprogram spectrally truncates scalar fields on a global cylindrical grid, returning the fields...