Last change
on this file since 1934 was
1279,
checked in by Laurent Fairhead, 15 years ago
|
Merged LMDZ4-dev branch changes r1241:1278 into the trunk
Running trunk and LMDZ4-dev in LMDZOR configuration on local
machine (sequential) and SX8 (4-proc) yields identical results
(restart and restartphy are identical binarily)
Log history from r1241 to r1278 is available by switching to
source:LMDZ4/branches/LMDZ4-dev-20091210
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
726 bytes
|
Line | |
---|
1 | ! |
---|
2 | ! $Id: minmaxqfi.F90 1279 2009-12-10 09:02:56Z jghattas $ |
---|
3 | ! |
---|
4 | SUBROUTINE minmaxqfi(zq,qmin,qmax,comment) |
---|
5 | USE dimphy |
---|
6 | IMPLICIT NONE |
---|
7 | |
---|
8 | ! Entrees |
---|
9 | REAL,DIMENSION(klon,klev), INTENT(IN) :: zq |
---|
10 | REAL,INTENT(IN) :: qmin,qmax |
---|
11 | CHARACTER(LEN=*),INTENT(IN) :: comment |
---|
12 | |
---|
13 | ! Local |
---|
14 | INTEGER,DIMENSION(klon) :: jadrs |
---|
15 | INTEGER :: i, jbad, k |
---|
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 | WRITE(*,*)comment |
---|
27 | DO i = 1, jbad |
---|
28 | WRITE(*,*) "i,k,q=", jadrs(i),k,zq(jadrs(i),k) |
---|
29 | ENDDO |
---|
30 | ENDIF |
---|
31 | ENDDO |
---|
32 | |
---|
33 | END SUBROUTINE minmaxqfi |
---|
Note: See
TracBrowser
for help on using the repository browser.