Opened 8 years ago
Closed 8 years ago
#80 closed defect (fixed)
Initialisations manquantes de mass_solu_aero() et mass_solu_aero_pi() ?
Reported by: | Ehouarn Millour | Owned by: | Laurent Fairhead |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Terrestrial Physics | Keywords: | |
Cc: |
Description
Bug remonté des tests avec dynamico-aquaplanète de Yann. A vérifier, mais il semble qu'il manque dans physiq_mod.F90 les initialisations de mass_solu_aero() et mass_solu_aero_pi()...
Proposition de la modification:
Ligne 3301+ :
ELSE
tausum_aero(:,:,:) = 0.
+ mass_solu_aero(:,:)=0 + mass_solu_aero_pi(:,:)=0
IF (iflag_rrtm .EQ. 0) THEN !--old radiation
tau_aero(:,:,:,:) = 1.e-15 piz_aero(:,:,:,:) = 1. cg_aero(:,:,:,:) = 0.
ELSE
tau_aero_sw_rrtm(:,:,:,:) = 1.e-15 tau_aero_lw_rrtm(:,:,:,:) = 1.e-15 piz_aero_sw_rrtm(:,:,:,:) = 1.0 cg_aero_sw_rrtm(:,:,:,:) = 0.0
ENDIF
ENDIF
Change History (2)
comment:1 Changed 8 years ago by
comment:2 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Solved with r2623.
Note that in practice it was not a bug; mass_solu_aero() and mass_solu_aero() were either not initialized but not used, or initialized (elsewhere) when used.
Pb de mise en forme ci-dessus, pour la partie code lire