Ignore:
Timestamp:
Mar 20, 2014 8:40:49 AM (10 years ago)
Author:
raasch
Message:

ONLY-attribute added to USE-statements,
kind-parameters added to all INTEGER and REAL declaration statements,
kinds are defined in new module kinds,
old module precision_kind is removed,
revision history before 2012 removed,
comment fields (!:) to be used for variable explanations added to all variable declaration statements

File:
1 edited

Legend:

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

    r1319 r1320  
    2020! Current revisions:
    2121! -----------------
    22 !
     22! ONLY-attribute added to USE-statements,
     23! kind-parameters added to all INTEGER and REAL declaration statements,
     24! kinds are defined in new module kinds,
     25! old module precision_kind is removed,
     26! revision history before 2012 removed,
     27! comment fields (!:) to be used for variable explanations added to
     28! all variable declaration statements
    2329!
    2430! Former revisions:
     
    107113! New cpp directive "__check" implemented which is used by check_namelist_files
    108114!
    109 ! 785 2011-11-28 09:47:19Z raasch
    110 ! +scalar_rayleigh_damping in inipar
    111 !
    112 ! 767 2011-10-14 06:39:12Z raasch
    113 ! +u_profile, v_profile, uv_heights in inipar
    114 !
    115 ! 759 2011-09-15 13:58:31Z raasch
    116 ! +maximum_parallel_io_streams in envpar,
    117 ! splitting of parallel I/O in blocks of PEs
    118 !
    119 ! 683 2011-02-09 14:25:15Z raasch
    120 ! +synchronous_exchange in d3par
    121 !
    122 ! 667 2010-12-23 12:06:00Z suehring/gryschka
    123 ! Steering parameter dissipation_control added in inipar. (commented out)
    124 !
    125 ! 622 2010-12-10 08:08:13Z raasch
    126 ! +collective_wait in inipar
    127 !
    128 ! 600 2010-11-24 16:10:51Z raasch
    129 ! parameters moved from d3par to inipar: call_psolver_at_all_substeps,
    130 ! cfl_factor, cycle_mg, mg_cycles, mg_switch_to_pe0_level, ngsrb, nsor,
    131 ! omega_sor, prandtl_number, psolver, rayleigh_damping_factor,
    132 ! rayleigh_damping_height, residual_limit
    133 !
    134 ! 580 2010-10-05 13:59:11Z heinze
    135 ! Renaming of ws_vertical_gradient to subs_vertical_gradient and
    136 ! ws_vertical_gradient_level to subs_vertical_gradient_level
    137 !
    138 ! 553 2010-09-01 14:09:06Z weinreis
    139 ! parameters for masked output are replaced by arrays
    140 !
    141 ! 493 2010-03-01 08:30:24Z raasch
    142 ! +netcdf_data_format in d3par, -netcdf_64bit, -netcdf_64bit_3d
    143 !
    144 ! 449 2010-02-02 11:23:59Z raasch
    145 ! +wall_humidityflux, wall_scalarflux
    146 ! +ws_vertical_gradient, ws_vertical_gradient_level
    147 !
    148 ! 410 2009-12-04 17:05:40Z letzel
    149 ! masked data output: + dt_domask, mask_01~20_x|y|z, mask_01~20_x|y|z_loop,
    150 ! mask_scale_x|y|z, masks, skip_time_domask
    151 !
    152 ! 291 2009-04-16 12:07:26Z raasch
    153 ! +local_dvrserver_running in envpar
    154 ! Output of messages replaced by message handling routine.
    155 ! +canyon_height, canyon_width_x, canyon_width_y, canyon_wall_left,
    156 ! canyon_wall_south, conserve_volume_flow_mode, coupling_start_time,
    157 ! dp_external, dp_level_b, dp_smooth, dpdxy, u_bulk, v_bulk in inipar
    158 ! topography_grid_convention moved from userpar
    159 !
    160 ! 197 2008-09-16 15:29:03Z raasch
    161 ! +cthf,leaf_surface_concentration, scalar_exchange_coefficient
    162 ! +inflow_damping_height, inflow_damping_width, recycling_width,
    163 ! turbulent_inflow in inipar, -skip_time_dosp in d3par,
    164 ! allocation of hom_sum moved from init_3d_model to here,
    165 ! npex, npey moved from inipar to d3par, setting of myid_char_14 removed,
    166 ! lad is allways allocated
    167 !
    168 ! 138 2007-11-28 10:03:58Z letzel
    169 ! +canopy_mode, drag_coefficient, lad_surface, lad_vertical_gradient,
    170 ! lad_vertical_gradient_level, pch_index, plant_canopy,
    171 ! +allocation of leaf area density field
    172 !
    173 ! 108 2007-08-24 15:10:38Z letzel
    174 ! +e_init, top_momentumflux_u|v in inipar, +dt_coupling in d3par
    175 !
    176 ! 95 2007-06-02 16:48:38Z raasch
    177 ! +bc_sa_t, bottom_salinityflux, ocean, sa_surface, sa_vertical_gradient,
    178 ! sa_vertical_gradient_level, top_salinityflux in inipar,
    179 ! sa_init is allocated
    180 !
    181 ! 87 2007-05-22 15:46:47Z raasch
    182 ! Size of hom increased by the maximum number of user-defined profiles,
    183 ! var_hom renamed pr_palm
    184 !
    185 ! 82 2007-04-16 15:40:52Z raasch
    186 ! +return_addres, return_username in envpar
    187 !
    188 ! 75 2007-03-22 09:54:05Z raasch
    189 ! +dt_max, netcdf_64bit_3d, precipitation_amount_interval in d3par,
    190 ! +loop_optimization, pt_reference in inipar, -data_output_ts,
    191 ! moisture renamed humidity
    192 !
    193 ! 20 2007-02-26 00:12:32Z raasch
    194 ! +top_heatflux, use_top_fluxes in inipar
    195 !
    196 ! 3 2007-02-13 11:30:58Z raasch
    197 ! +netcdf_64bit_3d in d3par,
    198 ! RCS Log replace by Id keyword, revision history cleaned up
    199 !
    200 ! Revision 1.57  2007/02/11 13:11:22  raasch
    201 ! Values of environment variables are now read from file ENVPAR instead of
    202 ! reading them with a system call, + NAMELIST envpar
    203 !
    204115! Revision 1.1  1997/07/24 11:22:50  raasch
    205116! Initial revision
     
    211122!------------------------------------------------------------------------------!
    212123
    213     USE arrays_3d
    214     USE averaging
    215     USE cloud_parameters
    216     USE control_parameters
    217     USE cpulog
    218     USE dvrp_variables
    219     USE grid_variables
    220     USE indices
    221     USE model_1d
     124    USE arrays_3d,                                                             &
     125        ONLY:  lad, pt_init, q_init, ref_state, sa_init, ug, u_init, v_init,   &
     126               vg
     127
     128    USE cloud_parameters,                                                      &
     129        ONLY:  c_sedimentation, curvature_solution_effects,                    &
     130               limiter_sedimentation, nc_const, ventilation_effect
     131
     132    USE control_parameters,                                                    &
     133        ONLY:  alpha_surface, averaging_interval, averaging_interval_pr,       &
     134               bc_e_b, bc_lr, bc_ns, bc_p_b, bc_p_t, bc_pt_b, bc_pt_t,         &
     135               bc_q_b, bc_q_t,bc_s_b, bc_s_t, bc_sa_t, bc_uv_b, bc_uv_t,       &
     136               bottom_salinityflux, building_height, building_length_x,        &
     137               building_length_y, building_wall_left, building_wall_south,     &
     138               call_psolver_at_all_substeps, canopy_mode, canyon_height,       &
     139               canyon_width_x, canyon_width_y, canyon_wall_left,               &
     140               canyon_wall_south, cfl_factor,                                  &
     141               cloud_droplets, cloud_physics, cloud_scheme,                    &
     142               conserve_volume_flow, conserve_volume_flow_mode,                &
     143               coupling_start_time, create_disturbances, cthf, cycle_mg,       &
     144               data_output, data_output_format, data_output_masks,             &
     145               data_output_pr, data_output_2d_on_each_pe,                      &
     146               disturbance_amplitude, disturbance_energy_limit,                &
     147               disturbance_level_b, disturbance_level_t, dissipation_1d,       &
     148               do2d_at_begin, do3d_at_begin, do3d_compress, do3d_comp_prec,    &
     149               dp_external, dp_level_b, dp_smooth, dpdxy, drag_coefficient,    &
     150               drizzle, dt, dz, dt_averaging_input, dt_averaging_input_pr,     &
     151               dt_coupling, dt_data_output, dt_data_output_av, dt_disturb,     &
     152               dt_domask, dt_dopr, dt_dopr_listing, dt_dots, dt_do2d_xy,       &
     153               dt_do2d_xz, dt_do2d_yz, dt_do3d, dt_max, dt_restart,            &
     154               dt_run_control, dz_max, dz_stretch_factor, dz_stretch_level,    &
     155               end_time, e_init, e_min, fft_method, force_print_header,        &
     156               galilei_transformation, host, humidity, inflow_damping_height,  &
     157               inflow_damping_width, inflow_disturbance_begin,                 &
     158               inflow_disturbance_end,  initializing_actions, io_blocks,       &
     159               io_group, km_constant, lad_surface, lad_vertical_gradient,      &
     160               lad_vertical_gradient_level, large_scale_forcing,               &
     161               large_scale_subsidence, leaf_surface_concentration,             &
     162               loop_optimization, masking_method, mask_scale_x, mask_scale_y,  &
     163               mask_scale_z, mask_x, mask_y, mask_z, mask_x_loop,              &
     164               mask_y_loop, mask_z_loop, maximum_cpu_time_allowed,             &
     165               maximum_parallel_io_streams, max_pr_user, message_string,       &
     166               mg_cycles, mg_switch_to_pe0_level, mixing_length_1d,            &
     167               momentum_advec, netcdf_data_format, netcdf_precision, neutral,  &
     168               ngsrb, normalizing_region, nsor, nsor_ini, nudging, ocean,      &
     169               omega, omega_sor, passive_scalar, pch_index, phi, nz_do3d,      &
     170               plant_canopy, prandtl_layer, prandtl_number, precipitation,     &
     171               precipitation_amount_interval, psolver, pt_damping_factor,      &
     172               pt_damping_width, pt_reference, pt_surface,                     &
     173               pt_surface_initial_change, pt_vertical_gradient,                &
     174               pt_vertical_gradient_level, q_surface,                          &
     175               q_surface_initial_change, q_vertical_gradient,                  &
     176               q_vertical_gradient_level, radiation, random_generator,         &
     177               random_heatflux, rayleigh_damping_factor,                       &
     178               rayleigh_damping_height, recycling_width, reference_state,      &
     179               residual_limit, restart_time, return_addres, return_username,   &
     180               revision, rif_max, rif_min, roughness_length, runnr,            &
     181               run_identifier, sa_surface, sa_vertical_gradient,               &
     182               sa_vertical_gradient_level, scalar_advec,                       &
     183               scalar_exchange_coefficient, scalar_rayleigh_damping,           &
     184               section_xy, section_xz, section_yz, skip_time_data_output,      &
     185               skip_time_data_output_av, skip_time_dopr, skip_time_do2d_xy,    &
     186               skip_time_do2d_xz, skip_time_do2d_yz, skip_time_do3d,           &
     187               skip_time_domask, subs_vertical_gradient,                       &
     188               subs_vertical_gradient_level, surface_heatflux,                 &
     189               surface_pressure, surface_scalarflux, surface_waterflux,        &
     190               synchronous_exchange,s_surface, s_surface_initial_change,       &
     191               s_vertical_gradient, s_vertical_gradient_level,                 &
     192               termination_time_needed, timestep_scheme, topography,           &
     193               topography_grid_convention, top_heatflux,  top_momentumflux_u,  &
     194               top_momentumflux_v, top_salinityflux,                           &
     195               transpose_compute_overlap, turbulence, turbulent_inflow,        &
     196               ug_surface, ug_vertical_gradient, ug_vertical_gradient_level,   &
     197               use_surface_fluxes, use_cmax, use_top_fluxes,                   &
     198               use_ug_for_galilei_tr, use_upstream_for_tke, uv_heights,        &
     199               u_bulk, u_profile, vg_surface, vg_vertical_gradient,            &
     200               vg_vertical_gradient_level, v_bulk, v_profile,                  &
     201               wall_adjustment, wall_heatflux, wall_humidityflux,              &
     202               wall_scalarflux, write_binary, z0h_factor, z_max_do2d
     203
     204    USE cpulog,                                                                &
     205        ONLY:  cpu_log_barrierwait
     206
     207    USE dvrp_variables,                                                        &
     208        ONLY:  local_dvrserver_running
     209
     210    USE grid_variables,                                                        &
     211        ONLY:  dx, dy
     212
     213    USE indices,                                                               &
     214        ONLY:  nx, ny, nz
     215
     216    USE model_1d,                                                              &
     217        ONLY:  damp_level_1d, dt_pr_1d, dt_run_control_1d, end_time_1d
     218
    222219    USE pegrid
    223     USE profil_parameter
    224     USE statistics
     220
     221    USE profil_parameter,                                                      &
     222        ONLY:  cross_profiles, cross_ts_uymax, cross_ts_uymin,                 &
     223               profile_columns, profile_rows
     224
     225    USE statistics,                                                            &
     226        ONLY:  hom, hom_sum, pr_palm, region, statistic_regions
    225227
    226228    IMPLICIT NONE
    227229
    228     INTEGER ::  i
     230    INTEGER(iwp) ::  i   !:
    229231
    230232
Note: See TracChangeset for help on using the changeset viewer.