[524] | 1 | ! |
---|
| 2 | ! $Header$ |
---|
| 3 | ! |
---|
| 4 | c |
---|
| 5 | c |
---|
| 6 | SUBROUTINE iniphysiq(ngrid,nlayer, |
---|
| 7 | $ punjours, |
---|
| 8 | $ pdayref,ptimestep, |
---|
| 9 | $ plat,plon,parea,pcu,pcv, |
---|
| 10 | $ prad,pg,pr,pcpp) |
---|
| 11 | IMPLICIT NONE |
---|
| 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 | |
---|
| 45 | #include "dimensions.h" |
---|
| 46 | #include "dimphy.h" |
---|
| 47 | #include "comgeomphy.h" |
---|
| 48 | |
---|
| 49 | REAL prad,pg,pr,pcpp,punjours |
---|
| 50 | |
---|
| 51 | INTEGER ngrid,nlayer |
---|
| 52 | REAL plat(ngrid),plon(ngrid),parea(klon),pcu(klon),pcv(klon) |
---|
| 53 | INTEGER pdayref |
---|
| 54 | |
---|
| 55 | REAL ptimestep |
---|
| 56 | |
---|
| 57 | IF (nlayer.NE.klev) THEN |
---|
| 58 | PRINT*,'STOP in inifis' |
---|
| 59 | PRINT*,'Probleme de dimensions :' |
---|
| 60 | PRINT*,'nlayer = ',nlayer |
---|
| 61 | PRINT*,'klev = ',klev |
---|
| 62 | STOP |
---|
| 63 | ENDIF |
---|
| 64 | |
---|
| 65 | IF (ngrid.NE.klon) THEN |
---|
| 66 | PRINT*,'STOP in inifis' |
---|
| 67 | PRINT*,'Probleme de dimensions :' |
---|
| 68 | PRINT*,'ngrid = ',ngrid |
---|
| 69 | PRINT*,'klon = ',klon |
---|
| 70 | STOP |
---|
| 71 | ENDIF |
---|
| 72 | |
---|
| 73 | airephy=parea |
---|
| 74 | cuphy=pcu |
---|
| 75 | cvphy=pcv |
---|
| 76 | rlond = plon |
---|
| 77 | rlatd = plat |
---|
| 78 | |
---|
| 79 | call suphec |
---|
| 80 | print*,'ATTENTION !!! TRAVAILLER SUR INIPHYSIQ' |
---|
| 81 | print*,'CONTROLE DES LATITUDES, LONGITUDES, PARAMETRES ...' |
---|
| 82 | |
---|
| 83 | |
---|
| 84 | RETURN |
---|
| 85 | 9999 STOP'Cette version demande les fichier rnatur.dat et surf.def' |
---|
| 86 | END |
---|