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