Changeset 2443


Ignore:
Timestamp:
Feb 15, 2016, 3:31:52 PM (9 years ago)
Author:
acozic
Message:

add some validation tests for aerosols parameters (config_inca, aerosol_couple, flag_aerosol)

Location:
LMDZ5/trunk/libf/phylmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/conf_phys_m.F90

    r2420 r2443  
    22242224       END IF
    22252225    END IF
     2226
     2227    ! Flag_aerosol cannot be to zero if we are in coupled mode for aerosol
     2228    IF (aerosol_couple .AND. flag_aerosol .eq. 0 ) THEN
     2229       CALL abort_physic('conf_phys', 'flag_aerosol cannot be to zero if aerosol_couple=y ', 1)
     2230    ENDIF
     2231
     2232    ! flag_aerosol need to be different to zero if ok_cdnc is activated
     2233    IF (ok_cdnc .AND. flag_aerosol .eq. 0) THEN
     2234       CALL abort_physic('conf_phys', 'flag_aerosol cannot be to zero if ok_cdnc is activated ', 1)
     2235    ENDIF
    22262236
    22272237    ! ok_cdnc must be set to y if ok_aie is activated
  • LMDZ5/trunk/libf/phylmd/physiq_mod.F90

    r2428 r2443  
    10631063        CALL getin_p('config_inca',config_inca)
    10641064
     1065     ELSE
     1066        config_inca='none' ! default
    10651067     END IF
     1068     
     1069     IF (aerosol_couple .AND. (config_inca /= "aero" .AND. config_inca /= "aeNP ")) THEN
     1070        abort_message = 'if aerosol_couple is activated, config_inca need to be aero or aeNP'
     1071        CALL abort_physic (modname,abort_message,1)
     1072     ENDIF
     1073
     1074
    10661075
    10671076     rnebcon0(:,:) = 0.0
     
    13661375             cell_area, &
    13671376             latitude_deg, &
    1368              longitude_de, &
     1377             longitude_deg, &
    13691378             presnivs, &
    13701379             calday, &
Note: See TracChangeset for help on using the changeset viewer.