[524] | 1 | ! |
---|
| 2 | ! $Header$ |
---|
| 3 | ! |
---|
| 4 | SUBROUTINE inifis(ngrid,nlayer, |
---|
| 5 | $ punjours, |
---|
| 6 | $ pdayref,ptimestep, |
---|
| 7 | $ plat,plon,parea, |
---|
| 8 | $ prad,pg,pr,pcpp) |
---|
| 9 | IMPLICIT NONE |
---|
| 10 | c |
---|
| 11 | c======================================================================= |
---|
| 12 | c |
---|
| 13 | c subject: |
---|
| 14 | c -------- |
---|
| 15 | c |
---|
| 16 | c Initialisation for the physical parametrisations of the LMD |
---|
| 17 | c martian atmospheric general circulation modele. |
---|
| 18 | c |
---|
| 19 | c author: Frederic Hourdin 15 / 10 /93 |
---|
| 20 | c ------- |
---|
| 21 | c |
---|
| 22 | c arguments: |
---|
| 23 | c ---------- |
---|
| 24 | c |
---|
| 25 | c input: |
---|
| 26 | c ------ |
---|
| 27 | c |
---|
| 28 | c ngrid Size of the horizontal grid. |
---|
| 29 | c All internal loops are performed on that grid. |
---|
| 30 | c nlayer Number of vertical layers. |
---|
| 31 | c pdayref Day of reference for the simulation |
---|
| 32 | c firstcall True at the first call |
---|
| 33 | c lastcall True at the last call |
---|
| 34 | c pday Number of days counted from the North. Spring |
---|
| 35 | c equinoxe. |
---|
| 36 | c |
---|
| 37 | c======================================================================= |
---|
| 38 | c |
---|
| 39 | c----------------------------------------------------------------------- |
---|
| 40 | c declarations: |
---|
| 41 | c ------------- |
---|
| 42 | |
---|
| 43 | #include "dimensions.h" |
---|
| 44 | #include "dimphy.h" |
---|
| 45 | |
---|
| 46 | REAL prad,pg,pr,pcpp,punjours |
---|
| 47 | |
---|
| 48 | INTEGER ngrid,nlayer |
---|
| 49 | REAL plat(ngrid),plon(ngrid),parea(klon) |
---|
| 50 | INTEGER pdayref |
---|
| 51 | |
---|
| 52 | REAL ptimestep |
---|
| 53 | |
---|
| 54 | IF (nlayer.NE.klev) THEN |
---|
| 55 | PRINT*,'STOP in inifis' |
---|
| 56 | PRINT*,'Probleme de dimensions :' |
---|
| 57 | PRINT*,'nlayer = ',nlayer |
---|
| 58 | PRINT*,'klev = ',klev |
---|
| 59 | STOP |
---|
| 60 | ENDIF |
---|
| 61 | |
---|
| 62 | IF (ngrid.NE.klon) THEN |
---|
| 63 | PRINT*,'STOP in inifis' |
---|
| 64 | PRINT*,'Probleme de dimensions :' |
---|
| 65 | PRINT*,'ngrid = ',ngrid |
---|
| 66 | PRINT*,'klon = ',klon |
---|
| 67 | STOP |
---|
| 68 | ENDIF |
---|
| 69 | |
---|
| 70 | RETURN |
---|
| 71 | 9999 STOP'Cette version demande les fichier rnatur.dat et surf.def' |
---|
| 72 | END |
---|