Last change
on this file since 3811 was
3605,
checked in by lguez, 5 years ago
|
Merge revisions 3427:3600 of trunk into branch Ocean_skin
|
-
Property svn:keywords set to
Id
|
File size:
500 bytes
|
Line | |
---|
1 | ! |
---|
2 | ! $Id: minmaxsimple.F90 3605 2019-11-21 15:43:45Z lguez $ |
---|
3 | ! |
---|
4 | SUBROUTINE minmaxsimple(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 | REAL zmin, zmax |
---|
15 | |
---|
16 | zmin=MINVAL(zq) |
---|
17 | zmax=MAXVAL(zq) |
---|
18 | PRINT *, "qmin qmax=", zmin, zmax, comment |
---|
19 | ! IF (zmin.LT.qmin.OR.zmax.GT.qmax) THEN |
---|
20 | ! WRITE(*,*) "qmin qmax=", zmin, zmax, comment |
---|
21 | ! ENDIF |
---|
22 | |
---|
23 | END SUBROUTINE minmaxsimple |
---|
Note: See
TracBrowser
for help on using the repository browser.