/[lmdze]/trunk/Sources/bibio/acc.f
ViewVC logotype

Contents of /trunk/Sources/bibio/acc.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 143 - (show annotations)
Tue Jun 9 14:32:46 2015 UTC (8 years, 11 months ago) by guez
Original Path: trunk/Sources/filtrez/acc.f
File size: 411 byte(s)
Removed argument d of procedure acc. Was probably here just because
automatic arrays were unknown.

eigen_sort was eigsrt from Numerical Recipes.

In procedure inifilr, create file "eignvl.txt" instead of writing to
standard output.

1 module acc_m
2
3 implicit none
4
5 contains
6
7 SUBROUTINE acc(vec)
8
9 ! From LMDZ4/libf/filtrez/acc.F, v 1.1.1.1 2004/05/19 12:53:09
10
11 ! Normalize each column of vec.
12
13 real, intent(inout):: vec(:, :)
14
15 ! Local:
16 integer j
17
18 !--------------------------------------------------
19
20 forall (j = 1:size(vec, 2)) vec(:, j) = vec(:, j) / sqrt(sum(vec(:, j)**2))
21
22 END SUBROUTINE acc
23
24 end module acc_m

  ViewVC Help
Powered by ViewVC 1.1.21