Ignore:
Timestamp:
Apr 17, 2020 4:14:16 PM (4 years ago)
Author:
schwenkel
Message:

Implementation of ice microphysics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/init_masks.f90

    r4444 r4502  
    2525! -----------------
    2626! $Id$
     27! Implementation of ice microphysics
     28!
     29! 4444 2020-03-05 15:59:50Z raasch
    2730! bugfix: cpp-directives for serial mode added
    2831!
     
    5861
    5962    USE bulk_cloud_model_mod,                                                  &
    60         ONLY: bulk_cloud_model, microphysics_morrison, microphysics_seifert
     63        ONLY: bulk_cloud_model, microphysics_morrison, microphysics_seifert,   &
     64              microphysics_ice_extension
    6165
    6266    USE control_parameters,                                                    &
     
    268272                unit = '1/m3'
    269273
     274             CASE ( 'ni' )
     275                IF ( .NOT. bulk_cloud_model )  THEN
     276                   WRITE ( message_string, * ) 'output of "', TRIM( var ),     &
     277                        '" requires bulk_cloud_model = .TRUE.'
     278                   CALL message( 'init_masks', 'PA0108', 1, 2, 0, 6, 0 )
     279                 ELSEIF ( .NOT. microphysics_ice_extension ) THEN
     280                   message_string = 'output of "' // TRIM( var ) // '" ' //    &
     281                         'requires  microphysics_ice_extension = .TRUE.'
     282                   CALL message( 'check_parameters', 'PA0359', 1, 2, 0, 6, 0 )
     283                ENDIF
     284                unit = '1/m3'
     285
    270286             CASE ( 'nr' )
    271287                IF ( .NOT. bulk_cloud_model )  THEN
     
    331347                        '" requires bulk_cloud_model = .TRUE.'
    332348                   CALL message( 'init_masks', 'PA0108', 1, 2, 0, 6, 0 )
     349                ENDIF
     350                unit = 'kg/kg'
     351
     352             CASE ( 'qi' )
     353                IF ( .NOT. bulk_cloud_model )  THEN
     354                   message_string = 'output of "' // TRIM( var ) // '" ' //    &
     355                            'requires bulk_cloud_model = .TRUE.'
     356                   CALL message( 'check_parameters', 'PA0108', 1, 2, 0, 6, 0 )
     357                ELSEIF ( .NOT. microphysics_ice_extension ) THEN
     358                   message_string = 'output of "' // TRIM( var ) // '" ' //    &
     359                            'requires microphysics_ice_extension = .TRUE.'
     360                   CALL message( 'check_parameters', 'PA0359', 1, 2, 0, 6, 0 )
    333361                ENDIF
    334362                unit = 'kg/kg'
Note: See TracChangeset for help on using the changeset viewer.