87 SUBROUTINE sptranv(IROMB,MAXWV,IDRT,IMAX,JMAX,KMAX,
88 & IPRIME,ISKIP,JNSKIP,JSSKIP,KWSKIP,KGSKIP,
90 & WAVED,WAVEZ,GRIDUN,GRIDUS,GRIDVN,GRIDVS,IDIR)
92 REAL WAVED(*),WAVEZ(*),GRIDUN(*),GRIDUS(*),GRIDVN(*),GRIDVS(*)
94 MX=(maxwv+1)*((iromb+1)*maxwv+2)/2
109 IF(kg.EQ.0) kg=imax*jmax
111 IF(je.EQ.0) je=(jmax+1)/2
112 IF(jc.EQ.0) jc=
ncpus()
114 IF(idir.LT.0.AND.jbeg.EQ.0)
THEN
117 waved(kws+1:kws+2*mx)=0
118 wavez(kws+1:kws+2*mx)=0
122 CALL sptranfv(iromb,maxwv,idrt,imax,jmax,kmax,
123 & ip,is,jn,js,kw,kg,jb,je,jc,
124 & waved,wavez,gridun,gridus,gridvn,gridvs,idir)
function ncpus()
Set number of CPUs - the number of processors over which to parallelize.
subroutine sptranfv(IROMB, MAXWV, IDRT, IMAX, JMAX, KMAX, IP, IS, JN, JS, KW, KG, JB, JE, JC, WAVED, WAVEZ, GRIDUN, GRIDUS, GRIDVN, GRIDVS, IDIR)
This subprogram performs a spherical transform between spectral coefficients of divergences and curls...
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...