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/check_parameters.f90

    r1310 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:
     
    167173! New cpp directive "__check" implemented which is used by check_namelist_files
    168174!
    169 ! 774 2011-10-27 13:34:16Z letzel
    170 ! bugfix for prescribed u,v-profiles
    171 !
    172 ! 767 2011-10-14 06:39:12Z raasch
    173 ! Calculating u,v-profiles from given profiles by linear interpolation.
    174 ! bugfix: dirichlet_0 conditions for ug/vg moved from init_3d_model to here
    175 !
    176 ! 707 2011-03-29 11:39:40Z raasch
    177 ! setting of bc_lr/ns_dirrad/raddir
    178 !
    179 ! 689 2011-02-20 19:31:12z gryschka
    180 ! Bugfix for some logical expressions
    181 ! (syntax was not compatible with all compilers)
    182 !
    183 ! 680 2011-02-04 23:16:06Z gryschka
    184 ! init_vortex is not allowed with volume_flow_control
    185 !
    186 ! 673 2011-01-18 16:19:48Z suehring
    187 ! Declaration of ws_scheme_sca and ws_scheme_mom added (moved from advec_ws).
    188 !
    189 ! 667 2010-12-23 12:06:00Z suehring/gryschka
    190 ! Exchange of parameters between ocean and atmosphere via PE0
    191 ! Check for illegal combination of ws-scheme and timestep scheme.
    192 ! Check for topography and ws-scheme.
    193 ! Check for not cyclic boundary conditions in combination with ws-scheme and
    194 ! loop_optimization = 'vector'.
    195 ! Check for call_psolver_at_all_substeps and ws-scheme for momentum_advec.
    196 ! Different processor/grid topology in atmosphere and ocean is now allowed!
    197 ! Bugfixes in checking for conserve_volume_flow_mode
    198 ! 600 2010-11-24 16:10:51Z raasch
    199 ! change due to new default value of surface_waterflux
    200 ! 580 2010-10-05 13:59:11Z heinze
    201 ! renaming of ws_vertical_gradient_level to subs_vertical_gradient_level
    202 !
    203 ! 567 2010-10-01 10:46:30Z helmke
    204 ! calculating masks changed
    205 !
    206 ! 564 2010-09-30 13:18:59Z helmke
    207 ! palm message identifiers of masked output changed, 20 replaced by max_masks
    208 !
    209 ! 553 2010-09-01 14:09:06Z weinreis
    210 ! masks is calculated and removed from inipar
    211 !
    212 ! 531 2010-04-21 06:47:21Z heinze
    213 ! Bugfix: unit of hyp changed to dbar
    214 !
    215 ! 524 2010-03-30 02:04:51Z raasch
    216 ! Bugfix: "/" in netcdf profile variable names replaced by ":"
    217 !
    218 ! 493 2010-03-01 08:30:24Z raasch
    219 ! netcdf_data_format is checked
    220 !
    221 ! 411 2009-12-11 14:15:58Z heinze
    222 ! Enabled passive scalar/humidity wall fluxes for non-flat topography
    223 ! Initialization of large scale vertical motion (subsidence/ascent)
    224 !
    225 ! 410 2009-12-04 17:05:40Z letzel
    226 ! masked data output
    227 !
    228 ! 388 2009-09-23 09:40:33Z raasch
    229 ! Check profiles fpr prho and hyp.
    230 ! Bugfix: output of averaged 2d/3d quantities requires that an avaraging
    231 ! interval has been set, respective error message is included
    232 ! bc_lr_cyc and bc_ns_cyc are set,
    233 ! initializing_actions='read_data_for_recycling' renamed to 'cyclic_fill'
    234 ! Check for illegal entries in section_xy|xz|yz that exceed nz+1|ny+1|nx+1
    235 ! Coupling with independent precursor runs.
    236 ! Check particle_color, particle_dvrpsize, color_interval, dvrpsize_interval
    237 ! Bugfix: pressure included for profile output
    238 ! Check pressure gradient conditions
    239 ! topography_grid_convention moved from user_check_parameters
    240 ! 'single_street_canyon'
    241 ! Added shf* and qsws* to the list of available output data
    242 !
    243 ! 222 2009-01-12 16:04:16Z letzel
    244 ! +user_check_parameters
    245 ! Output of messages replaced by message handling routine.
    246 ! Implementation of an MPI-1 coupling: replaced myid with target_id,
    247 ! deleted __mpi2 directives
    248 ! Check that PALM is called with mrun -K parallel for coupling
    249 !
    250 ! 197 2008-09-16 15:29:03Z raasch
    251 ! Bug fix: Construction of vertical profiles when 10 gradients have been
    252 ! specified in the parameter list (ug, vg, pt, q, sa, lad)
    253 !   
    254 ! Strict grid matching along z is not needed for mg-solver.
    255 ! Leaf area density (LAD) explicitly set to its surface value at k=0
    256 ! Case of reading data for recycling included in initializing_actions,
    257 ! check of turbulent_inflow and calculation of recycling_plane.
    258 ! q*2 profile added
    259 !
    260 ! 138 2007-11-28 10:03:58Z letzel
    261 ! Plant canopy added
    262 ! Allow new case bc_uv_t = 'dirichlet_0' for channel flow.
    263 ! Multigrid solver allows topography, checking of dt_sort_particles
    264 ! Bugfix: initializing u_init and v_init in case of ocean runs
    265 !
    266 ! 109 2007-08-28 15:26:47Z letzel
    267 ! Check coupling_mode and set default (obligatory) values (like boundary
    268 ! conditions for temperature and fluxes) in case of coupled runs.
    269 ! +profiles for w*p* and w"e
    270 ! Bugfix: Error message concerning output of particle concentration (pc)
    271 ! modified
    272 ! More checks and more default values for coupled runs
    273 ! allow data_output_pr= q, wq, w"q", w*q* for humidity = .T. (instead of
    274 ! cloud_physics = .T.)
    275 ! Rayleigh damping for ocean fixed.
    276 ! Check and, if necessary, set default value for dt_coupling
    277 !
    278 ! 97 2007-06-21 08:23:15Z raasch
    279 ! Initial salinity profile is calculated, salinity boundary conditions are
    280 ! checked,
    281 ! z_max_do1d is checked only in case of ocean = .f.,
    282 ! +initial temperature and geostrophic velocity profiles for the ocean version,
    283 ! use_pt_reference renamed use_reference
    284 !
    285 ! 89 2007-05-25 12:08:31Z raasch
    286 ! Check for user-defined profiles
    287 !
    288 ! 75 2007-03-22 09:54:05Z raasch
    289 ! "by_user" allowed as initializing action, -data_output_ts,
    290 ! leapfrog with non-flat topography not allowed any more, loop_optimization
    291 ! and pt_reference are checked, moisture renamed humidity,
    292 ! output of precipitation amount/rate and roughnes length + check
    293 ! possible negative humidities are avoided in initial profile,
    294 ! dirichlet/neumann changed to dirichlet/radiation, etc.,
    295 ! revision added to run_description_header
    296 !
    297 ! 20 2007-02-26 00:12:32Z raasch
    298 ! Temperature and humidity gradients at top are now calculated for nzt+1,
    299 ! top_heatflux and respective boundary condition bc_pt_t is checked
    300 !
    301 ! RCS Log replace by Id keyword, revision history cleaned up
    302 !
    303 ! Revision 1.61  2006/08/04 14:20:25  raasch
    304 ! do2d_unit and do3d_unit now defined as 2d-arrays, check of
    305 ! use_upstream_for_tke, default value for dt_dopts,
    306 ! generation of file header moved from routines palm and header to here
    307 !
    308175! Revision 1.1  1997/08/26 06:29:23  raasch
    309176! Initial revision
     
    322189    USE grid_variables
    323190    USE indices
     191    USE kinds
    324192    USE model_1d
    325193    USE netcdf_control
     
    335203    IMPLICIT NONE
    336204
    337     CHARACTER (LEN=1)   ::  sq
    338     CHARACTER (LEN=6)   ::  var
    339     CHARACTER (LEN=7)   ::  unit
    340     CHARACTER (LEN=8)   ::  date
    341     CHARACTER (LEN=10)  ::  time
    342     CHARACTER (LEN=40)  ::  coupling_string
    343     CHARACTER (LEN=100) ::  action
    344 
    345     INTEGER ::  i, ilen, iremote = 0, j, k, kk, netcdf_data_format_save, &
    346                 position, prec
    347     LOGICAL ::  found, ldum
    348     REAL    ::  gradient, remote = 0.0, simulation_time_since_reference
     205    CHARACTER (LEN=1)   ::  sq                       !:
     206    CHARACTER (LEN=6)   ::  var                      !:
     207    CHARACTER (LEN=7)   ::  unit                     !:
     208    CHARACTER (LEN=8)   ::  date                     !:
     209    CHARACTER (LEN=10)  ::  time                     !:
     210    CHARACTER (LEN=40)  ::  coupling_string          !:
     211    CHARACTER (LEN=100) ::  action                   !:
     212
     213    INTEGER(iwp) ::  i                               !:
     214    INTEGER(iwp) ::  ilen                            !:
     215    INTEGER(iwp) ::  iremote = 0                     !:
     216    INTEGER(iwp) ::  j                               !:
     217    INTEGER(iwp) ::  k                               !:
     218    INTEGER(iwp) ::  kk                              !:
     219    INTEGER(iwp) ::  netcdf_data_format_save         !:
     220    INTEGER(iwp) ::  position                        !:
     221    INTEGER(iwp) ::  prec                            !:
     222   
     223    LOGICAL     ::  found                            !:
     224    LOGICAL     ::  ldum                             !:
     225   
     226    REAL(wp)    ::  gradient                         !:
     227    REAL(wp)    ::  remote = 0.0                     !:
     228    REAL(wp)    ::  simulation_time_since_reference  !:
    349229
    350230!
Note: See TracChangeset for help on using the changeset viewer.