Changeset 3147 for trunk/LMDZ.MARS/libf
- Timestamp:
- Dec 6, 2023, 9:00:08 AM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r3144 r3147 2665 2665 c ------------------------------------------------------------------- 2666 2666 2667 if (water) then2668 2667 do ig=1,ngrid 2669 2668 if(mu0(ig).le.0.01) then 2670 2669 fluxsurf_dir_dn_sw(ig) = 0. 2671 2670 else 2672 fluxsurf_dir_dn_sw(ig) = flux_1AU/dist_sol/dist_sol*mu0(ig)* 2671 if (water) then 2672 ! both water and dust contribute 2673 fluxsurf_dir_dn_sw(ig) = flux_1AU/dist_sol/dist_sol*mu0(ig)* 2673 2674 & exp(-(tau(ig,iaer_dust_doubleq)+ 2674 2675 & tau(ig,iaer_h2o_ice))/mu0(ig)) 2675 endif 2676 else 2677 ! only dust contributes 2678 fluxsurf_dir_dn_sw(ig) = flux_1AU/dist_sol/dist_sol*mu0(ig)* 2679 & exp(-(tau(ig,iaer_dust_doubleq))/mu0(ig)) 2680 endif ! of if (water) 2681 endif ! of if(mu0(ig).le.0.01) 2676 2682 enddo 2677 endif2678 2683 2679 2684 ! Density-scaled opacities … … 3286 3291 call write_output("local_time","Local time", 3287 3292 & 'sol',local_time(:)) 3293 if (water) then 3288 3294 if (.not.activice) then 3289 3295 CALL write_output('tauTESap', … … 3295 3301 & '',taucloudtes(:)) 3296 3302 endif 3303 endif ! of if (water) 3297 3304 #else 3298 3305 !!! this is to ensure correct initialisation of mesoscale model
Note: See TracChangeset
for help on using the changeset viewer.