Ignore:
Timestamp:
Apr 15, 2015, 6:49:07 PM (10 years ago)
Author:
ymipsl
Message:

remove all dynamic dependency in LMDZ physics except for the include "dimensions.h"

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/phyetat0.F90

    r3809 r3814  
    2121       zstd, zthe, zval, ale_bl, ale_bl_trig, alp_bl
    2222  USE iostart, ONLY : close_startphy, get_field, get_var, open_startphy
    23   USE infotrac, only: nbtr, type_trac, tname, niadv
     23  USE infotrac_phy, only: nbtr, type_trac, tname, niadv
    2424  USE traclmdz_mod,    ONLY : traclmdz_from_restart
    2525  USE carbon_cycle_mod, ONLY : carbon_cycle_tr, carbon_cycle_cpl, co2_send
    2626  USE indice_sol_mod, only: nbsrf, is_ter, epsfra, is_lic, is_oce, is_sic
    2727  USE ocean_slab_mod, ONLY: tslab, seaice, tice, ocean_slab_init
     28  USE temps_phy_mod
    2829
    2930  IMPLICIT none
     
    3637  include "dimsoil.h"
    3738  include "clesphys.h"
    38   include "temps.h"
    3939  include "thermcell.h"
    4040  include "compbl.h"
     
    211211        IF (nsrf.GT.99) THEN
    212212           PRINT*, "Trop de sous-mailles"
    213            call abort_gcm("phyetat0", "", 1)
     213           call abort_physic("phyetat0", "", 1)
    214214        ENDIF
    215215        WRITE(str2, '(i2.2)') nsrf
     
    248248        IF (isw.GT.99 .AND. nsrf.GT.99) THEN
    249249           PRINT*, "Trop de bandes SW ou sous-mailles"
    250            call abort_gcm("phyetat0", "", 1)
     250           call abort_physic("phyetat0", "", 1)
    251251        ENDIF
    252252        WRITE(str7, '(i2.2, "srf", i2.2)') isw, nsrf
     
    278278        IF (isoil.GT.99 .AND. nsrf.GT.99) THEN
    279279           PRINT*, "Trop de couches ou sous-mailles"
    280            call abort_gcm("phyetat0", "", 1)
     280           call abort_physic("phyetat0", "", 1)
    281281        ENDIF
    282282        WRITE(str7, '(i2.2, "srf", i2.2)') isoil, nsrf
     
    303303        IF (nsrf.GT.99) THEN
    304304           PRINT*, "Trop de sous-mailles"
    305            call abort_gcm("phyetat0", "", 1)
     305           call abort_physic("phyetat0", "", 1)
    306306        ENDIF
    307307        WRITE(str2, '(i2.2)') nsrf
     
    358358        IF (nsrf.GT.99) THEN
    359359           PRINT*, "Trop de sous-mailles"
    360            call abort_gcm("phyetat0", "", 1)
     360           call abort_physic("phyetat0", "", 1)
    361361        ENDIF
    362362        WRITE(str2, '(i2.2)') nsrf
     
    396396        IF (nsrf.GT.99) THEN
    397397           PRINT*, "Trop de sous-mailles"
    398            call abort_gcm("phyetat0", "", 1)
     398           call abort_physic("phyetat0", "", 1)
    399399        ENDIF
    400400        WRITE(str2, '(i2.2)') nsrf
     
    533533        IF (nsrf.GT.99) THEN
    534534           PRINT*, "Trop de sous-mailles"
    535            call abort_gcm("phyetat0", "", 1)
     535           call abort_physic("phyetat0", "", 1)
    536536        ENDIF
    537537        WRITE(str2, '(i2.2)') nsrf
     
    570570        IF (nsrf.GT.99) THEN
    571571           PRINT*, "Trop de sous-mailles"
    572            call abort_gcm("phyetat0", "", 1)
     572           call abort_physic("phyetat0", "", 1)
    573573        ENDIF
    574574        WRITE(str2, '(i2.2)') nsrf
     
    695695        IF (nsrf.GT.99) THEN
    696696           PRINT*, "Trop de sous-mailles"
    697            call abort_gcm("phyetat0", "", 1)
     697           call abort_physic("phyetat0", "", 1)
    698698        ENDIF
    699699        WRITE(str2, '(i2.2)') nsrf
     
    715715      IF (nsrf.GT.99) THEN
    716716        PRINT*, "Trop de sous-mailles"
    717         call abort_gcm("phyetat0", "", 1)
     717        call abort_physic("phyetat0", "", 1)
    718718      ENDIF
    719719      WRITE(str2,'(i2.2)') nsrf
     
    734734       IF (nsrf.GT.99) THEN
    735735         PRINT*, "Trop de sous-mailles"
    736          call abort_gcm("phyetat0", "", 1)
     736         call abort_physic("phyetat0", "", 1)
    737737       ENDIF
    738738       WRITE(str2,'(i2.2)') nsrf
     
    923923     IF (nbsrf.GT.99) THEN
    924924        WRITE(lunout,*) "Trop de sous-mailles"
    925         call abort_gcm("phyetat0", "", 1)
     925        call abort_physic("phyetat0", "", 1)
    926926     ENDIF
    927927
Note: See TracChangeset for help on using the changeset viewer.