source: trunk/libf/phyvenus/iniphysiq.F @ 101

Last change on this file since 101 was 101, checked in by slebonnois, 14 years ago

SL: modifications pour arriver a compiler le gcm VENUS !
Ca marche !
A noter: modifs de makelmdz

File size: 2.1 KB
Line 
1!
2! $Header: /home/cvsroot/LMDZ4/libf/phylmd/iniphysiq.F,v 1.1.1.1 2004/05/19 12:53:08 lmdzadmin Exp $
3!
4c
5c
6      SUBROUTINE iniphysiq(ngrid,nlayer,
7     $           punjours,
8     $           pdayref,ptimestep,
9     $           plat,plon,parea,pcu,pcv,
10     $           prad,pg,pr,pcpp)
11
12      use dimphy
13      USE comgeomphy
14      IMPLICIT NONE
15c
16c=======================================================================
17c
18c   subject:
19c   --------
20c
21c   Initialisation for the physical parametrisations of the LMD
22c   martian atmospheric general circulation modele.
23c
24c   author: Frederic Hourdin 15 / 10 /93
25c   -------
26c
27c   arguments:
28c   ----------
29c
30c   input:
31c   ------
32c
33c    ngrid                 Size of the horizontal grid.
34c                          All internal loops are performed on that grid.
35c    nlayer                Number of vertical layers.
36c    pdayref               Day of reference for the simulation
37c    firstcall             True at the first call
38c    lastcall              True at the last call
39c    pday                  Number of days counted from the North. Spring
40c                          equinoxe.
41c
42c=======================================================================
43c
44c-----------------------------------------------------------------------
45c   declarations:
46c   -------------
47 
48#include "dimensions.h"
49
50      REAL prad,pg,pr,pcpp,punjours
51 
52      INTEGER ngrid,nlayer
53      REAL plat(ngrid),plon(ngrid),parea(klon),pcu(klon),pcv(klon)
54      INTEGER pdayref
55 
56      REAL ptimestep
57 
58      IF (nlayer.NE.klev) THEN
59         PRINT*,'STOP in inifis'
60         PRINT*,'Probleme de dimensions :'
61         PRINT*,'nlayer     = ',nlayer
62         PRINT*,'klev   = ',klev
63         STOP
64      ENDIF
65
66      IF (ngrid.NE.klon) THEN
67         PRINT*,'STOP in inifis'
68         PRINT*,'Probleme de dimensions :'
69         PRINT*,'ngrid     = ',ngrid
70         PRINT*,'klon   = ',klon
71         STOP
72      ENDIF
73
74      airephy=parea
75      cuphy=pcu
76      cvphy=pcv
77      rlond = plon
78      rlatd = plat
79
80      call suphec
81c     print*,'ATTENTION !!! TRAVAILLER SUR INIPHYSIQ'
82c     print*,'CONTROLE DES LATITUDES, LONGITUDES, PARAMETRES ...'
83
84
85      RETURN
86      END
Note: See TracBrowser for help on using the repository browser.