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

    r3809 r3814  
    110110    IF (error /= 0) THEN
    111111       abort_message='Pb allocation tmp_pctsrf_slab'
    112        CALL abort_gcm(modname,abort_message,1)
     112       CALL abort_physic(modname,abort_message,1)
    113113    ENDIF
    114114    fsic(:)=0.
     
    121121!****************************************************************************************
    122122    ALLOCATE(tslab(klon,nslay), stat=error)
    123        IF (error /= 0) CALL abort_gcm &
     123       IF (error /= 0) CALL abort_physic &
    124124         (modname,'pb allocation tslab', 1)
    125125
     
    127127    IF (error /= 0) THEN
    128128       abort_message='Pb allocation slab_bils'
    129        CALL abort_gcm(modname,abort_message,1)
     129       CALL abort_physic(modname,abort_message,1)
    130130    ENDIF
    131131    slab_bils(:) = 0.0   
     
    133133    IF (error /= 0) THEN
    134134       abort_message='Pb allocation slab_bils_cum'
    135        CALL abort_gcm(modname,abort_message,1)
     135       CALL abort_physic(modname,abort_message,1)
    136136    ENDIF
    137137    bils_cum(:) = 0.0   
     
    141141        IF (error /= 0) THEN
    142142           abort_message='Pb allocation slab_bilg'
    143            CALL abort_gcm(modname,abort_message,1)
     143           CALL abort_physic(modname,abort_message,1)
    144144        ENDIF
    145145        slab_bilg(:) = 0.0   
     
    147147        IF (error /= 0) THEN
    148148           abort_message='Pb allocation slab_bilg_cum'
    149            CALL abort_gcm(modname,abort_message,1)
     149           CALL abort_physic(modname,abort_message,1)
    150150        ENDIF
    151151        bilg_cum(:) = 0.0   
     
    153153        IF (error /= 0) THEN
    154154           abort_message='Pb allocation slab_tice'
    155            CALL abort_gcm(modname,abort_message,1)
     155           CALL abort_physic(modname,abort_message,1)
    156156        ENDIF
    157157        ALLOCATE(seaice(klon), stat = error)
    158158        IF (error /= 0) THEN
    159159           abort_message='Pb allocation slab_seaice'
    160            CALL abort_gcm(modname,abort_message,1)
     160           CALL abort_physic(modname,abort_message,1)
    161161        ENDIF
    162162    END IF
     
    169169    IF (error /= 0) THEN
    170170       abort_message='Pb allocation slabh'
    171        CALL abort_gcm(modname,abort_message,1)
     171       CALL abort_physic(modname,abort_message,1)
    172172    ENDIF
    173173    slabh(1)=50.
Note: See TracChangeset for help on using the changeset viewer.