Changeset 2435 for LMDZ5/branches/testing/libf/phylmd/cpl_mod.F90
- Timestamp:
- Jan 28, 2016, 5:02:13 PM (9 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2397-2403,2405-2407,2410-2413,2415-2424,2426-2429,2431-2432,2434
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/cpl_mod.F90
r2408 r2435 292 292 ! are stored in this module. 293 293 USE surface_data 294 USE phys_state_var_mod, ONLY : rlon, rlat294 USE geometry_mod, ONLY : longitude_deg, latitude_deg 295 295 USE carbon_cycle_mod, ONLY : carbon_cycle_cpl 296 296 USE indice_sol_mod … … 363 363 364 364 ! Transform the longitudes and latitudes on 2D arrays 365 CALL gather_omp( rlon,rlon_mpi)366 CALL gather_omp( rlat,rlat_mpi)365 CALL gather_omp(longitude_deg,rlon_mpi) 366 CALL gather_omp(latitude_deg,rlat_mpi) 367 367 !$OMP MASTER 368 368 CALL Grid1DTo2D_mpi(rlon_mpi,tmp_lon) … … 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
Note: See TracChangeset
for help on using the changeset viewer.