source: LMDZ5/branches/LMDZ6_rc0/libf/phylmd/inifis.F90 @ 3547

Last change on this file since 3547 was 1999, checked in by Laurent Fairhead, 11 years ago

Merged trunk changes r1920:1997 into testing branch

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1
2! $Id: inifis.F90 1999 2014-03-20 09:57:19Z jbmadeleine $
3
4SUBROUTINE inifis(ngrid, nlayer, punjours, pdayref, ptimestep, plat, plon, &
5    parea, prad, pg, pr, pcpp)
6  USE dimphy
7  IMPLICIT NONE
8
9  ! =======================================================================
10
11  ! subject:
12  ! --------
13
14  ! Initialisation for the physical parametrisations of the LMD
15  ! martian atmospheric general circulation modele.
16
17  ! author: Frederic Hourdin 15 / 10 /93
18  ! -------
19
20  ! arguments:
21  ! ----------
22
23  ! input:
24  ! ------
25
26  ! ngrid                 Size of the horizontal grid.
27  ! All internal loops are performed on that grid.
28  ! nlayer                Number of vertical layers.
29  ! pdayref               Day of reference for the simulation
30  ! firstcall             True at the first call
31  ! lastcall              True at the last call
32  ! pday                  Number of days counted from the North. Spring
33  ! equinoxe.
34
35  ! =======================================================================
36
37  ! -----------------------------------------------------------------------
38  ! declarations:
39  ! -------------
40
41  ! ym#include "dimensions.h"
42  ! ym#include "dimphy.h"
43
44  include 'iniprint.h'
45  REAL prad, pg, pr, pcpp, punjours
46
47  INTEGER ngrid, nlayer
48  REAL plat(ngrid), plon(ngrid), parea(klon)
49  INTEGER pdayref
50
51  REAL ptimestep
52  CHARACTER (LEN=20) :: modname = 'inifis'
53  CHARACTER (LEN=80) :: abort_message
54
55
56  IF (nlayer/=klev) THEN
57    PRINT *, 'STOP in inifis'
58    PRINT *, 'Probleme de dimensions :'
59    PRINT *, 'nlayer     = ', nlayer
60    PRINT *, 'klev   = ', klev
61    abort_message = ''
62    CALL abort_gcm(modname, abort_message, 1)
63  END IF
64
65  IF (ngrid/=klon) THEN
66    PRINT *, 'STOP in inifis'
67    PRINT *, 'Probleme de dimensions :'
68    PRINT *, 'ngrid     = ', ngrid
69    PRINT *, 'klon   = ', klon
70    abort_message = ''
71    CALL abort_gcm(modname, abort_message, 1)
72  END IF
73
74  RETURN
75  abort_message = 'Cette version demande les fichier rnatur.dat &
76    &                                                         &
77    &        et surf.def'
78  CALL abort_gcm(modname, abort_message, 1)
79
80END SUBROUTINE inifis
Note: See TracBrowser for help on using the repository browser.