Last change
on this file since 5017 was
4795,
checked in by nfevrier, 9 months ago
|
First save of N. Février's modifications
|
-
Property copyright set to
Name of program: LMDZ Creation date: 1984 Version: LMDZ5 License: CeCILL version 2 Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539 See the license file in the root directory
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.1 KB
|
Line | |
---|
1 | ! |
---|
2 | ! $Id: minmaxqfi.F90 4795 2024-02-01 15:53:24Z dcugnet $ |
---|
3 | ! |
---|
4 | SUBROUTINE minmaxqfi(zq,qmin,qmax,comment,it) |
---|
5 | USE dimphy |
---|
6 | USE print_control_mod, ONLY: prt_level |
---|
7 | USE infotrac_phy, ONLY: nbtr, type_trac, conv_flg, solsym |
---|
8 | IMPLICIT NONE |
---|
9 | |
---|
10 | ! Entrees |
---|
11 | REAL,DIMENSION(klon,klev), INTENT(IN) :: zq |
---|
12 | REAL,INTENT(IN) :: qmin,qmax |
---|
13 | CHARACTER(LEN=*),INTENT(IN) :: comment |
---|
14 | INTEGER,INTENT(IN) :: it |
---|
15 | |
---|
16 | ! Local |
---|
17 | INTEGER,DIMENSION(klon) :: jadrs |
---|
18 | INTEGER :: i, jbad, k |
---|
19 | |
---|
20 | DO k = 1, klev |
---|
21 | jbad = 0 |
---|
22 | DO i = 1, klon |
---|
23 | IF (zq(i,k).GT.qmax .OR. zq(i,k).LT.qmin) THEN |
---|
24 | jbad = jbad + 1 |
---|
25 | jadrs(jbad) = i |
---|
26 | ENDIF |
---|
27 | ENDDO |
---|
28 | IF ((jbad.GT.0) .AND. ((TRIM(solsym(it))=='AIBCM') .OR. (TRIM(solsym(it))=='ASBCM'))) THEN ! Nicolas Février : alerte seulement si le BC est concerné |
---|
29 | WRITE(*,*)comment, "k = ", k, "jbad > 0" |
---|
30 | if (prt_level >= 1) then ! Nicolas Février on print tout |
---|
31 | DO i = 1, jbad |
---|
32 | WRITE(*,*) "i,q=", jadrs(i), zq(jadrs(i),k) |
---|
33 | ENDDO |
---|
34 | end if |
---|
35 | ENDIF |
---|
36 | ENDDO |
---|
37 | |
---|
38 | END SUBROUTINE minmaxqfi |
---|
Note: See
TracBrowser
for help on using the repository browser.