Ignore:
Timestamp:
Sep 11, 2024, 4:27:07 PM (3 months ago)
Author:
abarral
Message:

Replace REPROBUS CPP KEY by logical using handmade wonky wrapper

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev/libf/phylmd/ecrad.v1.5.1/radiation_flux.F90

    r5159 r5185  
    361361    if (lhook) call dr_hook('radiation_flux:calc_surface_spectral',0,hook_handle)
    362362
    363     if (config%do_sw .and. config%do_surface_sw_spectral_flux) then
     363    if (config%do_sw .AND. config%do_surface_sw_spectral_flux) then
    364364
    365365      if (use_indexed_sum_vec) then
     
    420420
    421421    ! Fluxes in bands required for canopy radiative transfer
    422     if (config%do_sw .and. config%do_canopy_fluxes_sw) then
     422    if (config%do_sw .AND. config%do_canopy_fluxes_sw) then
    423423      if (config%use_canopy_full_spectrum_sw) then
    424424        this%sw_dn_diffuse_surf_canopy(:,istartcol:iendcol) = this%sw_dn_diffuse_surf_g(:,istartcol:iendcol)
     
    472472    end if ! do_canopy_fluxes_sw
    473473
    474     if (config%do_lw .and. config%do_canopy_fluxes_lw) then
     474    if (config%do_lw .AND. config%do_canopy_fluxes_lw) then
    475475      if (config%use_canopy_full_spectrum_lw) then
    476476        this%lw_dn_surf_canopy(:,istartcol:iendcol) = this%lw_dn_surf_g(:,istartcol:iendcol)
Note: See TracChangeset for help on using the changeset viewer.