source: palm/trunk/SOURCE/write_var_list.f90 @ 1484

Last change on this file since 1484 was 1484, checked in by kanani, 10 years ago

New:
---
Subroutine init_plant_canopy added to module plant_canopy_model_mod. (plant_canopy_model)
Alternative method for lad-profile construction added, also, new parameters added.
(header, package_parin, plant_canopy_model, read_var_list, write_var_list)
plant_canopy_model-dependency added to several subroutines. (Makefile)
New package/namelist canopy_par for canopy-related parameters added. (package_parin)

Changed:
---
Code structure of the plant canopy model changed, all canopy-model related code
combined to module plant_canopy_model_mod. (check_parameters, init_3d_model,
modules, timestep)
Module plant_canopy_model_mod added in USE-lists of some subroutines. (check_parameters,
header, init_3d_model, package_parin, read_var_list, user_init_plant_canopy, write_var_list)
Canopy initialization moved to new subroutine init_plant_canopy. (check_parameters,
init_3d_model, plant_canopy_model)
Calculation of canopy timestep-criterion removed, instead, the canopy
drag is now directly limited in the calculation of the canopy tendency terms.
(plant_canopy_model, timestep)
Some parameters renamed. (check_parameters, header, init_plant_canopy,
plant_canopy_model, read_var_list, write_var_list)
Unnecessary 3d-arrays removed. (init_plant_canopy, plant_canopy_model, user_init_plant_canopy)
Parameter checks regarding canopy initialization added. (check_parameters)
All canopy steering parameters moved from namelist inipar to canopy_par. (package_parin, parin)
Some redundant MPI communication removed. (init_plant_canopy)

Bugfix:
---
Missing KIND-attribute for REAL constant added. (check_parameters)
DO-WHILE-loop for lad-profile output restricted. (header)
Removed double-listing of use_upstream_for_tke in ONLY-list of module
control_parameters. (prognostic_equations)

  • Property svn:keywords set to Id
