Changeset 962 for LMDZ4/trunk/libf/filtrez
- Timestamp:
- Jun 9, 2008, 11:51:32 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/filtrez/acc.F
r524 r962 4 4 subroutine acc(vec,d,im) 5 5 dimension vec(im,im),d(im) 6 do 10 j=1,im 7 do 9 i=1,im 8 9 d(i)=vec(i,j)*vec(i,j) 9 sum=ssum(im,d,1) 10 sum=sqrt(sum) 11 do 10 i=1,im 12 10 vec(i,j)=vec(i,j)/sum 6 do j=1,im 7 do i=1,im 8 d(i)=vec(i,j)*vec(i,j) 9 enddo 10 sum=ssum(im,d,1) 11 sum=sqrt(sum) 12 do i=1,im 13 vec(i,j)=vec(i,j)/sum 14 enddo 15 enddo 13 16 return 14 17 end
Note: See TracChangeset
for help on using the changeset viewer.