[524] | 1 | ! |
---|
[1299] | 2 | ! $Id: inifis.F 1299 2010-01-20 14:27:21Z dcugnet $ |
---|
[524] | 3 | ! |
---|
| 4 | SUBROUTINE inifis(ngrid,nlayer, |
---|
| 5 | $ punjours, |
---|
| 6 | $ pdayref,ptimestep, |
---|
| 7 | $ plat,plon,parea, |
---|
| 8 | $ prad,pg,pr,pcpp) |
---|
[987] | 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 | |
---|
[766] | 44 | cym#include "dimensions.h" |
---|
| 45 | cym#include "dimphy.h" |
---|
[524] | 46 | |
---|
[1299] | 47 | INCLUDE 'iniprint.h' |
---|
[524] | 48 | REAL prad,pg,pr,pcpp,punjours |
---|
| 49 | |
---|
| 50 | INTEGER ngrid,nlayer |
---|
| 51 | REAL plat(ngrid),plon(ngrid),parea(klon) |
---|
| 52 | INTEGER pdayref |
---|
| 53 | |
---|
| 54 | REAL ptimestep |
---|
[1299] | 55 | CHARACTER (LEN=20) :: modname='inifis' |
---|
| 56 | CHARACTER (LEN=80) :: abort_message |
---|
| 57 | |
---|
[524] | 58 | |
---|
| 59 | IF (nlayer.NE.klev) THEN |
---|
| 60 | PRINT*,'STOP in inifis' |
---|
| 61 | PRINT*,'Probleme de dimensions :' |
---|
| 62 | PRINT*,'nlayer = ',nlayer |
---|
| 63 | PRINT*,'klev = ',klev |
---|
[1299] | 64 | abort_message = '' |
---|
| 65 | CALL abort_gcm (modname,abort_message,1) |
---|
[524] | 66 | ENDIF |
---|
| 67 | |
---|
| 68 | IF (ngrid.NE.klon) THEN |
---|
| 69 | PRINT*,'STOP in inifis' |
---|
| 70 | PRINT*,'Probleme de dimensions :' |
---|
| 71 | PRINT*,'ngrid = ',ngrid |
---|
| 72 | PRINT*,'klon = ',klon |
---|
[1299] | 73 | abort_message = '' |
---|
| 74 | CALL abort_gcm (modname,abort_message,1) |
---|
[524] | 75 | ENDIF |
---|
| 76 | |
---|
| 77 | RETURN |
---|
[1299] | 78 | 9999 continue |
---|
| 79 | abort_message = 'Cette version demande les fichier rnatur.dat |
---|
| 80 | & et surf.def' |
---|
| 81 | CALL abort_gcm (modname,abort_message,1) |
---|
| 82 | |
---|
[524] | 83 | END |
---|