File size: 25.0 KB
Line 
1 SUBROUTINE write_var_list
2
3!--------------------------------------------------------------------------------!
4! This file is part of PALM.
5!
6! PALM is free software: you can redistribute it and/or modify it under the terms
7! of the GNU General Public License as published by the Free Software Foundation,
8! either version 3 of the License, or (at your option) any later version.
9!
10! PALM is distributed in the hope that it will be useful, but WITHOUT ANY
11! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12! A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
13!
14! You should have received a copy of the GNU General Public License along with
15! PALM. If not, see <http://www.gnu.org/licenses/>.
16!
17! Copyright 1997-2014 Leibniz Universitaet Hannover
18!--------------------------------------------------------------------------------!
19!
20! Current revisions:
21! -----------------
22! Changes in the course of the canopy-model modularization:
23!   parameters alpha_lad, beta_lad, lai_beta added,
24!   module plant_canopy_model_mod added,
25!   drag_coefficient, leaf_surface_concentration and scalar_exchange_coefficient
26!   renamed to canopy_drag_coeff, leaf_surface_conc and leaf_scalar_exch_coeff
27!
28! Former revisions:
29! -----------------
30! $Id: write_var_list.f90 1484 2014-10-21 10:53:05Z kanani $
31!
32! 1324 2014-03-21 09:13:16Z suehring
33! Bugfix: ONLY statement for module netcdf_control removed
34!
35! 1320 2014-03-20 08:40:49Z raasch
36! revision history before 2012 removed,
37! comment fields (!:) to be used for variable explanations added to
38! all variable declaration statements
39!
40! 1308 2014-03-13 14:58:42Z fricke
41! +do2d_xy_time_count, do2d_xz_time_count, do2d_yz_time_count,
42! +do3d_time_count
43!
44! 1241 2013-10-30 11:36:58Z heinze
45! +nudging
46! +large_scale_forcing
47!
48! 1179 2013-06-14 05:57:58Z raasch
49! +reference_state, ref_state
50!
51! 1115 2013-03-26 18:16:16Z hoffmann
52! unused variables removed
53!
54! 1065 2012-11-22 17:42:36Z hoffmann
55! +nc, c_sedimentation, turbulence, limiter_sedimentation
56! -mu_constant, mu_constant_value
57!
58! 1053 2012-11-13 17:11:03Z hoffmann
59! necessary expansions according to the two new prognostic equations (nr, qr)
60! of the two-moment cloud physics scheme:
61! +bc_*_b, bc_*_t, bc_*_t_val, *_init, *_surface, *_surface_initial_change,
62! +*_vertical_gradient, *_vertical_gradient_level, *_vertical_gradient_level_ind,
63! +surface_waterflux_*
64!
65! in addition, steering parameters parameters of the two-moment cloud physics
66! scheme:   
67! +cloud_scheme, +drizzle, +mu_constant, +mu_constant_value, +ventilation_effect
68!
69! 1036 2012-10-22 13:43:42Z raasch
70! code put under GPL (PALM 3.9)
71!
72! 1015 2012-09-27 09:23:24Z raasch
73! -adjust_mixing_length
74!
75! 1003 2012-09-14 14:35:53Z raasch
76! -grid_matching
77!
78! 1001 2012-09-13 14:08:46Z raasch
79! -cut_spline_overshoot, last_dt_change, long_filter_factor, overshoot_limit_*,
80! ups_limit_*
81!
82! 978 2012-08-09 08:28:32Z fricke
83! -km_damp_max, outflow_damping_width
84! +pt_damping_factor, pt_damping_width
85! +z0h_factor
86!
87! 940 2012-07-09 14:31:00Z raasch
88! +neutral
89!
90! 927 2012-06-06 19:15:04Z raasch
91! +masking_method
92!
93! 849 2012-03-15 10:35:09Z raasch
94! first_call_advec_particles renamed first_call_lpm
95!
96! 824 2012-02-17 09:09:57Z raasch
97! +curvature_solution_effects
98!
99! Revision 1.1  1998/03/18 20:20:38  raasch
100! Initial revision
101!
102!
103! Description:
104! ------------
105! Writing values of control variables to restart-file (binary format).
106! These informations are only written to the file opened by PE0.
107!------------------------------------------------------------------------------!
108
109    USE arrays_3d,                                                             &
110        ONLY:  inflow_damping_factor, mean_inflow_profiles, pt_init,           &
111               q_init, ref_state, sa_init, u_init, ug, v_init, vg
112   
113    USE cloud_parameters,                                                      &
114        ONLY:  c_sedimentation, curvature_solution_effects,                    &
115               limiter_sedimentation, nc_const, ventilation_effect
116   
117    USE control_parameters
118   
119    USE grid_variables,                                                        &
120        ONLY:  dx, dy
121   
122    USE indices,                                                               &
123        ONLY:  nz, nx, ny
124   
125    USE model_1d,                                                              &
126        ONLY:  damp_level_1d, dt_pr_1d, dt_run_control_1d, end_time_1d
127   
128    USE netcdf_control
129   
130    USE particle_attributes,                                                   &
131        ONLY:  time_sort_particles
132   
133    USE pegrid
134
135    USE plant_canopy_model_mod,                                                &
136        ONLY:  alpha_lad, beta_lad, canopy_drag_coeff, canopy_mode, cthf, lad, &
137               lad_surface, lad_vertical_gradient, lad_vertical_gradient_level,&
138               lad_vertical_gradient_level_ind,                                &
139               lai_beta, leaf_scalar_exch_coeff, leaf_surface_conc, pch_index, &
140               plant_canopy
141   
142    USE statistics,                                                            &
143        ONLY:  statistic_regions, hom, hom_sum, u_max, u_max_ijk, v_max,       &
144               v_max_ijk, w_max, w_max_ijk
145   
146    IMPLICIT NONE
147
148    CHARACTER (LEN=10) ::  binary_version   !:
149
150
151    binary_version = '3.9b'
152
153    WRITE ( 14 )  binary_version
154
155    WRITE ( 14 )  'numprocs                      '
156    WRITE ( 14 )  numprocs
157    WRITE ( 14 )  'hor_index_bounds              '
158    WRITE ( 14 )  hor_index_bounds
159    WRITE ( 14 )  'nz                            '
160    WRITE ( 14 )  nz
161    WRITE ( 14 )  'max_pr_user                   '
162    WRITE ( 14 )  max_pr_user
163    WRITE ( 14 )  'statistic_regions             '
164    WRITE ( 14 )  statistic_regions
165
166!
167!-- Caution: After changes in the following parameter-list, the
168!-- -------  version number stored in the variable binary_version has to be
169!--          increased. The same changes must also be done in the parameter-
170!--          list in read_var_list.
171
172    WRITE ( 14 )  'advected_distance_x           '
173    WRITE ( 14 )  advected_distance_x
174    WRITE ( 14 )  'advected_distance_y           '
175    WRITE ( 14 )  advected_distance_y
176    WRITE ( 14 )  'alpha_lad                     '
177    WRITE ( 14 )  alpha_lad
178    WRITE ( 14 )  'alpha_surface                 '
179    WRITE ( 14 )  alpha_surface
180    WRITE ( 14 )  'average_count_pr              '
181    WRITE ( 14 )  average_count_pr
182    WRITE ( 14 )  'average_count_sp              '
183    WRITE ( 14 )  average_count_sp
184    WRITE ( 14 )  'average_count_3d              '
185    WRITE ( 14 )  average_count_3d
186    WRITE ( 14 )  'bc_e_b                        '
187    WRITE ( 14 )  bc_e_b
188    WRITE ( 14 )  'bc_lr                         '
189    WRITE ( 14 )  bc_lr
190    WRITE ( 14 )  'bc_ns                         '
191    WRITE ( 14 )  bc_ns
192    WRITE ( 14 )  'bc_p_b                        '
193    WRITE ( 14 )  bc_p_b
194    WRITE ( 14 )  'bc_p_t                        '
195    WRITE ( 14 )  bc_p_t
196    WRITE ( 14 )  'bc_pt_b                       '
197    WRITE ( 14 )  bc_pt_b
198    WRITE ( 14 )  'bc_pt_t                       '
199    WRITE ( 14 )  bc_pt_t
200    WRITE ( 14 )  'bc_pt_t_val                   '
201    WRITE ( 14 )  bc_pt_t_val
202    WRITE ( 14 )  'bc_q_b                        '
203    WRITE ( 14 )  bc_q_b
204    WRITE ( 14 )  'bc_q_t                        '
205    WRITE ( 14 )  bc_q_t
206    WRITE ( 14 )  'bc_q_t_val                    '
207    WRITE ( 14 )  bc_q_t_val
208    WRITE ( 14 )  'bc_s_b                        '
209    WRITE ( 14 )  bc_s_b
210    WRITE ( 14 )  'bc_s_t                        '
211    WRITE ( 14 )  bc_s_t
212    WRITE ( 14 )  'bc_sa_t                       '
213    WRITE ( 14 )  bc_sa_t
214    WRITE ( 14 )  'bc_uv_b                       '
215    WRITE ( 14 )  bc_uv_b
216    WRITE ( 14 )  'bc_uv_t                       '
217    WRITE ( 14 )  bc_uv_t
218    WRITE ( 14 )  'beta_lad                      '
219    WRITE ( 14 )  beta_lad
220    WRITE ( 14 )  'bottom_salinityflux           '
221    WRITE ( 14 )  bottom_salinityflux
222    WRITE ( 14 )  'building_height               '
223    WRITE ( 14 )  building_height
224    WRITE ( 14 )  'building_length_x             '
225    WRITE ( 14 )  building_length_x
226    WRITE ( 14 )  'building_length_y             '
227    WRITE ( 14 )  building_length_y
228    WRITE ( 14 )  'building_wall_left            '
229    WRITE ( 14 )  building_wall_left
230    WRITE ( 14 )  'building_wall_south           '
231    WRITE ( 14 )  building_wall_south
232    WRITE ( 14 )  'call_psolver_at_all_substeps  '
233    WRITE ( 14 )  call_psolver_at_all_substeps
234    WRITE ( 14 )  'canopy_drag_coeff              '
235    WRITE ( 14 )  canopy_drag_coeff
236    WRITE ( 14 )  'canopy_mode                   '
237    WRITE ( 14 )  canopy_mode
238    WRITE ( 14 )  'canyon_height                 '
239    WRITE ( 14 )  canyon_height
240    WRITE ( 14 )  'canyon_width_x                '
241    WRITE ( 14 )  canyon_width_x
242    WRITE ( 14 )  'canyon_width_y                '
243    WRITE ( 14 )  canyon_width_y
244    WRITE ( 14 )  'canyon_wall_left              '
245    WRITE ( 14 )  canyon_wall_left
246    WRITE ( 14 )  'canyon_wall_south             '
247    WRITE ( 14 )  canyon_wall_south
248    WRITE ( 14 )  'c_sedimentation               '
249    WRITE ( 14 )  c_sedimentation
250    WRITE ( 14 )  'cfl_factor                    '
251    WRITE ( 14 )  cfl_factor
252    WRITE ( 14 )  'cloud_droplets                '
253    WRITE ( 14 )  cloud_droplets
254    WRITE ( 14 )  'cloud_physics                 '
255    WRITE ( 14 )  cloud_physics
256    WRITE ( 14 )  'cloud_scheme                  '
257    WRITE ( 14 )  cloud_scheme
258    WRITE ( 14 )  'collective_wait               '
259    WRITE ( 14 )  collective_wait
260    WRITE ( 14 )  'conserve_volume_flow          '
261    WRITE ( 14 )  conserve_volume_flow
262    WRITE ( 14 )  'conserve_volume_flow_mode     '
263    WRITE ( 14 )  conserve_volume_flow_mode
264    WRITE ( 14 )  'coupling_start_time           '
265    WRITE ( 14 )  coupling_start_time
266    WRITE ( 14 )  'current_timestep_number       '
267    WRITE ( 14 )  current_timestep_number
268    WRITE ( 14 )  'curvature_solution_effects    '
269    WRITE ( 14 )  curvature_solution_effects
270    WRITE ( 14 )  'cthf                          '
271    WRITE ( 14 )  cthf
272    WRITE ( 14 )  'cycle_mg                      '
273    WRITE ( 14 )  cycle_mg
274    WRITE ( 14 )  'damp_level_1d                 '
275    WRITE ( 14 )  damp_level_1d
276    WRITE ( 14 )  'dissipation_1d                '
277    WRITE ( 14 )  dissipation_1d
278    WRITE ( 14 )  'do2d_xy_time_count            '
279    WRITE ( 14 )  do2d_xy_time_count
280    WRITE ( 14 )  'do2d_xz_time_count            '
281    WRITE ( 14 )  do2d_xz_time_count
282    WRITE ( 14 )  'do2d_yz_time_count            '
283    WRITE ( 14 )  do2d_yz_time_count
284    WRITE ( 14 )  'do3d_time_count               '
285    WRITE ( 14 )  do3d_time_count
286    WRITE ( 14 )  'dp_external                   '
287    WRITE ( 14 )  dp_external
288    WRITE ( 14 )  'dp_level_b                    '
289    WRITE ( 14 )  dp_level_b
290    WRITE ( 14 )  'dp_smooth                     '
291    WRITE ( 14 )  dp_smooth
292    WRITE ( 14 )  'dpdxy                         '
293    WRITE ( 14 )  dpdxy
294    WRITE ( 14 )  'drizzle                       '
295    WRITE ( 14 )  drizzle
296    WRITE ( 14 )  'dt_pr_1d                      '
297    WRITE ( 14 )  dt_pr_1d
298    WRITE ( 14 )  'dt_run_control_1d             '
299    WRITE ( 14 )  dt_run_control_1d
300    WRITE ( 14 )  'dt_3d                         '
301    WRITE ( 14 )  dt_3d
302    WRITE ( 14 )  'dvrp_filecount                '
303    WRITE ( 14 )  dvrp_filecount
304    WRITE ( 14 )  'dx                            '
305    WRITE ( 14 )  dx
306    WRITE ( 14 )  'dy                            '
307    WRITE ( 14 )  dy
308    WRITE ( 14 )  'dz                            '
309    WRITE ( 14 )  dz
310    WRITE ( 14 )  'dz_max                        '
311    WRITE ( 14 )  dz_max
312    WRITE ( 14 )  'dz_stretch_factor             '
313    WRITE ( 14 )  dz_stretch_factor
314    WRITE ( 14 )  'dz_stretch_level              '
315    WRITE ( 14 )  dz_stretch_level
316    WRITE ( 14 )  'e_min                         '
317    WRITE ( 14 )  e_min
318    WRITE ( 14 )  'end_time_1d                   '
319    WRITE ( 14 )  end_time_1d
320    WRITE ( 14 )  'fft_method                    '
321    WRITE ( 14 )  fft_method
322    WRITE ( 14 )  'first_call_lpm                '
323    WRITE ( 14 )  first_call_lpm
324    WRITE ( 14 )  'galilei_transformation        '
325    WRITE ( 14 )  galilei_transformation
326    WRITE ( 14 )  'hom                           '
327    WRITE ( 14 )  hom
328    WRITE ( 14 )  'hom_sum                       '
329    WRITE ( 14 )  hom_sum
330    WRITE ( 14 )  'humidity                      '
331    WRITE ( 14 )  humidity
332    IF ( ALLOCATED( inflow_damping_factor ) )  THEN
333       WRITE ( 14 )  'inflow_damping_factor         '
334       WRITE ( 14 )  inflow_damping_factor
335    ENDIF
336    WRITE ( 14 )  'inflow_damping_height         '
337    WRITE ( 14 )  inflow_damping_height
338    WRITE ( 14 )  'inflow_damping_width          '
339    WRITE ( 14 )  inflow_damping_width
340    WRITE ( 14 )  'inflow_disturbance_begin      '
341    WRITE ( 14 )  inflow_disturbance_begin
342    WRITE ( 14 )  'inflow_disturbance_end        '
343    WRITE ( 14 )  inflow_disturbance_end
344    WRITE ( 14 )  'km_constant                   '
345    WRITE ( 14 )  km_constant
346    WRITE ( 14 )  'lad                           '
347    WRITE ( 14 )  lad
348    WRITE ( 14 )  'lad_surface                   '
349    WRITE ( 14 )  lad_surface
350    WRITE ( 14 )  'lad_vertical_gradient         '
351    WRITE ( 14 )  lad_vertical_gradient
352    WRITE ( 14 )  'lad_vertical_gradient_level   '
353    WRITE ( 14 )  lad_vertical_gradient_level
354    WRITE ( 14 )  'lad_vertical_gradient_level_in'
355    WRITE ( 14 )  lad_vertical_gradient_level_ind
356    WRITE ( 14 )  'lai_beta                      '
357    WRITE ( 14 )  lai_beta
358    WRITE ( 14 )  'large_scale_forcing           '
359    WRITE ( 14 )  large_scale_forcing
360    WRITE ( 14 )  'large_scale_subsidence        '
361    WRITE ( 14 )  large_scale_subsidence
362    WRITE ( 14 )  'leaf_scalar_exch_coeff   '
363    WRITE ( 14 )  leaf_scalar_exch_coeff
364    WRITE ( 14 )  'leaf_surface_conc    '
365    WRITE ( 14 )  leaf_surface_conc
366    WRITE ( 14 )  'limiter_sedimentation         '
367    WRITE ( 14 )  limiter_sedimentation
368    WRITE ( 14 )  'loop_optimization             '
369    WRITE ( 14 )  loop_optimization
370    WRITE ( 14 )  'masking_method                '
371    WRITE ( 14 )  masking_method
372    IF ( ALLOCATED( mean_inflow_profiles ) )  THEN
373       WRITE ( 14 )  'mean_inflow_profiles          '
374       WRITE ( 14 )  mean_inflow_profiles
375    ENDIF
376    WRITE ( 14 )  'mg_cycles                     '
377    WRITE ( 14 )  mg_cycles
378    WRITE ( 14 )  'mg_switch_to_pe0_level        '
379    WRITE ( 14 )  mg_switch_to_pe0_level
380    WRITE ( 14 )  'mixing_length_1d              '
381    WRITE ( 14 )  mixing_length_1d
382    WRITE ( 14 )  'momentum_advec                '
383    WRITE ( 14 )  momentum_advec
384    WRITE ( 14 )  'nc_const                      '
385    WRITE ( 14 )  nc_const
386    WRITE ( 14 )  'netcdf_precision              '
387    WRITE ( 14 )  netcdf_precision
388    WRITE ( 14 )  'neutral                       '
389    WRITE ( 14 )  neutral
390    WRITE ( 14 )  'ngsrb                         '
391    WRITE ( 14 )  ngsrb
392    WRITE ( 14 )  'nsor                          '
393    WRITE ( 14 )  nsor
394    WRITE ( 14 )  'nsor_ini                      '
395    WRITE ( 14 )  nsor_ini
396    WRITE ( 14 )  'nudging                       '
397    WRITE ( 14 )  nudging
398    WRITE ( 14 )  'nx                            '
399    WRITE ( 14 )  nx
400    WRITE ( 14 )  'ny                            '
401    WRITE ( 14 )  ny
402    WRITE ( 14 )  'ocean                         '
403    WRITE ( 14 )  ocean
404    WRITE ( 14 )  'old_dt                        '
405    WRITE ( 14 )  old_dt
406    WRITE ( 14 )  'omega                         '
407    WRITE ( 14 )  omega
408    WRITE ( 14 )  'omega_sor                     '
409    WRITE ( 14 )  omega_sor
410    WRITE ( 14 )  'output_for_t0                 '
411    WRITE ( 14 )  output_for_t0
412    WRITE ( 14 )  'passive_scalar                '
413    WRITE ( 14 )  passive_scalar
414    WRITE ( 14 )  'pch_index                     '
415    WRITE ( 14 )  pch_index
416    WRITE ( 14 )  'phi                           '
417    WRITE ( 14 )  phi
418    WRITE ( 14 )  'plant_canopy                  '
419    WRITE ( 14 )  plant_canopy
420    WRITE ( 14 )  'prandtl_layer                 '
421    WRITE ( 14 )  prandtl_layer
422    WRITE ( 14 )  'prandtl_number                '
423    WRITE ( 14 )  prandtl_number
424    WRITE ( 14 )  'precipitation                 '
425    WRITE ( 14 )  precipitation
426    WRITE ( 14 )  'psolver                       '
427    WRITE ( 14 )  psolver
428    WRITE ( 14 )  'pt_damping_factor             '
429    WRITE ( 14 )  pt_damping_factor
430    WRITE ( 14 )  'pt_damping_width              '
431    WRITE ( 14 )  pt_damping_width
432    WRITE ( 14 )  'pt_init                       '
433    WRITE ( 14 )  pt_init
434    WRITE ( 14 )  'pt_reference                  '
435    WRITE ( 14 )  pt_reference
436    WRITE ( 14 )  'pt_surface                    '
437    WRITE ( 14 )  pt_surface
438    WRITE ( 14 )  'pt_surface_initial_change     '
439    WRITE ( 14 )  pt_surface_initial_change
440    WRITE ( 14 )  'pt_vertical_gradient          '
441    WRITE ( 14 )  pt_vertical_gradient
442    WRITE ( 14 )  'pt_vertical_gradient_level    '
443    WRITE ( 14 )  pt_vertical_gradient_level
444    WRITE ( 14 )  'pt_vertical_gradient_level_ind'
445    WRITE ( 14 )  pt_vertical_gradient_level_ind
446    WRITE ( 14 )  'q_init                        '
447    WRITE ( 14 )  q_init
448    WRITE ( 14 )  'q_surface                     '
449    WRITE ( 14 )  q_surface
450    WRITE ( 14 )  'q_surface_initial_change      '
451    WRITE ( 14 )  q_surface_initial_change
452    WRITE ( 14 )  'q_vertical_gradient           '
453    WRITE ( 14 )  q_vertical_gradient
454    WRITE ( 14 )  'q_vertical_gradient_level     '
455    WRITE ( 14 )  q_vertical_gradient_level
456    WRITE ( 14 )  'q_vertical_gradient_level_ind '
457    WRITE ( 14 )  q_vertical_gradient_level_ind
458    WRITE ( 14 )  'radiation                     '
459    WRITE ( 14 )  radiation
460    WRITE ( 14 )  'random_generator              '
461    WRITE ( 14 )  random_generator
462    WRITE ( 14 )  'random_heatflux               '
463    WRITE ( 14 )  random_heatflux
464    WRITE ( 14 )  'rayleigh_damping_factor       '
465    WRITE ( 14 )  rayleigh_damping_factor
466    WRITE ( 14 )  'rayleigh_damping_height       '
467    WRITE ( 14 )  rayleigh_damping_height
468    WRITE ( 14 )  'recycling_width               '
469    WRITE ( 14 )  recycling_width
470    WRITE ( 14 )  'reference_state               '
471    WRITE ( 14 )  reference_state
472    WRITE ( 14 )  'ref_state                     '
473    WRITE ( 14 )  ref_state
474    WRITE ( 14 )  'residual_limit                '
475    WRITE ( 14 )  residual_limit
476    WRITE ( 14 )  'rif_max                       '
477    WRITE ( 14 )  rif_max
478    WRITE ( 14 )  'rif_min                       '
479    WRITE ( 14 )  rif_min
480    WRITE ( 14 )  'roughness_length              '
481    WRITE ( 14 )  roughness_length
482    WRITE ( 14 )  'runnr                         '
483    WRITE ( 14 )  runnr
484    WRITE ( 14 )  'run_coupled                   '
485    WRITE ( 14 )  run_coupled
486    WRITE ( 14 )  'sa_init                       '
487    WRITE ( 14 )  sa_init
488    WRITE ( 14 )  'sa_surface                    '
489    WRITE ( 14 )  sa_surface
490    WRITE ( 14 )  'sa_vertical_gradient          '
491    WRITE ( 14 )  sa_vertical_gradient
492    WRITE ( 14 )  'sa_vertical_gradient_level    '
493    WRITE ( 14 )  sa_vertical_gradient_level
494    WRITE ( 14 )  'scalar_advec                  '
495    WRITE ( 14 )  scalar_advec
496    WRITE ( 14 )  'simulated_time                '
497    WRITE ( 14 )  simulated_time
498    WRITE ( 14 )  'surface_heatflux              '
499    WRITE ( 14 )  surface_heatflux
500    WRITE ( 14 )  'surface_pressure              '
501    WRITE ( 14 )  surface_pressure
502    WRITE ( 14 )  'surface_scalarflux            '
503    WRITE ( 14 )  surface_scalarflux   
504    WRITE ( 14 )  'surface_waterflux             '
505    WRITE ( 14 )  surface_waterflux   
506    WRITE ( 14 )  's_surface                     '
507    WRITE ( 14 )  s_surface
508    WRITE ( 14 )  's_surface_initial_change      '
509    WRITE ( 14 )  s_surface_initial_change
510    WRITE ( 14 )  's_vertical_gradient           '
511    WRITE ( 14 )  s_vertical_gradient
512    WRITE ( 14 )  's_vertical_gradient_level     '
513    WRITE ( 14 )  s_vertical_gradient_level
514    WRITE ( 14 )  'time_coupling                 '
515    WRITE ( 14 )  time_coupling
516    WRITE ( 14 )  'time_disturb                  '
517    WRITE ( 14 )  time_disturb
518    WRITE ( 14 )  'time_domask                   '
519    WRITE ( 14 )  time_domask
520    WRITE ( 14 )  'time_dopr                     '
521    WRITE ( 14 )  time_dopr
522    WRITE ( 14 )  'time_dopr_av                  '
523    WRITE ( 14 )  time_dopr_av
524    WRITE ( 14 )  'time_dopr_listing             '
525    WRITE ( 14 )  time_dopr_listing
526    WRITE ( 14 )  'time_dopts                    '
527    WRITE ( 14 )  time_dopts
528    WRITE ( 14 )  'time_dosp                     '
529    WRITE ( 14 )  time_dosp
530    WRITE ( 14 )  'time_dots                     '
531    WRITE ( 14 )  time_dots
532    WRITE ( 14 )  'time_do2d_xy                  '
533    WRITE ( 14 )  time_do2d_xy
534    WRITE ( 14 )  'time_do2d_xz                  '
535    WRITE ( 14 )  time_do2d_xz
536    WRITE ( 14 )  'time_do2d_yz                  '
537    WRITE ( 14 )  time_do2d_yz
538    WRITE ( 14 )  'time_do3d                     '
539    WRITE ( 14 )  time_do3d
540    WRITE ( 14 )  'time_do_av                    '
541    WRITE ( 14 )  time_do_av
542    WRITE ( 14 )  'time_do_sla                   '
543    WRITE ( 14 )  time_do_sla
544    WRITE ( 14 )  'time_dvrp                     '
545    WRITE ( 14 )  time_dvrp
546    WRITE ( 14 )  'time_restart                  '
547    WRITE ( 14 )  time_restart
548    WRITE ( 14 )  'time_run_control              '
549    WRITE ( 14 )  time_run_control
550    WRITE ( 14 )  'time_since_reference_point    '
551    WRITE ( 14 )  time_since_reference_point
552    WRITE ( 14 )  'time_sort_particles           '
553    WRITE ( 14 )  time_sort_particles
554    WRITE ( 14 )  'timestep_scheme               '
555    WRITE ( 14 )  timestep_scheme
556    WRITE ( 14 )  'topography                    '
557    WRITE ( 14 )  topography
558    WRITE ( 14 )  'topography_grid_convention    '
559    WRITE ( 14 )  topography_grid_convention
560    WRITE ( 14 )  'top_heatflux                  '
561    WRITE ( 14 )  top_heatflux
562    WRITE ( 14 )  'top_momentumflux_u            '
563    WRITE ( 14 )  top_momentumflux_u
564    WRITE ( 14 )  'top_momentumflux_v            '
565    WRITE ( 14 )  top_momentumflux_v
566    WRITE ( 14 )  'top_salinityflux              '
567    WRITE ( 14 )  top_salinityflux
568    WRITE ( 14 )  'tsc                           '
569    WRITE ( 14 )  tsc
570    WRITE ( 14 )  'turbulence                    '
571    WRITE ( 14 )  turbulence
572    WRITE ( 14 )  'turbulent_inflow              '
573    WRITE ( 14 )  turbulent_inflow
574    WRITE ( 14 )  'u_bulk                        '
575    WRITE ( 14 )  u_bulk
576    WRITE ( 14 )  'u_init                        '
577    WRITE ( 14 )  u_init
578    WRITE ( 14 )  'u_max                         '
579    WRITE ( 14 )  u_max
580    WRITE ( 14 )  'u_max_ijk                     '
581    WRITE ( 14 )  u_max_ijk
582    WRITE ( 14 )  'ug                            '
583    WRITE ( 14 )  ug
584    WRITE ( 14 )  'ug_surface                    '
585    WRITE ( 14 )  ug_surface
586    WRITE ( 14 )  'ug_vertical_gradient          '
587    WRITE ( 14 )  ug_vertical_gradient
588    WRITE ( 14 )  'ug_vertical_gradient_level    '
589    WRITE ( 14 )  ug_vertical_gradient_level
590    WRITE ( 14 )  'ug_vertical_gradient_level_ind'
591    WRITE ( 14 )  ug_vertical_gradient_level_ind
592    WRITE ( 14 )  'use_surface_fluxes            '
593    WRITE ( 14 )  use_surface_fluxes
594    WRITE ( 14 )  'use_top_fluxes                '
595    WRITE ( 14 )  use_top_fluxes
596    WRITE ( 14 )  'use_ug_for_galilei_tr         '
597    WRITE ( 14 )  use_ug_for_galilei_tr
598    WRITE ( 14 )  'use_upstream_for_tke          '
599    WRITE ( 14 )  use_upstream_for_tke
600    WRITE ( 14 )  'v_bulk                        '
601    WRITE ( 14 )  v_bulk
602    WRITE ( 14 )  'v_init                        '
603    WRITE ( 14 )  v_init
604    WRITE ( 14 )  'v_max                         '
605    WRITE ( 14 )  v_max
606    WRITE ( 14 )  'v_max_ijk                     '
607    WRITE ( 14 )  v_max_ijk
608    WRITE ( 14 )  'ventilation_effect            '
609    WRITE ( 14 )  ventilation_effect
610    WRITE ( 14 )  'vg                            '
611    WRITE ( 14 )  vg
612    WRITE ( 14 )  'vg_surface                    '
613    WRITE ( 14 )  vg_surface
614    WRITE ( 14 )  'vg_vertical_gradient          '
615    WRITE ( 14 )  vg_vertical_gradient
616    WRITE ( 14 )  'vg_vertical_gradient_level    '
617    WRITE ( 14 )  vg_vertical_gradient_level
618    WRITE ( 14 )  'vg_vertical_gradient_level_ind'
619    WRITE ( 14 )  vg_vertical_gradient_level_ind
620    WRITE ( 14 )  'volume_flow_area              '
621    WRITE ( 14 )  volume_flow_area
622    WRITE ( 14 )  'volume_flow_initial           '
623    WRITE ( 14 )  volume_flow_initial
624    WRITE ( 14 )  'wall_adjustment               '
625    WRITE ( 14 )  wall_adjustment
626    WRITE ( 14 )  'subs_vertical_gradient        '
627    WRITE ( 14 )  subs_vertical_gradient
628    WRITE ( 14 )  'subs_vertical_gradient_level  '
629    WRITE ( 14 )  subs_vertical_gradient_level
630    WRITE ( 14 )  'subs_vertical_gradient_level_i'
631    WRITE ( 14 )  subs_vertical_gradient_level_i
632    WRITE ( 14 )  'w_max                         '
633    WRITE ( 14 )  w_max
634    WRITE ( 14 )  'w_max_ijk                     '
635    WRITE ( 14 )  w_max_ijk
636    WRITE ( 14 )  'z0h_factor                    '
637    WRITE ( 14 )  z0h_factor
638
639!
640!-- Set the end-of-file mark
641    WRITE ( 14 )  '*** end ***                   '
642
643
644 END SUBROUTINE write_var_list
Note: See TracBrowser for help on using the repository browser.