Last change
on this file since 695 was
101,
checked in by slebonnois, 14 years ago
|
SL: modifications pour arriver a compiler le gcm VENUS !
Ca marche !
A noter: modifs de makelmdz
|
File size:
737 bytes
|
Line | |
---|
1 | ! |
---|
2 | ! $Header: /home/cvsroot/LMDZ4/libf/phylmd/minmaxqfi.F,v 1.1.1.1 2004/05/19 12:53:09 lmdzadmin Exp $ |
---|
3 | ! |
---|
4 | SUBROUTINE minmaxqfi(zq,qmin,qmax,comment) |
---|
5 | |
---|
6 | use dimphy |
---|
7 | IMPLICIT none |
---|
8 | |
---|
9 | #include "dimensions.h" |
---|
10 | |
---|
11 | CHARACTER*(*) comment |
---|
12 | real qmin,qmax |
---|
13 | real zq(klon,klev) |
---|
14 | |
---|
15 | INTEGER jadrs(klon), jbad, k, i |
---|
16 | |
---|
17 | DO k = 1, klev |
---|
18 | jbad = 0 |
---|
19 | DO i = 1, klon |
---|
20 | IF (zq(i,k).GT.qmax .OR. zq(i,k).LT.qmin) THEN |
---|
21 | jbad = jbad + 1 |
---|
22 | jadrs(jbad) = i |
---|
23 | ENDIF |
---|
24 | ENDDO |
---|
25 | IF (jbad.GT.0) THEN |
---|
26 | PRINT*, comment |
---|
27 | DO i = 1, jbad |
---|
28 | PRINT*, "i,k,q=", jadrs(i),k,zq(jadrs(i),k) |
---|
29 | ENDDO |
---|
30 | ENDIF |
---|
31 | ENDDO |
---|
32 | |
---|
33 | return |
---|
34 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.