Ignore:
Timestamp:
Mar 9, 2023, 5:46:26 PM (16 months ago)
Author:
lguez
Message:

Replace stop by call to abort_physiq

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

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/atke_exchange_coeff_mod.F90

    r4449 r4463  
    137137ELSE ! TO DO
    138138   
    139     print*, 'traitement non-stationnaire de la tke pas encore prevu'
    140     stop
     139   call abort_physic("atke_compute_km_kh", &
     140        'traitement non-stationnaire de la tke pas encore prevu', 1)
    141141
    142142END IF
  • LMDZ6/trunk/libf/phylmd/phyaqua_mod.F90

    r4253 r4463  
    135135    if (year_len.ne.360) then
    136136      write (*,*) year_len
    137       write (*,*) 'iniaqua: 360 day calendar is required !'
    138       stop
     137      call abort_physic("iniaqua", 'iniaqua: 360 day calendar is required !', 1)
    139138    endif
    140139
  • LMDZ6/trunk/libf/phylmd/thermcell_down.F90

    r4441 r4463  
    5858
    5959   if ( iflag_thermals_down < 10 ) then
    60         stop 'thermcell_down_dq = 0 or >= 10'
     60      call abort_physic("thermcell_updown_dq", &
     61           'thermcell_down_dq = 0 or >= 10', 1)
    6162   else
    6263        iflag_impl=iflag_thermals_down-10
     
    128129         !!!! tentative de prise en compte d'un flux compensatoire montant  !!!!
    129130         if (fup(ig,ilay)-fdn(ig,ilay) .lt. 0.) then
    130             write(*,*) 'flux compensatoire montant, cas non traite par thermcell_updown_dq'
    131             stop         
     131            call abort_physic("thermcell_updown_dq", 'flux compensatoire '&
     132                 // 'montant, cas non traite par thermcell_updown_dq', 1)
    132133            !fthe(ig,ilay)=(fup(ig,ilay)-fdn(ig,ilay))*trac(ig,ilay-1)
    133134         else
     
    161162       do ig=1,ngrid
    162163         if (fup(ig,ilay)-fdn(ig,ilay) .lt. 0.) then
    163             write(*,*) 'flux compensatoire montant, cas non traite par thermcell_updown_dq'
    164             stop         
     164            call abort_physic("thermcell_updown_dq", 'flux compensatoire ' &
     165                 // 'montant, cas non traite par thermcell_updown_dq', 1)
    165166         else
    166167            fthe(ig,ilay)=-(fup(ig,ilay)-fdn(ig,ilay))*trac(ig,ilay)
     
    191192         if((fup(ig,ilay)-fdn(ig,ilay)) .lt. 0) then
    192193            write(*,*) 'flux compensatoire montant, cas non traite par thermcell_updown_dq dans le cas d une resolution implicite, ilay : ', ilay
    193             stop 
     194            call abort_physic("thermcell_updown_dq", "", 1)
    194195         else
    195196           mstar_inv=ptimestep/masse(ig,ilay)
     
    205206
    206207   else
    207       write(*,*) 'valeur de iflag_impl non prevue'
    208       stop
    209 
     208      call abort_physic("thermcell_updown_dq", &
     209           'valeur de iflag_impl non prevue', 1)
    210210   endif
    211211
Note: See TracChangeset for help on using the changeset viewer.