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

Last change on this file since 2152 was 2101, checked in by suehring, 7 years ago

last commit documented

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