1 | ! |
---|
2 | ! $Id: inifis.F 1403 2010-07-01 09:02:53Z aclsce $ |
---|
3 | ! |
---|
4 | SUBROUTINE inifis(ngrid,nlayer, |
---|
5 | $ punjours, |
---|
6 | $ pdayref,ptimestep, |
---|
7 | $ plat,plon,parea, |
---|
8 | $ prad,pg,pr,pcpp) |
---|
9 | USE dimphy |
---|
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 | |
---|
44 | cym#include "dimensions.h" |
---|
45 | cym#include "dimphy.h" |
---|
46 | |
---|
47 | INCLUDE 'iniprint.h' |
---|
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 |
---|
55 | CHARACTER (LEN=20) :: modname='inifis' |
---|
56 | CHARACTER (LEN=80) :: abort_message |
---|
57 | |
---|
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 |
---|
64 | abort_message = '' |
---|
65 | CALL abort_gcm (modname,abort_message,1) |
---|
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 |
---|
73 | abort_message = '' |
---|
74 | CALL abort_gcm (modname,abort_message,1) |
---|
75 | ENDIF |
---|
76 | |
---|
77 | RETURN |
---|
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 | |
---|
83 | END |
---|