source: LMDZ4/branches/LMDZ4_par_0/libf/phylmd/iniphysiq.F @ 634

Last change on this file since 634 was 634, checked in by Laurent Fairhead, 19 years ago

Modifications faites à la physique pour la rendre parallele YM
Une branche de travail LMDZ4_par_0 a été créée provisoirement afin de tester
les modifs pleinement avant leurs inclusions dans le tronc principal
LF

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
1!
2! $Header$
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      USE dimphy,klon2=>klon,klon=>klon2
12      USE comgeomphy
13      IMPLICIT NONE
14c
15c=======================================================================
16c
17c   subject:
18c   --------
19c
20c   Initialisation for the physical parametrisations of the LMD
21c   martian atmospheric general circulation modele.
22c
23c   author: Frederic Hourdin 15 / 10 /93
24c   -------
25c
26c   arguments:
27c   ----------
28c
29c   input:
30c   ------
31c
32c    ngrid                 Size of the horizontal grid.
33c                          All internal loops are performed on that grid.
34c    nlayer                Number of vertical layers.
35c    pdayref               Day of reference for the simulation
36c    firstcall             True at the first call
37c    lastcall              True at the last call
38c    pday                  Number of days counted from the North. Spring
39c                          equinoxe.
40c
41c=======================================================================
42c
43c-----------------------------------------------------------------------
44c   declarations:
45c   -------------
46 
47cym#include "dimensions.h"
48cym#include "dimphy.h"
49cym#include "comgeomphy.h"
50
51      REAL prad,pg,pr,pcpp,punjours
52 
53      INTEGER ngrid,nlayer
54      REAL plat(ngrid),plon(ngrid),parea(klon),pcu(klon),pcv(klon)
55      INTEGER pdayref
56 
57      REAL ptimestep
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         STOP
65      ENDIF
66
67      IF (ngrid.NE.klon) THEN
68         PRINT*,'STOP in inifis'
69         PRINT*,'Probleme de dimensions :'
70         PRINT*,'ngrid     = ',ngrid
71         PRINT*,'klon   = ',klon
72         STOP
73      ENDIF
74
75      airephy(1:klon2)=parea(klon_begin:klon_end)
76      cuphy(1:klon2)=pcu(klon_begin:klon_end)
77      cvphy(1:klon2)=pcv(klon_begin:klon_end)
78      rlond(1:klon2) = plon(klon_begin:klon_end)
79      rlatd(1:klon2) = plat(klon_begin:klon_end)
80
81      call suphec
82      print*,'ATTENTION !!! TRAVAILLER SUR INIPHYSIQ'
83      print*,'CONTROLE DES LATITUDES, LONGITUDES, PARAMETRES ...'
84
85
86      RETURN
879999  STOP'Cette version demande les fichier rnatur.dat et surf.def'
88      END
Note: See TracBrowser for help on using the repository browser.