Ignore:
Timestamp:
Jun 23, 2023, 6:03:57 PM (15 months ago)
Author:
Laurent Fairhead
Message:

Adding some files that didn't make it on the last commit ("Node filename has unexpectedly changed kind" error)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Portage_acc/libf/phylmdiso/thermcell_down.F90

    r4447 r4585  
    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.