Changeset 2429 for LMDZ5/trunk/libf/dynphy_lonlat
- Timestamp:
- Jan 27, 2016, 1:43:09 PM (9 years ago)
- Location:
- LMDZ5/trunk/libf/dynphy_lonlat
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dynphy_lonlat/calfis_loc.F
-
Property
svn:keywords
set to
Id
r2418 r2429 417 417 kend=klon 418 418 419 if (is_north_pole ) kstart=2420 if (is_south_pole ) kend=klon-1419 if (is_north_pole_dyn) kstart=2 420 if (is_south_pole_dyn) kend=klon-1 421 421 422 422 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) … … 446 446 jjb=jj_begin_dyn-1 447 447 jje=jj_end_dyn+1 448 if (is_north_pole ) jjb=1449 if (is_south_pole ) jje=jjm448 if (is_north_pole_dyn) jjb=1 449 if (is_south_pole_dyn) jje=jjm 450 450 451 451 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) … … 497 497 c V = 1 / pi * integrale [ v * sin(long) * d long ] 498 498 499 if (is_north_pole ) then499 if (is_north_pole_dyn) then 500 500 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) 501 501 DO l=1,llm … … 525 525 c V = 1 / pi * integrale [ v * sin(long) * d long ] 526 526 527 if (is_south_pole ) then527 if (is_south_pole_dyn) then 528 528 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) 529 529 DO l=1,llm … … 915 915 pdvfi(:,jj_begin,l)=0 916 916 917 if (.not. is_south_pole ) then917 if (.not. is_south_pole_dyn) then 918 918 pdhfi(:,jj_end:jj_end+1,l)=0 919 919 pdqfi(:,jj_end:jj_end+1,l,:)=0 … … 928 928 pdpsfi(:,jj_begin)=0 929 929 930 if (.not. is_south_pole ) then930 if (.not. is_south_pole_dyn) then 931 931 pdpsfi(:,jj_end:jj_end+1)=0 932 932 endif … … 944 944 kend=klon 945 945 946 if (is_north_pole ) kstart=2947 if (is_south_pole ) kend=klon-1946 if (is_north_pole_dyn) kstart=2 947 if (is_south_pole_dyn) kend=klon-1 948 948 949 949 !CDIR ON_ADB(index_i) … … 957 957 enddo 958 958 959 if (is_north_pole ) then959 if (is_north_pole_dyn) then 960 960 DO i=1,iip1 961 961 pdpsfi(i,1) = zdpsrf(1) … … 963 963 endif 964 964 965 if (is_south_pole ) then965 if (is_south_pole_dyn) then 966 966 DO i=1,iip1 967 967 pdpsfi(i,jjp1) = zdpsrf(klon) … … 978 978 kend=klon 979 979 980 if (is_north_pole ) kstart=2981 if (is_south_pole ) kend=klon-1980 if (is_north_pole_dyn) kstart=2 981 if (is_south_pole_dyn) kend=klon-1 982 982 983 983 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) … … 994 994 enddo 995 995 996 if (is_north_pole ) then996 if (is_north_pole_dyn) then 997 997 DO i=1,iip1 998 998 pdhfi(i,1,l) = cpp * zdtfi(1,l) / ppk(i, 1 ,l) … … 1000 1000 endif 1001 1001 1002 if (is_south_pole ) then1002 if (is_south_pole_dyn) then 1003 1003 DO i=1,iip1 1004 1004 pdhfi(i,jjp1,l) = cpp * zdtfi(klon,l)/ ppk(i,jjp1,l) … … 1022 1022 ! enddo 1023 1023 ! 1024 ! if (is_north_pole ) then1024 ! if (is_north_pole_dyn) then 1025 1025 ! do i=1,iip1 1026 1026 ! pdqfi(i,1,l,iq) = zdqfi(1,l,iq) … … 1028 1028 ! endif 1029 1029 ! 1030 ! if (is_south_pole ) then1030 ! if (is_south_pole_dyn) then 1031 1031 ! do i=1,iip1 1032 1032 ! pdqfi(i,jjp1,l,iq) = zdqfi(klon,l,iq) … … 1063 1063 ENDDO 1064 1064 1065 IF (is_north_pole ) then1065 IF (is_north_pole_dyn) then 1066 1066 DO i=1,iip1 1067 1067 pdqfi(i,1,l,iiq) = zdqfi(1,l,iq) … … 1069 1069 ENDIF 1070 1070 1071 IF (is_south_pole ) then1071 IF (is_south_pole_dyn) then 1072 1072 DO i=1,iip1 1073 1073 pdqfi(i,jjp1,l,iiq) = zdqfi(klon,l,iq) … … 1102 1102 enddo 1103 1103 1104 if (is_north_pole ) then1104 if (is_north_pole_dyn) then 1105 1105 DO i=1,iip1 1106 1106 pdufi(i,1,l) = 0. … … 1108 1108 endif 1109 1109 1110 if (is_south_pole ) then1110 if (is_south_pole_dyn) then 1111 1111 DO i=1,iip1 1112 1112 pdufi(i,jjp1,l) = 0. … … 1123 1123 kend=klon 1124 1124 1125 if (is_north_pole ) kstart=21126 if (is_south_pole ) kend=klon-1-iim1125 if (is_north_pole_dyn) kstart=2 1126 if (is_south_pole_dyn) kend=klon-1-iim 1127 1127 1128 1128 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) … … 1148 1148 c v = U * cos(long) + V * SIN(long) 1149 1149 1150 if (is_north_pole ) then1150 if (is_north_pole_dyn) then 1151 1151 1152 1152 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) … … 1168 1168 endif 1169 1169 1170 if (is_south_pole ) then1170 if (is_south_pole_dyn) then 1171 1171 1172 1172 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) -
Property
svn:keywords
set to
-
LMDZ5/trunk/libf/dynphy_lonlat/calfis_p.F
r2418 r2429 393 393 kend=klon 394 394 395 if (is_north_pole ) kstart=2396 if (is_south_pole ) kend=klon-1395 if (is_north_pole_dyn) kstart=2 396 if (is_south_pole_dyn) kend=klon-1 397 397 398 398 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) … … 422 422 jjb=jj_begin_dyn-1 423 423 jje=jj_end_dyn+1 424 if (is_north_pole ) jjb=1425 if (is_south_pole ) jje=jjm424 if (is_north_pole_dyn) jjb=1 425 if (is_south_pole_dyn) jje=jjm 426 426 427 427 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) … … 474 474 c V = 1 / pi * integrale [ v * sin(long) * d long ] 475 475 476 if (is_north_pole ) then476 if (is_north_pole_dyn) then 477 477 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) 478 478 DO l=1,llm … … 502 502 c V = 1 / pi * integrale [ v * sin(long) * d long ] 503 503 504 if (is_south_pole ) then504 if (is_south_pole_dyn) then 505 505 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) 506 506 DO l=1,llm … … 878 878 pdvfi(:,jj_begin,l)=0 879 879 880 if (.not. is_south_pole ) then880 if (.not. is_south_pole_dyn) then 881 881 pdhfi(:,jj_end,l)=0 882 882 pdqfi(:,jj_end,l,:)=0 … … 890 890 c$OMP MASTER 891 891 pdpsfi(:,jj_begin)=0 892 if (.not. is_south_pole ) then892 if (.not. is_south_pole_dyn) then 893 893 pdpsfi(:,jj_end)=0 894 894 endif … … 908 908 kend=klon 909 909 910 if (is_north_pole ) kstart=2911 if (is_south_pole ) kend=klon-1910 if (is_north_pole_dyn) kstart=2 911 if (is_south_pole_dyn) kend=klon-1 912 912 913 913 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) … … 924 924 enddo 925 925 926 if (is_north_pole ) then926 if (is_north_pole_dyn) then 927 927 DO i=1,iip1 928 928 pdhfi(i,1,l) = cpp * zdtfi(1,l) / ppk(i, 1 ,l) … … 930 930 endif 931 931 932 if (is_south_pole ) then932 if (is_south_pole_dyn) then 933 933 DO i=1,iip1 934 934 pdhfi(i,jjp1,l) = cpp * zdtfi(klon,l)/ ppk(i,jjp1,l) … … 952 952 ! enddo 953 953 ! 954 ! if (is_north_pole ) then954 ! if (is_north_pole_dyn) then 955 955 ! do i=1,iip1 956 956 ! pdqfi(i,1,l,iq) = zdqfi(1,l,iq) … … 958 958 ! endif 959 959 ! 960 ! if (is_south_pole ) then960 ! if (is_south_pole_dyn) then 961 961 ! do i=1,iip1 962 962 ! pdqfi(i,jjp1,l,iq) = zdqfi(klon,l,iq) … … 993 993 ENDDO 994 994 995 IF (is_north_pole ) then995 IF (is_north_pole_dyn) then 996 996 DO i=1,iip1 997 997 pdqfi(i,1,l,iiq) = zdqfi(1,l,iq) … … 999 999 ENDIF 1000 1000 1001 IF (is_south_pole ) then1001 IF (is_south_pole_dyn) then 1002 1002 DO i=1,iip1 1003 1003 pdqfi(i,jjp1,l,iiq) = zdqfi(klon,l,iq) … … 1032 1032 enddo 1033 1033 1034 if (is_north_pole ) then1034 if (is_north_pole_dyn) then 1035 1035 DO i=1,iip1 1036 1036 pdufi(i,1,l) = 0. … … 1038 1038 endif 1039 1039 1040 if (is_south_pole ) then1040 if (is_south_pole_dyn) then 1041 1041 DO i=1,iip1 1042 1042 pdufi(i,jjp1,l) = 0. … … 1053 1053 kend=klon 1054 1054 1055 if (is_north_pole ) kstart=21056 if (is_south_pole ) kend=klon-1-iim1055 if (is_north_pole_dyn) kstart=2 1056 if (is_south_pole_dyn) kend=klon-1-iim 1057 1057 1058 1058 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) … … 1078 1078 c v = U * cos(long) + V * SIN(long) 1079 1079 1080 if (is_north_pole ) then1080 if (is_north_pole_dyn) then 1081 1081 1082 1082 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) … … 1098 1098 endif 1099 1099 1100 if (is_south_pole ) then1100 if (is_south_pole_dyn) then 1101 1101 1102 1102 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) -
LMDZ5/trunk/libf/dynphy_lonlat/mod_interface_dyn_phys.F90
r2351 r2429 22 22 23 23 k=1 24 IF (is_north_pole ) THEN24 IF (is_north_pole_dyn) THEN 25 25 index_i(k)=1 26 26 index_j(k)=1 … … 28 28 ELSE 29 29 DO i=ii_begin,iim 30 31 32 33 30 index_i(k)=i 31 index_j(k)=jj_begin 32 k=k+1 33 ENDDO 34 34 ENDIF 35 35 36 36 DO j=jj_begin+1,jj_end-1 37 37 DO i=1,iim 38 39 40 38 index_i(k)=i 39 index_j(k)=j 40 k=k+1 41 41 ENDDO 42 42 ENDDO 43 43 44 IF (is_south_pole ) THEN44 IF (is_south_pole_dyn) THEN 45 45 index_i(k)=1 46 46 index_j(k)=jj_end 47 47 ELSE 48 48 DO i=1,ii_end 49 50 51 49 index_i(k)=i 50 index_j(k)=jj_end 51 k=k+1 52 52 ENDDO 53 53 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.