Ignore:
Timestamp:
Apr 6, 2016 3:44:20 PM (8 years ago)
Author:
maronga
Message:

further modularization of land surface model

File:
1 edited

Legend:

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

    r1789 r1817  
    1919! Current revisions:
    2020! -----------------
    21 !
     21! Reading of &lsmpar moved to land_surface_model_mod.
    2222!
    2323! Former revisions:
     
    129129               vc_alpha, vc_gradient_normals, vc_mode, vc_size_x, vc_size_y,   &
    130130               vc_size_z
    131 
    132     USE land_surface_model_mod,                                                &
    133         ONLY: alpha_vangenuchten, c_surface, canopy_resistance_coefficient,    &
    134               conserve_water_content, field_capacity,                          &
    135               f_shortwave_incoming, hydraulic_conductivity,                    &
    136               lambda_surface_stable, lambda_surface_unstable, leaf_area_index, &
    137               land_surface, l_vangenuchten, min_canopy_resistance,             &
    138               min_soil_resistance, n_vangenuchten, pave_heat_capacity,         &
    139               pave_depth, pave_heat_conductivity, residual_moisture,           &
    140               root_fraction, saturation_moisture, wilting_point,               &
    141               skip_time_do_lsm, soil_moisture, soil_temperature, soil_type,    &
    142               vegetation_coverage, veg_type, zs, z0_eb, z0h_eb, z0q_eb
    143131
    144132    USE kinds
     
    206194                                  vc_gradient_normals, vc_mode, vc_size_x,     &
    207195                                  vc_size_y, vc_size_z
    208 
    209     NAMELIST /lsm_par/            alpha_vangenuchten, c_surface,               &
    210                                   canopy_resistance_coefficient,               &
    211                                   conserve_water_content,                      &
    212                                   f_shortwave_incoming, field_capacity,        &
    213                                   hydraulic_conductivity,                      &
    214                                   lambda_surface_stable,                       &
    215                                   lambda_surface_unstable, leaf_area_index,    &
    216                                   l_vangenuchten, min_canopy_resistance,       &
    217                                   min_soil_resistance, n_vangenuchten,         &
    218                                   pave_depth, pave_heat_capacity,              &
    219                                   pave_heat_conductivity,                      &
    220                                   residual_moisture, root_fraction,            &
    221                                   saturation_moisture, skip_time_do_lsm,       &
    222                                   soil_moisture, soil_temperature, soil_type,  &
    223                                   vegetation_coverage, veg_type, wilting_point,&
    224                                   zs, z0_eb, z0h_eb, z0q_eb
    225 
    226 
    227196
    228197    NAMELIST /particles_par/      alloc_factor, bc_par_b, bc_par_lr,           &
     
    345314 40 CONTINUE
    346315
    347 !
    348 !-- Try to find land surface model package
    349     REWIND ( 11 )
    350     line = ' '
    351     DO   WHILE ( INDEX( line, '&lsm_par' ) == 0 )
    352        READ ( 11, '(A)', END=50 )  line
    353     ENDDO
    354     BACKSPACE ( 11 )
    355 
    356 !
    357 !-- Read user-defined namelist
    358     READ ( 11, lsm_par )
    359 
    360 !
    361 !-- Set flag that indicates that the land surface model is switched on
    362     land_surface = .TRUE.
    363 
    364  50 CONTINUE
    365316
    366317!
Note: See TracChangeset for help on using the changeset viewer.