88 SUBROUTINE sptrand(IROMB,MAXWV,IDRT,IMAX,JMAX,KMAX,
89 & IPRIME,ISKIP,JNSKIP,JSSKIP,KWSKIP,KGSKIP,
91 & WAVE,GRIDMN,GRIDXN,GRIDXS,GRIDYN,GRIDYS,IDIR)
93 REAL WAVE(*),GRIDMN(KMAX),GRIDXN(*),GRIDXS(*),GRIDYN(*),GRIDYS(*)
94 REAL EPS((MAXWV+1)*((IROMB+1)*MAXWV+2)/2),EPSTOP(MAXWV+1)
95 REAL ENN1((MAXWV+1)*((IROMB+1)*MAXWV+2)/2)
96 REAL ELONN1((MAXWV+1)*((IROMB+1)*MAXWV+2)/2)
97 REAL EON((MAXWV+1)*((IROMB+1)*MAXWV+2)/2),EONTOP(MAXWV+1)
98 REAL WD((MAXWV+1)*((IROMB+1)*MAXWV+2)/2*2+1,KMAX)
99 REAL WZ((MAXWV+1)*((IROMB+1)*MAXWV+2)/2*2+1,KMAX)
102 CALL spwget(iromb,maxwv,eps,epstop,enn1,elonn1,eon,eontop)
103 mx=(maxwv+1)*((iromb+1)*maxwv+2)/2
113 gridmn(k)=wave(kws+1)/sqrt(2.)
114 CALL splaplac(iromb,maxwv,enn1,wave(kws+1),wd(1,k),1)
117 CALL sptranv(iromb,maxwv,idrt,imax,jmax,kmax,
118 & iprime,iskip,jnskip,jsskip,mdim,kgskip,
120 & wd,wz,gridxn,gridxs,gridyn,gridys,idir)
129 CALL sptranv(iromb,maxwv,idrt,imax,jmax,kmax,
130 & iprime,iskip,jnskip,jsskip,mdim,kgskip,
132 & wd,wz,gridxn,gridxs,gridyn,gridys,idir)
137 CALL splaplac(iromb,maxwv,enn1,wave(kws+1),wd(1,k),-1)
138 wave(kws+1)=gridmn(k)*sqrt(2.)
144 CALL splaplac(iromb,maxwv,enn1,wz(1,k),wd(1,k),-1)
145 wave(kws+1:kws+2*mx)=wave(kws+1:kws+2*mx)+wz(1:2*mx,k)
146 wave(kws+1)=gridmn(k)*sqrt(2.)
subroutine splaplac(I, M, ENN1, Q, QD2, IDIR)
Computes the laplacian or the inverse laplacian of a scalar field in spectral space.
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 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 spwget(IROMB, MAXWV, EPS, EPSTOP, ENN1, ELONN1, EON, EONTOP)
This subprogram gets wave-space constants.