- Timestamp:
- Nov 21, 2019, 4:43:45 PM (5 years ago)
- 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 83 83 cu_,cuvsurcv_,cv_,cvusurcu_, & 84 84 aire_,apoln_,apols_, & 85 aireu_,airev_,rlatv) 86 USE comconst_mod, ONLY: omeg, rad 85 aireu_,airev_,rlatv, rad, omeg) 87 86 ! number of points in lon, lat 88 87 IMPLICIT NONE … … 104 103 REAL,INTENT(IN) :: airev_(ip1jm) 105 104 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 107 111 ! Sanity check on dimensions 108 112 if ((ip1jm.ne.((nbp_lon+1)*(nbp_lat-1))).or. & 109 113 (ip1jmp1.ne.((nbp_lon+1)*nbp_lat))) then 110 write(*,*)"ini_slab_transp_geom Error: wrong array sizes"111 stop114 abort_message="ini_slab_transp_geom Error: wrong array sizes" 115 CALL abort_physic(modname,abort_message,1) 112 116 endif 113 117 ! Allocations could be done only on master process/thread... … … 924 928 INTEGER j,ifield,ig 925 929 930 CHARACTER (len = 20) :: modname = 'slab_heat_transp' 931 CHARACTER (len = 80) :: abort_message 932 926 933 ! Sanity check: 927 934 IF(klon_glo.NE.2+(jm-2)*(im-1)) THEN 928 WRITE(*,*)"gr_dyn_fi error, wrong sizes"929 STOP935 abort_message="gr_dyn_fi error, wrong sizes" 936 CALL abort_physic(modname,abort_message,1) 930 937 ENDIF 931 938
Note: See TracChangeset
for help on using the changeset viewer.