Changeset 2597 for LMDZ5/trunk/libf/dyn3dmem/guide_loc_mod.F90
- Timestamp:
- Jul 22, 2016, 8:44:47 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3dmem/guide_loc_mod.F90
r2263 r2597 346 346 USE control_mod 347 347 USE write_field_loc 348 USE comconst_mod, ONLY: cpp, daysec, dtvr, kappa 348 349 349 350 IMPLICIT NONE … … 351 352 INCLUDE "dimensions.h" 352 353 INCLUDE "paramet.h" 353 INCLUDE "comconst.h"354 354 INCLUDE "comvert.h" 355 355 … … 748 748 SUBROUTINE guide_zonave_u(typ,vsize,field) 749 749 750 USE comconst_mod, ONLY: pi 751 750 752 IMPLICIT NONE 751 753 … … 753 755 INCLUDE "paramet.h" 754 756 INCLUDE "comgeom.h" 755 INCLUDE "comconst.h"756 757 757 758 ! input/output variables … … 819 820 SUBROUTINE guide_zonave_v(typ,hsize,vsize,field) 820 821 822 USE comconst_mod, ONLY: pi 823 821 824 IMPLICIT NONE 822 825 … … 824 827 INCLUDE "paramet.h" 825 828 INCLUDE "comgeom.h" 826 INCLUDE "comconst.h"827 829 828 830 ! input/output variables … … 890 892 USE mod_hallo 891 893 USE Bands 894 USE comconst_mod, ONLY: cpp, kappa 892 895 IMPLICIT NONE 893 896 … … 896 899 include "comvert.h" 897 900 include "comgeom2.h" 898 include "comconst.h"899 901 900 902 REAL, DIMENSION (iip1,jjb_u:jje_u), INTENT(IN) :: psi ! Psol gcm … … 1012 1014 !$OMP DO SCHEDULE(STATIC,OMP_CHUNK) 1013 1015 DO l=1,llm 1014 1015 1016 DO j=jjbu,jjeu 1017 DO i =1, iip1 1016 1018 pls(i,j,l)=(ap(l)+ap(l+1))/2.+psi(i,j)*(bp(l)+bp(l+1))/2. 1017 1019 ENDDO … … 1030 1032 DO l = 1, llm 1031 1033 DO j=jjbu,jjeu 1032 1033 1034 1034 DO i =1, iip1 1035 pls(i,j,l) = preff * ( pk(i,j,l)/cpp) ** unskap 1036 ENDDO 1035 1037 ENDDO 1036 1038 ENDDO … … 1302 1304 ! Calcul des nouvelles valeurs des niveaux de pression du guidage 1303 1305 IF (guide_plevs.EQ.1) THEN 1304 1305 1306 1307 !$OMP BARRIER 1308 1306 CALL Register_Hallo_u(psnat1,1,1,2,2,1,Req) 1307 CALL Register_Hallo_u(psnat2,1,1,2,2,1,Req) 1308 CALL SendRequest(Req) 1309 !$OMP BARRIER 1310 CALL WaitRequest(Req) 1309 1311 !$OMP BARRIER 1310 1312 !$OMP DO … … 1320 1322 ENDDO 1321 1323 ELSE IF (guide_plevs.EQ.2) THEN 1322 1323 1324 1325 !$OMP BARRIER 1326 1324 CALL Register_Hallo_u(pnat1,llm,1,2,2,1,Req) 1325 CALL Register_Hallo_u(pnat2,llm,1,2,2,1,Req) 1326 CALL SendRequest(Req) 1327 !$OMP BARRIER 1328 CALL WaitRequest(Req) 1327 1329 !$OMP BARRIER 1328 1330 !$OMP DO … … 1370 1372 ! Calcul des constantes de rappel alpha (=1/tau) 1371 1373 1374 use comconst_mod, only: pi 1375 1372 1376 implicit none 1373 1377 1374 1378 include "dimensions.h" 1375 1379 include "paramet.h" 1376 include "comconst.h"1377 1380 include "comgeom2.h" 1378 1381 include "serre.h" … … 2127 2130 USE parallel_lmdz 2128 2131 USE mod_hallo, ONLY : gather_field_u, gather_field_v 2132 USE comconst_mod, ONLY: pi 2129 2133 IMPLICIT NONE 2130 2134 … … 2133 2137 INCLUDE "netcdf.inc" 2134 2138 INCLUDE "comgeom2.h" 2135 INCLUDE "comconst.h"2136 2139 INCLUDE "comvert.h" 2137 2140
Note: See TracChangeset
for help on using the changeset viewer.