Ignore:
Timestamp:
Oct 24, 2024, 4:25:39 PM (5 weeks ago)
Author:
abarral
Message:

Move dimensions.h into a module
Nb: doesn't compile yet

Location:
LMDZ6/trunk/libf/phylmdiso
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmdiso/cv30_routines.F90

    r4491 r5271  
    63606360        ! Toutes les autres variables fn de ep sont calculees plus bas.
    63616361
    6362 #include "cvthermo.h"
    6363 #include "cv30param.h"
    6364 #include "conema3.h"
     6362INCLUDE "cvthermo.h"
     6363INCLUDE "cv30param.h"
     6364INCLUDE "conema3.h"
    63656365
    63666366! inputs:
  • LMDZ6/trunk/libf/phylmdiso/isotopes_routines_mod.F90

    r5270 r5271  
    2828implicit none
    2929
    30 #include "YOMCST.h"       
     30INCLUDE "YOMCST.h"
    3131
    3232! inputs
     
    1296912969    USE isotrac_mod, ONLY: izone_cont,index_zone,index_iso
    1297012970#endif
    12971         implicit none
     12971        USE dimensions_mod, ONLY: iim, jjm, llm, ndm
     12972implicit none
    1297212973
    1297312974        ! gestion de la neige: on precipte dessus, sublime, effondre,
     
    1297512976        ! commun aux dfférentes sous-surfaces.
    1297612977
    12977 #include "YOETHF.h"
    12978 #include "FCTTRE.h"   
    12979 #include "YOMCST.h"
    12980 !#include "dimensions.h"
    12981 !#include "paramet.h"
     12978INCLUDE "YOETHF.h"
     12979INCLUDE "FCTTRE.h"
     12980INCLUDE "YOMCST.h"
     12981!
     12982!INCLUDE "paramet.h"
    1298212983
    1298312984         ! inputs
     
    1354313544        implicit none
    1354413545
    13545 #include "YOETHF.h"         
    13546 #include "FCTTRE.h"   
    13547 #include "YOMCST.h"
     13546INCLUDE "YOETHF.h"
     13547INCLUDE "FCTTRE.h"
     13548INCLUDE "YOMCST.h"
    1354813549       
    1354913550        ! inputs
     
    1445614457#endif
    1445714458
    14458         implicit none
    14459 
    14460 #include "YOETHF.h"
    14461 #include "FCTTRE.h"   
    14462 #include "YOMCST.h"
    14463 !#include "dimensions.h"
    14464 !#include "paramet.h"
     14459        USE dimensions_mod, ONLY: iim, jjm, llm, ndm
     14460implicit none
     14461
     14462INCLUDE "YOETHF.h"
     14463INCLUDE "FCTTRE.h"
     14464INCLUDE "YOMCST.h"
     14465!
     14466!INCLUDE "paramet.h"
    1446514467       
    1446614468        ! inputs
     
    1587515877      ! equivalent de phyetat0 pour les isotopes 
    1587615878
    15877 #include "dimsoil.h"
    15878 #include "clesphys.h"
    15879 #include "compbl.h"     
     15879INCLUDE "dimsoil.h"
     15880INCLUDE "clesphys.h"
     15881INCLUDE "compbl.h"
    1588015882
    1588115883!#ifdef ISOVERIF
     
    1605016052        implicit none
    1605116053
    16052 #include "dimsoil.h"
    16053 #include "clesphys.h"
    16054 #include "thermcell.h"
    16055 #include "compbl.h"
     16054INCLUDE "dimsoil.h"
     16055INCLUDE "clesphys.h"
     16056INCLUDE "thermcell.h"
     16057INCLUDE "compbl.h"
    1605616058
    1605716059        ! arguments 
     
    1642716429   IMPLICIT NONE
    1642816430
    16429 #include "dimsoil.h"
    16430 #include "clesphys.h"
    16431 #include "compbl.h"   
     16431INCLUDE "dimsoil.h"
     16432INCLUDE "clesphys.h"
     16433INCLUDE "compbl.h"
    1643216434
    1643316435   REAL, INTENT(IN) ::             snow     (klon,nbsrf)
     
    1663816640      implicit none
    1663916641
    16640 #include "YOMCST.h"
     16642INCLUDE "YOMCST.h"
    1664116643
    1664216644! input
     
    1823418236        USE isotopes_verif_mod
    1823518237#endif
    18236       implicit none
    18237 
    18238 #include "YOMCST.h"
    18239 #include "dimensions.h"
     18238      USE dimensions_mod, ONLY: iim, jjm, llm, ndm
     18239implicit none
     18240
     18241INCLUDE "YOMCST.h"
     18242
    1824018243! pour avoir iim et jjm
    1824118244
     
    1837918382      implicit none
    1838018383
    18381 #include "YOMCST.h"
     18384INCLUDE "YOMCST.h"
    1838218385
    1838318386!     Arguments
     
    1854318546        ! normallement, niso en dimension suffirait, mais serait pas
    1854418547        ! cohérent avec les dimensions dans condiso_liq_ice
    18545 !#include "iso_verif.h"
     18548!INCLUDE "iso_verif.h"
    1854618549
    1854718550        ! verif que qt n'est pas nul
  • LMDZ6/trunk/libf/phylmdiso/phyredem.F90

    r5204 r5271  
    519519        ! equivalent isotopique de phyredem
    520520
    521 #include "dimsoil.h"
    522 #include "clesphys.h"
    523 #include "alpale.h"
    524 #include "compbl.h"     
     521INCLUDE "dimsoil.h"
     522INCLUDE "clesphys.h"
     523INCLUDE "alpale.h"
     524INCLUDE "compbl.h"
    525525      ! inputs
    526526      !REAL xtsol(niso,klon)
Note: See TracChangeset for help on using the changeset viewer.