81 SUBROUTINE sptrungv(IROMB,MAXWV,IDRTI,IMAXI,JMAXI,KMAX,NMAX,
82 & IPRIME,ISKIPI,JSKIPI,KSKIPI,KGSKIP,
83 & NRSKIP,NGSKIP,JCPU,RLAT,RLON,GRIDUI,GRIDVI,
84 & LUV,UP,VP,LDZ,DP,ZP,LPS,PP,SP)
87 REAL RLAT(*),RLON(*),GRIDUI(*),GRIDVI(*)
88 REAL UP(*),VP(*),DP(*),ZP(*),PP(*),SP(*)
89 REAL EPS((MAXWV+1)*((IROMB+1)*MAXWV+2)/2),EPSTOP(MAXWV+1)
90 REAL ENN1((MAXWV+1)*((IROMB+1)*MAXWV+2)/2)
91 REAL ELONN1((MAXWV+1)*((IROMB+1)*MAXWV+2)/2)
92 REAL EON((MAXWV+1)*((IROMB+1)*MAXWV+2)/2),EONTOP(MAXWV+1)
93 REAL WD((MAXWV+1)*((IROMB+1)*MAXWV+2)/2*2+1,KMAX)
94 REAL WZ((MAXWV+1)*((IROMB+1)*MAXWV+2)/2*2+1,KMAX)
98 IF(jc.EQ.0) jc=
ncpus()
99 mx=(maxwv+1)*((iromb+1)*maxwv+2)/2
104 inp=(jmaxi-1)*max(0,-jn)+1
105 isp=(jmaxi-1)*max(0,-js)+1
106 CALL sptranv(iromb,maxwv,idrti,imaxi,jmaxi,kmax,
107 & iprime,iskipi,jn,js,mdim,kskipi,0,0,jc,
109 & gridui(inp),gridui(isp),gridvi(inp),gridvi(isp),-1)
113 CALL sptgptv(iromb,maxwv,kmax,nmax,mdim,kgskip,nrskip,ngskip,
114 & rlat,rlon,wd,wz,up,vp)
119 CALL sptgpt(iromb,maxwv,kmax,nmax,mdim,kgskip,nrskip,ngskip,
121 CALL sptgpt(iromb,maxwv,kmax,nmax,mdim,kgskip,nrskip,ngskip,
127 CALL spwget(iromb,maxwv,eps,epstop,enn1,elonn1,eon,eontop)
130 CALL splaplac(iromb,maxwv,enn1,wd(1,k),wd(1,k),-1)
131 CALL splaplac(iromb,maxwv,enn1,wz(1,k),wz(1,k),-1)
135 CALL sptgpt(iromb,maxwv,kmax,nmax,mdim,kgskip,nrskip,ngskip,
137 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 sptgptv(iromb, maxwv, kmax, nmax, kwskip, kgskip, nrskip, ngskip, rlat, rlon, waved, wavez, up, vp)
This subprogram performs a spherical transform from spectral coefficients of divergences and curls to...
subroutine sptranv(iromb, maxwv, idrt, imax, jmax, kmax, iprime, iskip, jnskip, jsskip, kwskip, kgskip, jbeg, jend, jcpu, waved, wavez, gridun, gridus, gridvn, gridvs, idir)
This subprogram performs a spherical transform between spectral coefficients of divergences and curls...
subroutine sptrungv(iromb, maxwv, idrti, imaxi, jmaxi, kmax, nmax, iprime, iskipi, jskipi, kskipi, kgskip, nrskip, ngskip, jcpu, rlat, rlon, gridui, gridvi, luv, up, vp, ldz, dp, zp, lps, pp, sp)
THIS SUBPROGRAM SPECTRALLY TRUNCATES VECTORS FIELDS ON A GLOBAL CYLINDRICAL GRID, RETURNING THE FIELD...