Changeset 2429 for LMDZ5/trunk/libf
- Timestamp:
- Jan 27, 2016, 1:43:09 PM (9 years ago)
- Location:
- LMDZ5/trunk/libf
- Files:
-
- 13 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 -
LMDZ5/trunk/libf/phy_common/mod_phys_lmdz_mpi_data.F90
-
Property
svn:keywords
changed from
Author Date Id Revision
toId
r2352 r2429 1 1 ! 2 !$ Header$2 !$Id$ 3 3 ! 4 4 MODULE mod_phys_lmdz_mpi_data … … 41 41 42 42 43 LOGICAL,SAVE :: is_north_pole 44 LOGICAL,SAVE :: is_south_pole 43 ! LOGICAL,SAVE :: is_north_pole 44 ! LOGICAL,SAVE :: is_south_pole 45 LOGICAL,SAVE :: is_north_pole_dyn 46 LOGICAL,SAVE :: is_south_pole_dyn 45 47 INTEGER,SAVE :: COMM_LMDZ_PHY 46 48 INTEGER,SAVE :: MPI_REAL_LMDZ ! MPI_REAL8 … … 109 111 110 112 IF (mpi_rank == 0) THEN 111 is_north_pole = .TRUE.112 ELSE 113 is_north_pole = .FALSE.113 is_north_pole_dyn = .TRUE. 114 ELSE 115 is_north_pole_dyn = .FALSE. 114 116 ENDIF 115 117 116 118 IF (mpi_rank == mpi_size-1) THEN 117 is_south_pole = .TRUE.118 ELSE 119 is_south_pole = .FALSE.119 is_south_pole_dyn = .TRUE. 120 ELSE 121 is_south_pole_dyn = .FALSE. 120 122 ENDIF 121 123 … … 217 219 WRITE(lunout,*) 'mpi_master =', mpi_master 218 220 WRITE(lunout,*) 'is_mpi_root =', is_mpi_root 219 WRITE(lunout,*) 'is_north_pole =', is_north_pole 220 WRITE(lunout,*) 'is_south_pole =', is_south_pole 221 WRITE(lunout,*) 'is_north_pole =', is_north_pole_dyn 222 WRITE(lunout,*) 'is_south_pole =', is_south_pole_dyn 221 223 WRITE(lunout,*) 'COMM_LMDZ_PHY =', COMM_LMDZ_PHY 222 224 -
Property
svn:keywords
changed from
-
LMDZ5/trunk/libf/phy_common/mod_phys_lmdz_mpi_transfert.F90
-
Property
svn:keywords
changed from
Author Date Id Revision
toId
r2351 r2429 1 1 ! 2 !$ Header$2 !$Id$ 3 3 ! 4 4 MODULE mod_phys_lmdz_mpi_transfert … … 1693 1693 1694 1694 offset=ii_begin 1695 IF (is_north_pole ) Offset=nbp_lon1695 IF (is_north_pole_dyn) Offset=nbp_lon 1696 1696 1697 1697 … … 1703 1703 1704 1704 1705 IF (is_north_pole ) THEN1705 IF (is_north_pole_dyn) THEN 1706 1706 DO i=1,dimsize 1707 1707 DO ij=1,nbp_lon … … 1711 1711 ENDIF 1712 1712 1713 IF (is_south_pole ) THEN1713 IF (is_south_pole_dyn) THEN 1714 1714 DO i=1,dimsize 1715 1715 DO ij=nbp_lon*(jj_nb-1)+1,nbp_lon*jj_nb … … 1737 1737 1738 1738 offset=ii_begin 1739 IF (is_north_pole ) Offset=nbp_lon1739 IF (is_north_pole_dyn) Offset=nbp_lon 1740 1740 1741 1741 … … 1747 1747 1748 1748 1749 IF (is_north_pole ) THEN1749 IF (is_north_pole_dyn) THEN 1750 1750 DO i=1,dimsize 1751 1751 DO ij=1,nbp_lon … … 1755 1755 ENDIF 1756 1756 1757 IF (is_south_pole ) THEN1757 IF (is_south_pole_dyn) THEN 1758 1758 DO i=1,dimsize 1759 1759 DO ij=nbp_lon*(jj_nb-1)+1,nbp_lon*jj_nb … … 1782 1782 1783 1783 offset=ii_begin 1784 IF (is_north_pole ) Offset=nbp_lon1784 IF (is_north_pole_dyn) Offset=nbp_lon 1785 1785 1786 1786 … … 1792 1792 1793 1793 1794 IF (is_north_pole ) THEN1794 IF (is_north_pole_dyn) THEN 1795 1795 DO i=1,dimsize 1796 1796 DO ij=1,nbp_lon … … 1800 1800 ENDIF 1801 1801 1802 IF (is_south_pole ) THEN1802 IF (is_south_pole_dyn) THEN 1803 1803 DO i=1,dimsize 1804 1804 DO ij=nbp_lon*(jj_nb-1)+1,nbp_lon*jj_nb … … 1824 1824 1825 1825 offset=ii_begin 1826 IF (is_north_pole ) offset=nbp_lon1826 IF (is_north_pole_dyn) offset=nbp_lon 1827 1827 1828 1828 DO i=1,dimsize … … 1832 1832 ENDDO 1833 1833 1834 IF (is_north_pole ) THEN1834 IF (is_north_pole_dyn) THEN 1835 1835 DO i=1,dimsize 1836 1836 VarOut(1,i)=VarIn(1,i) … … 1854 1854 1855 1855 offset=ii_begin 1856 IF (is_north_pole ) offset=nbp_lon1856 IF (is_north_pole_dyn) offset=nbp_lon 1857 1857 1858 1858 DO i=1,dimsize … … 1862 1862 ENDDO 1863 1863 1864 IF (is_north_pole ) THEN1864 IF (is_north_pole_dyn) THEN 1865 1865 DO i=1,dimsize 1866 1866 VarOut(1,i)=VarIn(1,i) … … 1883 1883 1884 1884 offset=ii_begin 1885 IF (is_north_pole ) offset=nbp_lon1885 IF (is_north_pole_dyn) offset=nbp_lon 1886 1886 1887 1887 DO i=1,dimsize … … 1891 1891 ENDDO 1892 1892 1893 IF (is_north_pole ) THEN1893 IF (is_north_pole_dyn) THEN 1894 1894 DO i=1,dimsize 1895 1895 VarOut(1,i)=VarIn(1,i) -
Property
svn:keywords
changed from
-
LMDZ5/trunk/libf/phy_common/mod_phys_lmdz_omp_data.F90
r2326 r2429 8 8 LOGICAL,SAVE :: is_omp_root 9 9 LOGICAL,SAVE :: is_using_omp 10 LOGICAL,SAVE :: is_north_pole_phy, is_south_pole_phy 10 11 11 12 INTEGER,SAVE,DIMENSION(:),ALLOCATABLE :: klon_omp_para_nb … … 17 18 INTEGER,SAVE :: klon_omp_end 18 19 !$OMP THREADPRIVATE(omp_rank,klon_omp,is_omp_root,klon_omp_begin,klon_omp_end) 20 !$OMP THREADPRIVATE(is_north_pole_phy, is_south_pole_phy) 19 21 20 22 CONTAINS 21 23 22 24 SUBROUTINE Init_phys_lmdz_omp_data(klon_mpi) 23 USE dimphy 25 USE dimphy 26 USE mod_phys_lmdz_mpi_data, ONLY : is_north_pole_dyn, is_south_pole_dyn 24 27 IMPLICIT NONE 25 28 INTEGER, INTENT(in) :: klon_mpi … … 43 46 omp_size=OMP_GET_NUM_THREADS() 44 47 !$OMP END MASTER 48 !$OMP BARRIER 45 49 omp_rank=OMP_GET_THREAD_NUM() 46 50 #else … … 62 66 63 67 !$OMP MASTER 68 64 69 ALLOCATE(klon_omp_para_nb(0:omp_size-1)) 65 70 ALLOCATE(klon_omp_para_begin(0:omp_size-1)) … … 80 85 !$OMP END MASTER 81 86 !$OMP BARRIER 87 88 if ((is_north_pole_dyn) .AND. (omp_rank == 0 )) then 89 is_north_pole_phy = .TRUE. 90 else 91 is_north_pole_phy = .FALSE. 92 endif 93 if ((is_south_pole_dyn) .AND. (omp_rank == omp_size-1)) then 94 is_south_pole_phy = .TRUE. 95 else 96 is_south_pole_phy = .FALSE. 97 endif 82 98 83 99 klon_omp=klon_omp_para_nb(omp_rank) -
LMDZ5/trunk/libf/phy_common/mod_phys_lmdz_para.F90
-
Property
svn:keywords
changed from
Author Date Id Revision
toId
r2351 r2429 1 1 ! 2 ! $Header$2 ! $Id$ 3 3 ! 4 4 MODULE mod_phys_lmdz_para … … 11 11 LOGICAL,SAVE :: is_parallel 12 12 LOGICAL,SAVE :: is_master 13 13 14 14 15 !$OMP THREADPRIVATE(klon_loc,is_master) … … 41 42 is_parallel=.FALSE. 42 43 ENDIF 44 45 43 46 44 47 END SUBROUTINE Init_phys_lmdz_para -
Property
svn:keywords
changed from
-
LMDZ5/trunk/libf/phylmd/atm2geo.F90
-
Property
svn:keywords
changed from
Author Date Id Revision
toId
r2346 r2429 1 1 ! 2 ! $ Header$2 ! $Id$ 3 3 ! 4 4 SUBROUTINE atm2geo ( im, jm, pte, ptn, plon, plat, pxx, pyy, pzz ) … … 32 32 33 33 ! Value at North Pole 34 IF (is_north_pole ) THEN34 IF (is_north_pole_dyn) THEN 35 35 pxx(:, 1) = - pte (1, 1) 36 36 pyy(:, 1) = - ptn (1, 1) … … 39 39 40 40 ! Value at South Pole 41 IF (is_south_pole ) THEN41 IF (is_south_pole_dyn) THEN 42 42 pxx(:,jm) = pxx(1,jm) 43 43 pyy(:,jm) = pyy(1,jm) -
Property
svn:keywords
changed from
-
LMDZ5/trunk/libf/phylmd/cpl_mod.F90
r2399 r2429 1115 1115 1116 1116 IF (is_parallel) THEN 1117 IF (.NOT. is_north_pole ) THEN1117 IF (.NOT. is_north_pole_dyn) THEN 1118 1118 #ifdef CPP_MPI 1119 1119 CALL MPI_RECV(Up,1,MPI_REAL_LMDZ,mpi_rank-1,1234,COMM_LMDZ_PHY,status,error) … … 1122 1122 ENDIF 1123 1123 1124 IF (.NOT. is_south_pole ) THEN1124 IF (.NOT. is_south_pole_dyn) THEN 1125 1125 #ifdef CPP_MPI 1126 1126 CALL MPI_SEND(tmp_calv(1,jj_nb),1,MPI_REAL_LMDZ,mpi_rank+1,1234,COMM_LMDZ_PHY,error) … … 1129 1129 ENDIF 1130 1130 1131 IF (.NOT. is_north_pole .AND. ii_begin /=1) THEN1131 IF (.NOT. is_north_pole_dyn .AND. ii_begin /=1) THEN 1132 1132 Up=Up+tmp_calv(nbp_lon,1) 1133 1133 tmp_calv(:,1)=Up 1134 1134 ENDIF 1135 1135 1136 IF (.NOT. is_south_pole .AND. ii_end /= nbp_lon) THEN1136 IF (.NOT. is_south_pole_dyn .AND. ii_end /= nbp_lon) THEN 1137 1137 Down=Down+tmp_calv(1,jj_nb) 1138 1138 tmp_calv(:,jj_nb)=Down … … 1222 1222 1223 1223 IF (is_sequential) THEN 1224 IF (is_north_pole ) tmp_lon(:,1) = tmp_lon(:,2)1225 IF (is_south_pole ) tmp_lon(:,nbp_lat) = tmp_lon(:,nbp_lat-1)1224 IF (is_north_pole_dyn) tmp_lon(:,1) = tmp_lon(:,2) 1225 IF (is_south_pole_dyn) tmp_lon(:,nbp_lat) = tmp_lon(:,nbp_lat-1) 1226 1226 ENDIF 1227 1227 … … 1389 1389 CALL Grid1Dto2D_mpi(temp_mpi,champ_out) 1390 1390 1391 IF (is_north_pole ) champ_out(:,1)=temp_mpi(1)1392 IF (is_south_pole ) champ_out(:,jj_nb)=temp_mpi(klon)1391 IF (is_north_pole_dyn) champ_out(:,1)=temp_mpi(1) 1392 IF (is_south_pole_dyn) champ_out(:,jj_nb)=temp_mpi(klon) 1393 1393 !$OMP END MASTER 1394 1394 -
LMDZ5/trunk/libf/phylmd/geo2atm.F90
r2346 r2429 37 37 38 38 ! Value at North Pole 39 IF (is_north_pole ) THEN39 IF (is_north_pole_dyn) THEN 40 40 pu(:, 1) = -px (1,1) 41 41 pv(:, 1) = -py (1,1) … … 44 44 45 45 ! Value at South Pole 46 IF (is_south_pole ) THEN46 IF (is_south_pole_dyn) THEN 47 47 pu(:,jm) = -px (1,jm) 48 48 pv(:,jm) = -py (1,jm) -
LMDZ5/trunk/libf/phylmd/iophy.F90
r2350 r2429 44 44 jj_nb, jj_begin, jj_end, ii_begin, ii_end, & 45 45 mpi_size, mpi_rank, klon_mpi, & 46 is_sequential, is_south_pole 46 is_sequential, is_south_pole_dyn 47 47 USE mod_grid_phy_lmdz, only: nbp_lon, nbp_lat, klon_glo 48 48 USE print_control_mod, ONLY: prt_level,lunout … … 144 144 write(lunout,*) "init_iophy_new: mpirank=",mpi_rank," data_ibegin=",data_ibegin," data_iend=",data_iend 145 145 write(lunout,*) "init_iophy_new: mpirank=",mpi_rank," data_ibegin=",data_ibegin," data_iend=",data_iend 146 write(lunout,*) "init_iophy_new: mpirank=",mpi_rank," is_south_pole=",is_south_pole 146 write(lunout,*) "init_iophy_new: mpirank=",mpi_rank," is_south_pole=",is_south_pole_dyn 147 147 endif 148 148 … … 151 151 1, nbp_lon, ii_begin, ii_end, jj_begin, jj_end, & 152 152 klon_mpi+2*(nbp_lon-1), data_ibegin, data_iend, & 153 io_lat, io_lon,is_south_pole ,mpi_rank)153 io_lat, io_lon,is_south_pole_dyn,mpi_rank) 154 154 #endif 155 155 !$OMP END MASTER -
LMDZ5/trunk/libf/phylmd/oasis.F90
r2371 r2429 342 342 343 343 istart=ii_begin 344 IF (is_south_pole ) THEN344 IF (is_south_pole_dyn) THEN 345 345 iend=(jj_end-jj_begin)*nbp_lon+nbp_lon 346 346 ELSE … … 408 408 409 409 istart=ii_begin 410 IF (is_south_pole ) THEN410 IF (is_south_pole_dyn) THEN 411 411 iend=(jj_end-jj_begin)*nbp_lon+nbp_lon 412 412 ELSE … … 417 417 wstart=istart 418 418 wend=iend 419 IF (is_north_pole ) wstart=istart+nbp_lon-1420 IF (is_south_pole ) wend=iend-nbp_lon+1419 IF (is_north_pole_dyn) wstart=istart+nbp_lon-1 420 IF (is_south_pole_dyn) wend=iend-nbp_lon+1 421 421 422 422 DO i = 1, maxsend -
LMDZ5/trunk/libf/phylmd/phys_output_write_mod.F90
r2393 r2429 1 1 ! 2 ! $ Header$2 ! $Id$ 3 3 ! 4 4 MODULE phys_output_write_mod … … 25 25 26 26 USE dimphy, only: klon, klev, klevp1, nslay 27 USE mod_phys_lmdz_para, ONLY: is_north_pole_phy,is_south_pole_phy 27 28 USE mod_grid_phy_lmdz, ONLY : nbp_lon, nbp_lat 28 29 USE time_phylmdz_mod, only: day_step_phy, start_time, itau_phy … … 348 349 !!! Champs 1D !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 349 350 CALL histwrite_phy(o_phis, pphis) 350 CALL histwrite_phy(o_aire, cell_area) 351 352 zx_tmp_fi2d = cell_area 353 if (is_north_pole_phy) then 354 zx_tmp_fi2d(1) = cell_area(1)/nbp_lon 355 endif 356 if (is_south_pole_phy) then 357 zx_tmp_fi2d(klon) = cell_area(klon)/nbp_lon 358 endif 359 CALL histwrite_phy(o_aire, zx_tmp_fi2d) 351 360 352 361 IF (vars_defined) THEN
Note: See TracChangeset
for help on using the changeset viewer.