Changeset 5914 for LMDZ6/branches/PBLSURF_GPUPORT/libf/phylmd
- Timestamp:
- Dec 4, 2025, 8:02:43 PM (3 weeks ago)
- Location:
- LMDZ6/branches/PBLSURF_GPUPORT/libf/phylmd
- Files:
-
- 5 edited
-
calbeta_clim.f90 (modified) (2 diffs)
-
surf_land_bucket_hetero_mod.F90 (modified) (1 diff)
-
surf_land_bucket_mod.F90 (modified) (5 diffs)
-
surf_land_mod.F90 (modified) (6 diffs)
-
surface_data.f90 (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/PBLSURF_GPUPORT/libf/phylmd/calbeta_clim.f90
r5268 r5914 3 3 ! fairhead Exp $ 4 4 ! 5 MODULE calbeta_clim_mod 6 7 8 CONTAINS 5 9 6 10 SUBROUTINE calbeta_clim(klon,time,lat_radian,beta) 11 !$gpum horizontal klon 7 12 8 13 !====================================================================== … … 71 76 72 77 end SUBROUTINE calbeta_clim 78 79 END MODULE calbeta_clim_mod -
LMDZ6/branches/PBLSURF_GPUPORT/libf/phylmd/surf_land_bucket_hetero_mod.F90
r5889 r5914 43 43 USE albsno_mod, ONLY : albsno 44 44 USE calbeta_mod, ONLY : calbeta 45 USE calbeta_clim_mod, ONLY : calbeta_clim 45 46 46 47 #ifdef ISO -
LMDZ6/branches/PBLSURF_GPUPORT/libf/phylmd/surf_land_bucket_mod.F90
r5889 r5914 23 23 #endif 24 24 ) 25 25 !$gpum horizontal knon klon 26 26 USE limit_read_mod 27 27 USE surface_data … … 50 50 USE soil_mod, ONLY : soil 51 51 USE calbeta_mod, ONLY : calbeta 52 USE calbeta_clim_mod, ONLY : calbeta_clim 53 52 54 53 55 !**************************************************************************************** … … 125 127 REAL :: coeff_rel_diag 126 128 #endif 129 REAL :: lat(knon), lon(knon) 130 127 131 ! 128 132 !**************************************************************************************** … … 169 173 CALL calbeta(dtime, is_ter, knon, snow, qsol, beta, capsol, dif_grnd) 170 174 if (type_veget=='betaclim') then 171 CALL calbeta_clim(knon,jour,latitude(knindex(1:knon)),beta) 175 lat(1:knon) = latitude(knindex(1:knon)) 176 CALL calbeta_clim(knon,jour,lat ,beta) 172 177 endif 173 178 174 179 ! calculate temperature, heat capacity and conduction flux in soil 175 180 IF (soil_model) THEN 181 lat(1:knon) = latitude(knindex(1:knon)) 182 lon(1:knon) = longitude(knindex(1:knon)) 176 183 CALL soil(dtime, is_ter, knon, snow, tsurf, qsol, & 177 & lon gitude(knindex(1:knon)), latitude(knindex(1:knon)), tsoil, soilcap, soilflux)184 & lon, lat, tsoil, soilcap, soilflux) 178 185 179 186 DO i=1, knon … … 337 344 dummy_riverflow(:) = 0.0 338 345 dummy_coastalflow(:) = 0.0 346 !$gpum nocall 339 347 CALL cpl_send_land_fields(itime, knon, knindex, & 340 348 dummy_riverflow, dummy_coastalflow) -
LMDZ6/branches/PBLSURF_GPUPORT/libf/phylmd/surf_land_mod.F90
r5868 r5914 29 29 #endif 30 30 ) 31 !$gpum horizontal knon klon 31 32 32 33 USE dimphy 33 34 USE surface_data, ONLY : ok_veget 34 USE carbon_cycle_mod35 36 35 37 36 ! See comments in each module surf_land_orchidee_xxx for compatiblity with ORCHIDEE … … 57 56 #else 58 57 ! Default version 59 USE surf_land_orchidee_mod 58 USE surf_land_orchidee_mod, ONLY : surf_land_orchidee 60 59 #endif 61 60 #endif … … 64 63 #endif 65 64 66 USE surf_land_bucket_mod 67 USE surf_land_bucket_hetero_mod 68 USE calcul_fluxs_mod 69 USE indice_sol_mod 65 USE surf_land_bucket_mod, ONLY : surf_land_bucket 66 USE surf_land_bucket_hetero_mod, ONLY : surf_land_bucket_hetero 67 USE calcul_fluxs_mod, ONLY : calcul_flux_wind 68 USE indice_sol_mod, ONLY: nbsrf 70 69 #ifdef ISO 71 70 use infotrac_phy, ONLY: ntiso,niso … … 76 75 #endif 77 76 78 USE dimpft_mod_h 79 USE clesphys_mod_h80 USE yomcst_mod_h 81 USE print_control_mod, ONLY: lunout77 USE dimpft_mod_h, ONLY: nvm_lmdz 78 USE clesphys_mod_h, ONLY : nsw, ok_bs 79 USE yomcst_mod_h, ONLY: RCPD, RKAPPA 80 USE print_control_mod, ONLY: lunout 82 81 USE dimsoil_mod_h, ONLY: nsoilmx 83 USE compbl_mod_h 82 USE compbl_mod_h, ONLY: iflag_hetero_surf 84 83 85 84 ! Input variables … … 250 249 251 250 ! temporary for keeping same results using lwdown_m instead of lwdown 251 !$gpum nocall 252 252 CALL surf_land_orchidee(itime, dtime, date0, knon, & 253 253 knindex, rlon, rlat, yrmu0, pctsrf, & … … 306 306 IF (klon .EQ. 1) THEN 307 307 ! 308 !$gpum nocall 308 309 CALL surf_land_bucket_hetero(itime, jour, knon, knindex, debut, dtime,& 309 310 tsurf, p1lay, cdragh, precip_rain, precip_totsnow, temp_air, & -
LMDZ6/branches/PBLSURF_GPUPORT/libf/phylmd/surface_data.f90
r5896 r5914 12 12 !$OMP THREADPRIVATE(ok_veget) 13 13 14 CHARACTER(len= 10), SAVE :: type_veget ! orchidee/y/bucket/n/betaclim14 CHARACTER(len=s2s_str_maxlen), SAVE :: type_veget ! orchidee/y/bucket/n/betaclim 15 15 !$OMP THREADPRIVATE(type_veget) 16 16
Note: See TracChangeset
for help on using the changeset viewer.
