source: LMDZ4/branches/LMDZ4V5.0-dev/libf/dyn3d/create_etat0_limit.F

Last change on this file was 1299, checked in by Laurent Fairhead, 14 years ago

Nettoyage general pour se rapprocher des normes et éviter des erreurs a la
compilation:

  • tous les FLOAT() sont remplacés par des REAL()
  • tous les STOP dans phylmd sont remplacés par des appels à abort_gcm
  • le common control défini dans le fichier control.h est remplacé par le module control_mod pour éviter des messages sur l'alignement des variables dans les déclarations
  • des $Header$ remplacés par des $Id$ pour svn

Quelques remplacements à faire ont pu m'échapper


General cleanup of the code to try and adhere to norms and to prevent some
compilation errors:

  • all FLOAT() instructions have been replaced by REAL() instructions
  • all STOP instructions in phylmd have been replaced by calls to abort_gcm
  • the common block control defined in the control.h file has been replaced by the control_mod to prevent compilation warnings on the alignement of declared variables
  • $Header$ replaced by $Id$ for svn

Some changes which should have been made might have escaped me

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
Line 
1!
2! $Id: create_etat0_limit.F 1299 2010-01-20 14:27:21Z lebasn $
3!
4       PROGRAM create_etat0_limit
5#ifdef CPP_EARTH
6! This prog. is designed to work for Earth
7       USE dimphy
8       USE control_mod
9       USE comgeomphy
10       USE infotrac
11#ifdef CPP_IOIPSL
12       use ioipsl, only: ioconf_calendar
13#endif
14       IMPLICIT NONE
15c
16c
17c     Programme d'appel a etat0, creation des etats initiaux et limit_netcdf
18c   
19c
20c     interbar = .T . si appel a  interpol. barycentrique inter_barxy
21c
22c     extrap   = .T . si on fait une extrapolation de donnees , comme pour
23c       les  SST  lorsque  le fichier ne contient pas uniquement  des points
24c     oceaniques .
25c
26c     oldice   = .T. si l'on veut garder les anciennes glaces , obtenues
27c     par  grille_m  ( grid_atob ) .
28c
29c     on cree le masque dans etat0 que l'on passe ensuite dans limit pour
30c     garder les coherences
31
32      LOGICAL interbar, extrap , oldice
33      PARAMETER ( interbar = .true. , extrap = .FALSE. , oldice=.false.)
34#include "dimensions.h"
35#include "paramet.h"
36#include "indicesol.h"
37      REAL :: masque(iip1,jjp1)
38!      REAL :: pctsrf(iim*(jjm-1)+2, nbsrf)
39
40      IF (config_inca /= 'none') THEN
41#ifdef INCA
42         call init_const_lmdz(
43     $        nbtr,anneeref,dayref,
44     $        iphysiq, day_step,nday)
45#endif
46         print *, 'nbtr =' , nbtr
47      END IF
48
49      CALL Init_Phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/))
50      PRINT *,'---> klon=',klon
51      call InitComgeomphy
52
53#ifdef CPP_IOIPSL
54      call ioconf_calendar('360d')
55#endif
56
57      WRITE(6,*) '  *********************  '
58      WRITE(6,*) ' interbar = ',interbar
59      CALL etat0_netcdf ( interbar, masque )
60c
61      WRITE(6,1)
62      WRITE(6,*) '  *********************  '
63      WRITE(6,*) '  ***  Limit_netcdf ***  '
64      WRITE(6,*) '  *********************  '
65      WRITE(6,1)
66     
67c     
68      CALL  limit_netcdf ( interbar, extrap , oldice, masque)
69
701     FORMAT(//)
71
72#endif
73! of #ifdef CPP_EARTH
74      STOP
75      END
Note: See TracBrowser for help on using the repository browser.