1
subroutine majz(n,np,nt,y,s,z,ys,zs,diag,index)
3
c mise a jour de ({z}(i),zs(i), i=1,np).
4
c {z}(i)=[b](i-1)*{s}(i), [b](i) est definie par ({y}(j),{s}(j),{z}(j)
10
implicit double precision (a-h,o-z)
11
dimension y(nt,n),s(nt,n),z(nt,n),ys(nt),zs(nt),diag(n)
16
z(l,jj)=diag(jj)*s(l,jj)
21
zs(l)=zs(l)+z(l,jj)*s(l,jj)
30
z(l,jj)=diag(jj)*s(l,jj)
37
psy=psy+y(jl,jj)*s(l,jj)
38
psz=psz+z(jl,jj)*s(l,jj)
41
z(l,jj)=z(l,jj)+psy*y(jl,jj)/ys(jl)-psz*z(jl,jj)
48
zs(l)=zs(l)+z(l,jj)*s(l,jj)