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/thermcell_main.F90

    r1294 r1299  
    11!
    2 ! $Header$
     2! $Id$
    33!
    44      SUBROUTINE thermcell_main(itap,ngrid,nlay,ptimestep  &
     
    170170      character*2 str2
    171171      character*10 str10
     172
     173      character (len=20) :: modname='thermcell_main'
     174      character (len=80) :: abort_message
    172175
    173176      EXTERNAL SCOPY
     
    466469! Test valable seulement en 1D mais pas genant
    467470      if (.not. (f0(1).ge.0.) ) then
    468            stop'Dans thermcell_main'
     471              abort_message = '.not. (f0(1).ge.0.)'
     472              CALL abort_gcm (modname,abort_message,1)
    469473      endif
    470474
     
    781785      if (prt_level.ge.1) print*,'thermcell_main FIN  OK'
    782786
    783 !     if(icount.eq.501) stop'au pas 301 dans thermcell_main'
    784787      return
    785788      end
     
    817820                  write(6,'(i3,7f10.3)') k,pplay(i,k),ztv(i,k),1000*po(i,k),ztva(i,k),1000*zqla(i,k),f_star(i,k),zw2(i,k)
    818821               enddo
    819 !              stop
    820822           endif
    821823         enddo
Note: See TracChangeset for help on using the changeset viewer.