89 SUBROUTINE sptrunsv(IROMB,MAXWV,IDRTI,IMAXI,JMAXI,KMAX,NPS,
90 & IPRIME,ISKIPI,JSKIPI,KSKIPI,KGSKIP,
91 & NISKIP,NJSKIP,JCPU,TRUE,XMESH,ORIENT,
93 & LUV,UN,VN,US,VS,LDZ,DN,ZN,DS,ZS,
96 REAL GRIDUI(*),GRIDVI(*)
97 REAL UN(*),VN(*),US(*),VS(*),DN(*),ZN(*),DS(*),ZS(*)
98 REAL PN(*),SN(*),PS(*),SS(*)
99 REAL EPS((MAXWV+1)*((IROMB+1)*MAXWV+2)/2),EPSTOP(MAXWV+1)
100 REAL ENN1((MAXWV+1)*((IROMB+1)*MAXWV+2)/2)
101 REAL ELONN1((MAXWV+1)*((IROMB+1)*MAXWV+2)/2)
102 REAL EON((MAXWV+1)*((IROMB+1)*MAXWV+2)/2),EONTOP(MAXWV+1)
103 REAL WD((MAXWV+1)*((IROMB+1)*MAXWV+2)/2*2+1,KMAX)
104 REAL WZ((MAXWV+1)*((IROMB+1)*MAXWV+2)/2*2+1,KMAX)
108 IF(jc.EQ.0) jc=
ncpus()
109 mx=(maxwv+1)*((iromb+1)*maxwv+2)/2
114 inp=(jmaxi-1)*max(0,-jn)+1
115 isp=(jmaxi-1)*max(0,-js)+1
116 CALL sptranv(iromb,maxwv,idrti,imaxi,jmaxi,kmax,
117 & iprime,iskipi,jn,js,mdim,kskipi,0,0,jc,
119 & gridui(inp),gridui(isp),gridvi(inp),gridvi(isp),-1)
123 CALL sptgpsv(iromb,maxwv,kmax,nps,mdim,kgskip,niskip,njskip,
124 & true,xmesh,orient,wd,wz,un,vn,us,vs)
129 CALL sptgps(iromb,maxwv,kmax,nps,mdim,kgskip,niskip,njskip,
130 & true,xmesh,orient,wd,dn,ds)
131 CALL sptgps(iromb,maxwv,kmax,nps,mdim,kgskip,niskip,njskip,
132 & true,xmesh,orient,wz,zn,zs)
137 CALL spwget(iromb,maxwv,eps,epstop,enn1,elonn1,eon,eontop)
140 CALL splaplac(iromb,maxwv,enn1,wd(1,k),wd(1,k),-1)
141 CALL splaplac(iromb,maxwv,enn1,wz(1,k),wz(1,k),-1)
145 CALL sptgps(iromb,maxwv,kmax,nps,mdim,kgskip,niskip,njskip,
146 & true,xmesh,orient,wd,pn,ps)
147 CALL sptgps(iromb,maxwv,kmax,nps,mdim,kgskip,niskip,njskip,
148 & true,xmesh,orient,wz,sn,ss)