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/phylmd/cv3_routines.F

    r1277 r1299  
    11!
    2 ! $Header: /home/cvsroot/LMDZ4/libf/phylmd/cv3_routines.F,v 1.16 2008-11-06 16:29:35 lmdzadmin Exp $
     2! $Id$
    33!
    44c
     
    3535      integer nd
    3636      real delt ! timestep (seconds)
     37
     38      CHARACTER (LEN=20) :: modname='cv3_param'
     39      CHARACTER (LEN=80) :: abort_message
    3740
    3841c noff: integer limit for convection (nd-noff)
     
    767770
    768771#include "cv3param.h"
     772      include 'iniprint.h'
    769773
    770774c inputs:
     
    797801      integer i,k,nn,j
    798802
     803      CHARACTER (LEN=20) :: modname='cv3_compress'
     804      CHARACTER (LEN=80) :: abort_message
    799805
    800806      do 110 k=1,nl+1
     
    839845
    840846      if (nn.ne.ncum) then
    841          print*,'strange! nn not equal to ncum: ',nn,ncum
    842          stop
     847         write(lunout,*)'strange! nn not equal to ncum: ',nn,ncum
     848         abort_message = ''
     849         CALL abort_gcm (modname,abort_message,1)
    843850      endif
    844851
Note: See TracChangeset for help on using the changeset viewer.