Last change
on this file since 945 was
868,
checked in by Laurent Fairhead, 17 years ago
|
Preparation du remplacement de la physique utilisee pour l'exercice IPCC_AR4
par la version de la physique avec thermique. On garde le repertoire phylmd
pour un petit moment pour que les utilisateurs ne soient pas trop perdus ...
phy_IPCC_AR4 = phylmd
LF
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
672 bytes
|
Rev | Line | |
---|
[868] | 1 | ! |
---|
| 2 | ! $Header$ |
---|
| 3 | ! |
---|
| 4 | SUBROUTINE minmaxqfi(zq,qmin,qmax,comment) |
---|
| 5 | USE dimphy |
---|
| 6 | IMPLICIT none |
---|
| 7 | |
---|
| 8 | cym#include "dimensions.h" |
---|
| 9 | cym#include "dimphy.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.