Ignore:
Timestamp:
Jul 23, 2024, 3:29:36 PM (8 weeks ago)
Author:
abarral
Message:

Handle CPP_INLANDSIS in lmdz_cppkeys_wrapper.F90
Remove obsolete key wrgrads_thermcell, _ADV_HALO, _ADV_HALLO, isminmax
Remove redundant uses of CPPKEY_INCA (thanks acozic)
Remove obsolete misc/write_field.F90
Remove unused ioipsl_* wrappers
Remove calls to WriteField_u with wrong signature
Convert .F -> .[fF]90
(lint) uppercase fortran operators
[note: 1d and iso still broken - working on it]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/dyn3dmem/initdynav_loc.F

    r5101 r5103  
    22! $Id: initdynav_p.F 1279 2009-12-10 09:02:56Z fairhead $
    33
    4       subroutine initdynav_loc(day0,anne0,tstep,t_ops,t_wrt)
    5 
    6 #ifdef CPP_IOIPSL
     4      SUBROUTINE initdynav_loc(day0,anne0,tstep,t_ops,t_wrt)
     5
    76! This routine needs IOIPSL
    87       USE IOIPSL
    9 #endif
    108       USE parallel_lmdz
    119       use Write_field
     
    5654      real tstep, t_ops, t_wrt
    5755
    58 #ifdef CPP_IOIPSL
    5956! This routine needs IOIPSL
    6057C   Variables locales
     
    7875      INTEGER,DIMENSION(2) :: dpl
    7976      INTEGER,DIMENSION(2) :: dhs
    80       INTEGER,DIMENSION(2) :: dhe 
    81      
     77      INTEGER,DIMENSION(2) :: dhe
     78
    8279      INTEGER :: dynhistave_domain_id
    8380      INTEGER :: dynhistvave_domain_id
    8481      INTEGER :: dynhistuave_domain_id
    85      
     82
    8683      if (adjust) return
    8784
     
    9289C
    9390C  Appel a histbeg: creation du fichier netcdf et initialisations diverses
    94 C         
     91C
    9592
    9693      zan = anne0
     
    9895      CALL ymds2ju(zan, 1, dayref, 0.0, zjulian)
    9996      tau0 = itau_dyn
    100      
     97
    10198      do jj = 1, jjp1
    10299        do ii = 1, iip1
     
    109106! Creation de 3 fichiers pour les differentes grilles horizontales
    110107! Restriction de IOIPSL: seulement 2 coordonnees dans le meme fichier
    111 ! Grille Scalaire       
     108! Grille Scalaire
    112109
    113110      jjb=jj_begin
     
    126123      CALL flio_dom_set(mpi_size,mpi_rank,ddid,dsg,dsl,dpf,dpl,dhs,dhe,
    127124     .                 'box',dynhistave_domain_id)
    128              
     125
    129126      CALL histbeg(dynhistave_file,iip1, rlong(:,1), jjn,
    130127     .             rlat(1,jjb:jje), 1, iip1, 1, jjn,tau0,
     
    143140      IF (pole_sud) jjn=jjn-1
    144141      IF (pole_sud) jje=jje-1
    145      
     142
    146143      do jj = jjb, jje
    147144        do ii = 1, iip1
     
    167164     .             zjulian, tstep, vhoriid,
    168165     .             histvaveid,dynhistvave_domain_id)
    169      
     166
    170167! Grille U
    171168
     
    192189      CALL flio_dom_set(mpi_size,mpi_rank,ddid,dsg,dsl,dpf,dpl,dhs,dhe,
    193190     .                 'box',dynhistuave_domain_id)
    194              
     191
    195192      CALL histbeg(dynhistuave_file,iip1, rlong(:,1), jjn,
    196193     .             rlat(1,jjb:jje), 1, iip1, 1, jjn,tau0,
    197194     .             zjulian, tstep, uhoriid,
    198195     .             histuaveid,dynhistuave_domain_id)
    199      
    200      
     196
     197
    201198C
    202199C  Appel a histvert pour la grille verticale
     
    281278      CALL histend(histuaveid)
    282279      CALL histend(histvaveid)
    283 #else
    284       write(lunout,*)'initdynav_loc: Needs IOIPSL to function'
    285 #endif
    286 ! #endif of #ifdef CPP_IOIPSL
    287280      end
Note: See TracChangeset for help on using the changeset viewer.