Changeset 1572 for trunk/LMDZ.COMMON/libf/dynphy_lonlat/calfis_p.F
- Timestamp:
- Jul 11, 2016, 9:35:35 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dynphy_lonlat/calfis_p.F
r1549 r1572 597 597 kend=klon 598 598 599 if (is_north_pole ) kstart=2600 if (is_south_pole ) kend=klon-1599 if (is_north_pole_dyn) kstart=2 600 if (is_south_pole_dyn) kend=klon-1 601 601 602 602 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) … … 626 626 jjb=jj_begin_dyn-1 627 627 jje=jj_end_dyn+1 628 if (is_north_pole ) jjb=1629 if (is_south_pole ) jje=jjm628 if (is_north_pole_dyn) jjb=1 629 if (is_south_pole_dyn) jje=jjm 630 630 631 631 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) … … 678 678 c V = 1 / pi * integrale [ v * sin(long) * d long ] 679 679 680 if (is_north_pole ) then680 if (is_north_pole_dyn) then 681 681 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) 682 682 DO l=1,llm … … 706 706 c V = 1 / pi * integrale [ v * sin(long) * d long ] 707 707 708 if (is_south_pole ) then708 if (is_south_pole_dyn) then 709 709 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) 710 710 DO l=1,llm … … 1248 1248 pdvfi(:,jj_begin,l)=0 1249 1249 1250 if (.not. is_south_pole ) then1250 if (.not. is_south_pole_dyn) then 1251 1251 pdhfi(:,jj_end,l)=0 1252 1252 pdqfi(:,jj_end,l,:)=0 … … 1260 1260 c$OMP MASTER 1261 1261 pdpsfi(:,jj_begin)=0 1262 if (.not. is_south_pole ) then1262 if (.not. is_south_pole_dyn) then 1263 1263 pdpsfi(:,jj_end)=0 1264 1264 endif … … 1278 1278 kend=klon 1279 1279 1280 if (is_north_pole ) kstart=21281 if (is_south_pole ) kend=klon-11280 if (is_north_pole_dyn) kstart=2 1281 if (is_south_pole_dyn) kend=klon-1 1282 1282 1283 1283 ! ADAPTATION GCM POUR CP(T) … … 1301 1301 enddo 1302 1302 1303 if (is_north_pole ) then1303 if (is_north_pole_dyn) then 1304 1304 DO i=1,iip1 1305 1305 ! pdhfi(i,1,l) = cpp * zdtfi(1,l) / ppk(i, 1 ,l) … … 1308 1308 endif 1309 1309 1310 if (is_south_pole ) then1310 if (is_south_pole_dyn) then 1311 1311 DO i=1,iip1 1312 1312 ! pdhfi(i,jjp1,l) = cpp * zdtfi(klon,l)/ ppk(i,jjp1,l) … … 1331 1331 ! enddo 1332 1332 ! 1333 ! if (is_north_pole ) then1333 ! if (is_north_pole_dyn) then 1334 1334 ! do i=1,iip1 1335 1335 ! pdqfi(i,1,l,iq) = zdqfi(1,l,iq) … … 1337 1337 ! endif 1338 1338 ! 1339 ! if (is_south_pole ) then1339 ! if (is_south_pole_dyn) then 1340 1340 ! do i=1,iip1 1341 1341 ! pdqfi(i,jjp1,l,iq) = zdqfi(klon,l,iq) … … 1371 1371 ENDDO 1372 1372 1373 IF (is_north_pole ) then1373 IF (is_north_pole_dyn) then 1374 1374 DO i=1,iip1 1375 1375 pdqfi(i,1,l,iq) = zdqfi(1,l,iq) … … 1377 1377 ENDIF 1378 1378 1379 IF (is_south_pole ) then1379 IF (is_south_pole_dyn) then 1380 1380 DO i=1,iip1 1381 1381 pdqfi(i,jjp1,l,iq) = zdqfi(klon,l,iq) … … 1410 1410 enddo 1411 1411 1412 if (is_north_pole ) then1412 if (is_north_pole_dyn) then 1413 1413 DO i=1,iip1 1414 1414 pdufi(i,1,l) = 0. … … 1416 1416 endif 1417 1417 1418 if (is_south_pole ) then1418 if (is_south_pole_dyn) then 1419 1419 DO i=1,iip1 1420 1420 pdufi(i,jjp1,l) = 0. … … 1431 1431 kend=klon 1432 1432 1433 if (is_north_pole ) kstart=21434 if (is_south_pole ) kend=klon-1-iim1433 if (is_north_pole_dyn) kstart=2 1434 if (is_south_pole_dyn) kend=klon-1-iim 1435 1435 1436 1436 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) … … 1456 1456 c v = U * cos(long) + V * SIN(long) 1457 1457 1458 if (is_north_pole ) then1458 if (is_north_pole_dyn) then 1459 1459 1460 1460 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) … … 1476 1476 endif 1477 1477 1478 if (is_south_pole ) then1478 if (is_south_pole_dyn) then 1479 1479 1480 1480 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK)
Note: See TracChangeset
for help on using the changeset viewer.