Ignore:
Timestamp:
Nov 21, 2019, 4:43:45 PM (4 years ago)
Author:
lguez
Message:

Merge revisions 3427:3600 of trunk into branch Ocean_skin

Location:
LMDZ6/branches/Ocean_skin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Ocean_skin

  • LMDZ6/branches/Ocean_skin/libf/phylmd/slab_heat_transp_mod.F90

    r3002 r3605  
    8383                                  cu_,cuvsurcv_,cv_,cvusurcu_, &
    8484                                  aire_,apoln_,apols_, &
    85                                   aireu_,airev_,rlatv)
    86     USE comconst_mod, ONLY: omeg, rad
     85                                  aireu_,airev_,rlatv, rad, omeg)
    8786    ! number of points in lon, lat
    8887    IMPLICIT NONE
     
    104103    REAL,INTENT(IN) :: airev_(ip1jm)
    105104    REAL,INTENT(IN) :: rlatv(nbp_lat-1)
    106 
     105    REAL,INTENT(IN) :: rad
     106    REAL,INTENT(IN) :: omeg
     107
     108    CHARACTER (len = 20) :: modname = 'slab_heat_transp'
     109    CHARACTER (len = 80) :: abort_message
     110   
    107111    ! Sanity check on dimensions
    108112    if ((ip1jm.ne.((nbp_lon+1)*(nbp_lat-1))).or. &
    109113        (ip1jmp1.ne.((nbp_lon+1)*nbp_lat))) then
    110       write(*,*) "ini_slab_transp_geom Error: wrong array sizes"
    111       stop
     114      abort_message="ini_slab_transp_geom Error: wrong array sizes"
     115      CALL abort_physic(modname,abort_message,1)
    112116    endif
    113117! Allocations could be done only on master process/thread...
     
    924928  INTEGER j,ifield,ig
    925929
     930  CHARACTER (len = 20)                      :: modname = 'slab_heat_transp'
     931  CHARACTER (len = 80)                      :: abort_message
     932
    926933  ! Sanity check:
    927934  IF(klon_glo.NE.2+(jm-2)*(im-1)) THEN
    928     WRITE(*,*) "gr_dyn_fi error, wrong sizes"
    929     STOP
     935    abort_message="gr_dyn_fi error, wrong sizes"
     936    CALL abort_physic(modname,abort_message,1)
    930937  ENDIF
    931938
Note: See TracChangeset for help on using the changeset viewer.