Ignore:
Timestamp:
Jan 20, 2010, 3:27:21 PM (14 years ago)
Author:
Laurent Fairhead
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/branches/LMDZ4V5.0-dev/libf/dyn3d/etat0_netcdf.F

    r1293 r1299  
    11!
    2 ! $Header$
     2! $Id$
    33!
    44c
     
    99      USE ioipsl
    1010      USE dimphy
     11      USE control_mod
    1112      USE infotrac
    1213      USE fonte_neige_mod
     
    8990
    9091#include "comdissnew.h"
    91 #include "control.h"
    9292#include "serre.h"
    9393#include "clesphys.h"
     
    189189      co2_ppm0 = co2_ppm
    190190
    191       dtvr   = daysec/FLOAT(day_step)
     191      dtvr   = daysec/REAL(day_step)
    192192      print*,'dtvr',dtvr
    193193
     
    691691C
    692692      write(*,*)'phystep ',dtvr,iphysiq,nbapp_rad
    693       phystep   = dtvr * FLOAT(iphysiq)
    694       radpas    = NINT (86400./phystep/ FLOAT(nbapp_rad) )
     693      phystep   = dtvr * REAL(iphysiq)
     694      radpas    = NINT (86400./phystep/ REAL(nbapp_rad) )
    695695      write(*,*)'phystep =', phystep, radpas
    696696cIM : lecture de co2_ppm & solaire ds physiq.def
Note: See TracChangeset for help on using the changeset viewer.