[3] | 1 | ! |
---|
| 2 | ! $Header: /home/cvsroot/LMDZ4/libf/phylmd/iniphysiq.F,v 1.1.1.1 2004/05/19 12:53:08 lmdzadmin Exp $ |
---|
| 3 | ! |
---|
| 4 | c |
---|
| 5 | c |
---|
| 6 | SUBROUTINE iniphysiq(ngrid,nlayer, |
---|
| 7 | $ punjours, |
---|
| 8 | $ pdayref,ptimestep, |
---|
| 9 | $ plat,plon,parea,pcu,pcv, |
---|
[841] | 10 | $ prad,pg,pr,pcpp,iflag_phys) |
---|
[102] | 11 | |
---|
[3] | 12 | c |
---|
| 13 | c======================================================================= |
---|
| 14 | c |
---|
| 15 | c subject: |
---|
| 16 | c -------- |
---|
| 17 | c |
---|
| 18 | c Initialisation for the physical parametrisations of the LMD |
---|
| 19 | c martian atmospheric general circulation modele. |
---|
| 20 | c |
---|
| 21 | c author: Frederic Hourdin 15 / 10 /93 |
---|
| 22 | c ------- |
---|
| 23 | c |
---|
| 24 | c arguments: |
---|
| 25 | c ---------- |
---|
| 26 | c |
---|
| 27 | c input: |
---|
| 28 | c ------ |
---|
| 29 | c |
---|
| 30 | c ngrid Size of the horizontal grid. |
---|
| 31 | c All internal loops are performed on that grid. |
---|
| 32 | c nlayer Number of vertical layers. |
---|
| 33 | c pdayref Day of reference for the simulation |
---|
| 34 | c firstcall True at the first call |
---|
| 35 | c lastcall True at the last call |
---|
| 36 | c pday Number of days counted from the North. Spring |
---|
| 37 | c equinoxe. |
---|
| 38 | c |
---|
| 39 | c======================================================================= |
---|
| 40 | c |
---|
| 41 | c----------------------------------------------------------------------- |
---|
| 42 | c declarations: |
---|
| 43 | c ------------- |
---|
| 44 | |
---|
[102] | 45 | use dimphy |
---|
| 46 | USE comgeomphy |
---|
| 47 | IMPLICIT NONE |
---|
[3] | 48 | #include "dimensions.h" |
---|
| 49 | |
---|
| 50 | REAL prad,pg,pr,pcpp,punjours |
---|
[841] | 51 | INTEGER,INTENT(IN) :: iflag_phys ! type of physics to be called |
---|
[3] | 52 | INTEGER ngrid,nlayer |
---|
| 53 | REAL plat(ngrid),plon(ngrid),parea(klon),pcu(klon),pcv(klon) |
---|
| 54 | INTEGER pdayref |
---|
| 55 | |
---|
| 56 | REAL ptimestep |
---|
| 57 | |
---|
| 58 | IF (nlayer.NE.klev) THEN |
---|
| 59 | PRINT*,'STOP in inifis' |
---|
| 60 | PRINT*,'Probleme de dimensions :' |
---|
| 61 | PRINT*,'nlayer = ',nlayer |
---|
| 62 | PRINT*,'klev = ',klev |
---|
| 63 | STOP |
---|
| 64 | ENDIF |
---|
| 65 | |
---|
| 66 | IF (ngrid.NE.klon) THEN |
---|
| 67 | PRINT*,'STOP in inifis' |
---|
| 68 | PRINT*,'Probleme de dimensions :' |
---|
| 69 | PRINT*,'ngrid = ',ngrid |
---|
| 70 | PRINT*,'klon = ',klon |
---|
| 71 | STOP |
---|
| 72 | ENDIF |
---|
| 73 | |
---|
| 74 | airephy=parea |
---|
| 75 | cuphy=pcu |
---|
| 76 | cvphy=pcv |
---|
| 77 | rlond = plon |
---|
| 78 | rlatd = plat |
---|
| 79 | |
---|
| 80 | call suphec |
---|
| 81 | c print*,'ATTENTION !!! TRAVAILLER SUR INIPHYSIQ' |
---|
| 82 | c print*,'CONTROLE DES LATITUDES, LONGITUDES, PARAMETRES ...' |
---|
| 83 | |
---|
| 84 | |
---|
| 85 | RETURN |
---|
| 86 | END |
---|