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