Changeset 6116 for LMDZ6/trunk/libf/phylmd/pbl_surface_subsrf_mod.F90
- Timestamp:
- Mar 21, 2026, 7:18:46 PM (3 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/pbl_surface_subsrf_mod.F90
r6053 r6116 175 175 ! fluxlat_tersrf--output-R- latent heat flux of continental sub-surfaces 176 176 USE carbon_cycle_mod, ONLY : carbon_cycle_cpl 177 USE carbon_cycle_mod, ONLY : co2_send, nbcf_out, fields_out, yfields_out 177 USE carbon_cycle_mod, ONLY : co2_send, nbcf_out, fields_out, yfields_out, yfields_in 178 178 use hbtm_mod, only: hbtm 179 179 USE indice_sol_mod … … 800 800 !ORCHIDEE grid and as such should be defined in yfields_in(knon,nbcf_in) but the 801 801 !knon variable is not known at that level of pbl_surface_mod 802 yfields_out(:,:) = 0. 802 IF (ALLOCATED(yfields_out)) yfields_out(:,:) = 0. 803 IF (ALLOCATED(yfields_in)) yfields_in(:,:) = 0. 804 ! >> PC 803 805 804 806 ypphi = 0.0 … … 891 893 #endif 892 894 ENDDO 895 ! >> PC 893 896 !--compressing fields_out onto ORCHIDEE grid 894 !--these fields are shared and used directly surf_land_orchidee_mod 895 DO n = 1, nbcf_out 896 DO j = 1, knon 897 i = ni(j) 898 yfields_out(j,n) = fields_out(i,n) 899 ENDDO 900 ENDDO 897 !--these fields are shared and used directly in surf_land_orchidee_mod 898 IF (nbcf_out > 0 .AND. ALLOCATED(yfields_out) .AND. ALLOCATED(fields_out)) THEN 899 DO n = 1, nbcf_out 900 DO j = 1, knon 901 i = ni(j) 902 yfields_out(j,n) = fields_out(i,n) 903 ENDDO 904 ENDDO 905 END IF 906 ! << PC 907 901 908 902 909 DO k = 1, klev
Note: See TracChangeset
for help on using the changeset viewer.
