Changeset 1657 for LMDZ5/trunk/libf/dyn3dmem/leapfrog_loc.F
- Timestamp:
- Oct 2, 2012, 5:57:45 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3dmem/leapfrog_loc.F
r1632 r1657 75 75 #include "description.h" 76 76 #include "serre.h" 77 #include "com_io_dyn.h"77 !#include "com_io_dyn.h" 78 78 #include "iniprint.h" 79 79 #include "academic.h" … … 397 397 398 398 IF( purmats ) THEN 399 ! Purely Matsuno time stepping 399 400 IF( MOD(itau,iconser) .EQ.0.AND. forward ) conser = .TRUE. 400 401 IF( MOD(itau,idissip ).EQ.0.AND..NOT.forward ) apdiss = .TRUE. … … 402 403 s .and. iflag_phys.EQ.1 ) apphys = .TRUE. 403 404 ELSE 405 ! Leapfrog/Matsuno time stepping 404 406 IF( MOD(itau ,iconser) .EQ. 0 ) conser = .TRUE. 405 407 IF( MOD(itau+1,idissip) .EQ. 0 ) apdiss = .TRUE. … … 407 409 END IF 408 410 411 ! Ehouarn: for Shallow Water case (ie: 1 vertical layer), 412 ! supress dissipation step 413 if (llm.eq.1) then 414 apdiss=.false. 415 endif 416 409 417 cym ---> Pour le moment 410 418 cym apphys = .FALSE. 411 419 statcl = .FALSE. 412 conser = .FALSE. 420 conser = .FALSE. ! ie: no output of control variables to stdout in // 413 421 414 422 if (firstCaldyn) then … … 1069 1077 ijb=ij_begin 1070 1078 ije=ij_end 1071 teta(ijb:ije,:)=teta(ijb:ije,:) 1072 s -iphysiq*dtvr*(teta(ijb:ije,:)-tetarappel(ijb:ije,:))/taurappel 1079 !LF teta(ijb:ije,:)=teta(ijb:ije,:) 1080 !LF s -iphysiq*dtvr*(teta(ijb:ije,:)-tetarappel(ijb:ije,:))/taurappel 1081 !$OMP DO SCHEDULE(STATIC,OMP_CHUNK) 1082 do l=1,llm 1083 teta(ijb:ije,l)=teta(ijb:ije,l) 1084 & -iphysiq*dtvr*(teta(ijb:ije,l)-tetarappel(ijb:ije,l))/taurappel 1085 enddo 1086 !$OMP END DO 1073 1087 1074 1088 call Register_Hallo_u(ucov,llm,0,1,1,0,Request_Physic) … … 1077 1091 c$OMP BARRIER 1078 1092 call WaitRequest(Request_Physic) 1079 1093 c$OMP BARRIER 1080 1094 call friction_loc(ucov,vcov,iphysiq*dtvr) 1095 !$OMP BARRIER 1081 1096 ENDIF ! of IF(iflag_phys.EQ.2) 1082 1097 … … 1312 1327 !c$OMP END MASTER 1313 1328 !c$OMP BARRIER 1314 END IF 1329 END IF ! of IF(apdiss) 1315 1330 1316 1331 cc$OMP END PARALLEL
Note: See TracChangeset
for help on using the changeset viewer.