source: palm/trunk/SOURCE/header.f90 @ 130

Last change on this file since 130 was 130, checked in by letzel, 16 years ago

DVRP output modifications:

  • The user can now visualize user-defined quantities using dvrp.

data_output_dvrp calls the new user_interface subroutine
user_data_output_dvrp in case of unknown variables (CASE DEFAULT).

  • Two instead of one digit are allowed to specify isosurface and slicer

variables with the parameter mode_dvrp.

  • Property svn:keywords set to Id
File size: 59.0 KB
Line 
1 SUBROUTINE header
2
3!------------------------------------------------------------------------------!
4! Actual revisions:
5! -----------------
6! allow two instead of one digit to specify isosurface and slicer variables
7! Output of sorting frequency of particles
8!
9! Former revisions:
10! -----------------
11! $Id: header.f90 130 2007-11-13 14:08:40Z letzel $
12!
13! 108 2007-08-24 15:10:38Z letzel
14! Output of informations for coupled model runs (boundary conditions etc.)
15! + output of momentumfluxes at the top boundary
16! Rayleigh damping for ocean, e_init
17!
18! 97 2007-06-21 08:23:15Z raasch
19! Adjustments for the ocean version.
20! use_pt_reference renamed use_reference
21!
22! 87 2007-05-22 15:46:47Z raasch
23! Bugfix: output of use_upstream_for_tke
24!
25! 82 2007-04-16 15:40:52Z raasch
26! Preprocessor strings for different linux clusters changed to "lc",
27! routine local_flush is used for buffer flushing
28!
29! 76 2007-03-29 00:58:32Z raasch
30! Output of netcdf_64bit_3d, particles-package is now part of the default code,
31! output of the loop optimization method, moisture renamed humidity,
32! output of subversion revision number
33!
34! 19 2007-02-23 04:53:48Z raasch
35! Output of scalar flux applied at top boundary
36!
37! RCS Log replace by Id keyword, revision history cleaned up
38!
39! Revision 1.63  2006/08/22 13:53:13  raasch
40! Output of dz_max
41!
42! Revision 1.1  1997/08/11 06:17:20  raasch
43! Initial revision
44!
45!
46! Description:
47! ------------
48! Writing a header with all important informations about the actual run.
49! This subroutine is called three times, two times at the beginning
50! (writing information on files RUN_CONTROL and HEADER) and one time at the
51! end of the run, then writing additional information about CPU-usage on file
52! header.
53!------------------------------------------------------------------------------!
54
55    USE arrays_3d
56    USE control_parameters
57    USE cloud_parameters
58    USE cpulog
59    USE dvrp_variables
60    USE grid_variables
61    USE indices
62    USE model_1d
63    USE particle_attributes
64    USE pegrid
65    USE spectrum
66
67    IMPLICIT NONE
68
69    CHARACTER (LEN=1)  ::  prec
70    CHARACTER (LEN=2)  ::  do2d_mode
71    CHARACTER (LEN=5)  ::  section_chr
72    CHARACTER (LEN=9)  ::  time_to_string
73    CHARACTER (LEN=10) ::  coor_chr, host_chr
74    CHARACTER (LEN=16) ::  begin_chr
75    CHARACTER (LEN=21) ::  ver_rev
76    CHARACTER (LEN=40) ::  output_format
77    CHARACTER (LEN=70) ::  char1, char2, coordinates, gradients, dopr_chr, &
78                           do2d_xy, do2d_xz, do2d_yz, do3d_chr, &
79                           run_classification, slices, temperatures, &
80                           ugcomponent, vgcomponent
81    CHARACTER (LEN=85) ::  roben, runten
82
83    INTEGER ::  av, bh, blx, bly, bxl, bxr, byn, bys, i, ihost, io, j, l, ll
84    REAL    ::  cpuseconds_per_simulated_second
85
86!
87!-- Open the output file. At the end of the simulation, output is directed
88!-- to unit 19.
89    IF ( ( runnr == 0 .OR. force_print_header )  .AND. &
90         .NOT. simulated_time_at_begin /= simulated_time )  THEN
91       io = 15   !  header output on file RUN_CONTROL
92    ELSE
93       io = 19   !  header output on file HEADER
94    ENDIF
95    CALL check_open( io )
96
97!
98!-- At the end of the run, output file (HEADER) will be rewritten with
99!-- new informations
100    IF ( io == 19 .AND. simulated_time_at_begin /= simulated_time ) REWIND( 19 )
101
102!
103!-- Determine kind of model run
104    IF ( TRIM( initializing_actions ) == 'read_restart_data' )  THEN
105       run_classification = '3D - restart run'
106    ELSE
107       IF ( INDEX( initializing_actions, 'set_constant_profiles' ) /= 0 )  THEN
108          run_classification = '3D - run without 1D - prerun'
109       ELSEIF ( INDEX(initializing_actions, 'set_1d-model_profiles') /= 0 ) THEN
110          run_classification = '3D - run with 1D - prerun'
111       ELSE
112          PRINT*,'+++ header:  unknown action(s): ',initializing_actions
113       ENDIF
114    ENDIF
115    IF ( ocean )  THEN
116       run_classification = 'ocean - ' // run_classification
117    ELSE
118       run_classification = 'atmosphere - ' // run_classification
119    ENDIF
120
121!
122!-- Run-identification, date, time, host
123    host_chr = host(1:10)
124    ver_rev = TRIM( version ) // '  ' // TRIM( revision )
125    WRITE ( io, 100 )  ver_rev, TRIM( run_classification )
126    IF ( coupling_mode /= 'uncoupled' )  WRITE ( io, 101 )  coupling_mode
127    WRITE ( io, 102 )  run_date, run_identifier, run_time, runnr, &
128                       ADJUSTR( host_chr )
129#if defined( __parallel )
130    IF ( npex == -1  .AND.  pdims(2) /= 1 )  THEN
131       char1 = 'calculated'
132    ELSEIF ( ( host(1:3) == 'ibm'  .OR.  host(1:3) == 'nec'  .OR.  &
133               host(1:2) == 'lc' )  .AND.                          &
134             npex == -1  .AND.  pdims(2) == 1 )  THEN
135       char1 = 'forced'
136    ELSE
137       char1 = 'predefined'
138    ENDIF
139    IF ( threads_per_task == 1 )  THEN
140       WRITE ( io, 103 )  numprocs, pdims(1), pdims(2), TRIM( char1 )
141    ELSE
142       WRITE ( io, 104 )  numprocs*threads_per_task, numprocs, &
143                          threads_per_task, pdims(1), pdims(2), TRIM( char1 )
144    ENDIF
145    IF ( ( host(1:3) == 'ibm'  .OR.  host(1:3) == 'nec'  .OR.    &
146           host(1:2) == 'lc'   .OR.  host(1:3) == 'dec' )  .AND. &
147         npex == -1  .AND.  pdims(2) == 1 )                      &
148    THEN
149       WRITE ( io, 106 )
150    ELSEIF ( pdims(2) == 1 )  THEN
151       WRITE ( io, 107 )  'x'
152    ELSEIF ( pdims(1) == 1 )  THEN
153       WRITE ( io, 107 )  'y'
154    ENDIF
155    IF ( use_seperate_pe_for_dvrp_output )  WRITE ( io, 105 )
156#endif
157    WRITE ( io, 99 )
158
159!
160!-- Numerical schemes
161    WRITE ( io, 110 )
162    IF ( psolver(1:7) == 'poisfft' )  THEN
163       WRITE ( io, 111 )  TRIM( fft_method )
164       IF ( psolver == 'poisfft_hybrid' )  WRITE ( io, 138 )
165    ELSEIF ( psolver == 'sor' )  THEN
166       WRITE ( io, 112 )  nsor_ini, nsor, omega_sor
167    ELSEIF ( psolver == 'multigrid' )  THEN
168       WRITE ( io, 135 )  cycle_mg, maximum_grid_level, ngsrb
169       IF ( mg_cycles == -1 )  THEN
170          WRITE ( io, 140 )  residual_limit
171       ELSE
172          WRITE ( io, 141 )  mg_cycles
173       ENDIF
174       IF ( mg_switch_to_pe0_level == 0 )  THEN
175          WRITE ( io, 136 )  nxr_mg(1)-nxl_mg(1)+1, nyn_mg(1)-nys_mg(1)+1, &
176                             nzt_mg(1)
177       ELSE
178          WRITE ( io, 137 )  mg_switch_to_pe0_level,            &
179                             mg_loc_ind(2,0)-mg_loc_ind(1,0)+1, &
180                             mg_loc_ind(4,0)-mg_loc_ind(3,0)+1, &
181                             nzt_mg(mg_switch_to_pe0_level),    &
182                             nxr_mg(1)-nxl_mg(1)+1, nyn_mg(1)-nys_mg(1)+1, &
183                             nzt_mg(1)
184       ENDIF
185    ENDIF
186    IF ( call_psolver_at_all_substeps  .AND. timestep_scheme(1:5) == 'runge' ) &
187    THEN
188       WRITE ( io, 142 )
189    ENDIF
190
191    IF ( momentum_advec == 'pw-scheme' )  THEN
192       WRITE ( io, 113 )
193    ELSE
194       WRITE ( io, 114 )
195       IF ( cut_spline_overshoot )  WRITE ( io, 124 )
196       IF ( overshoot_limit_u /= 0.0  .OR.  overshoot_limit_v /= 0.0  .OR. &
197            overshoot_limit_w /= 0.0 )  THEN
198          WRITE ( io, 127 )  overshoot_limit_u, overshoot_limit_v, &
199                             overshoot_limit_w
200       ENDIF
201       IF ( ups_limit_u /= 0.0  .OR.  ups_limit_v /= 0.0  .OR. &
202            ups_limit_w /= 0.0 )                               &
203       THEN
204          WRITE ( io, 125 )  ups_limit_u, ups_limit_v, ups_limit_w
205       ENDIF
206       IF ( long_filter_factor /= 0.0 )  WRITE ( io, 115 )  long_filter_factor
207    ENDIF
208    IF ( scalar_advec == 'pw-scheme' )  THEN
209       WRITE ( io, 116 )
210    ELSEIF ( scalar_advec == 'ups-scheme' )  THEN
211       WRITE ( io, 117 )
212       IF ( cut_spline_overshoot )  WRITE ( io, 124 )
213       IF ( overshoot_limit_e /= 0.0  .OR.  overshoot_limit_pt /= 0.0 )  THEN
214          WRITE ( io, 128 )  overshoot_limit_e, overshoot_limit_pt
215       ENDIF
216       IF ( ups_limit_e /= 0.0  .OR.  ups_limit_pt /= 0.0 )  THEN
217          WRITE ( io, 126 )  ups_limit_e, ups_limit_pt
218       ENDIF
219    ELSE
220       WRITE ( io, 118 )
221    ENDIF
222
223    WRITE ( io, 139 )  TRIM( loop_optimization )
224
225    IF ( galilei_transformation )  THEN
226       IF ( use_ug_for_galilei_tr )  THEN
227          char1 = 'geostrophic wind'
228       ELSE
229          char1 = 'mean wind in model domain'
230       ENDIF
231       IF ( simulated_time_at_begin == simulated_time )  THEN
232          char2 = 'at the start of the run'
233       ELSE
234          char2 = 'at the end of the run'
235       ENDIF
236       WRITE ( io, 119 )  TRIM( char1 ), TRIM( char2 ), &
237                          advected_distance_x/1000.0, advected_distance_y/1000.0
238    ENDIF
239    IF ( timestep_scheme == 'leapfrog' )  THEN
240       WRITE ( io, 120 )
241    ELSEIF ( timestep_scheme == 'leapfrog+euler' )  THEN
242       WRITE ( io, 121 )
243    ELSE
244       WRITE ( io, 122 )  timestep_scheme
245    ENDIF
246    IF ( use_upstream_for_tke )  WRITE ( io, 143 )
247    IF ( rayleigh_damping_factor /= 0.0 )  THEN
248       IF ( .NOT. ocean )  THEN
249          WRITE ( io, 123 )  'above', rayleigh_damping_height, &
250               rayleigh_damping_factor
251       ELSE
252          WRITE ( io, 123 )  'below', rayleigh_damping_height, &
253               rayleigh_damping_factor
254       ENDIF
255    ENDIF
256    IF ( humidity )  THEN
257       IF ( .NOT. cloud_physics )  THEN
258          WRITE ( io, 129 )
259       ELSE
260          WRITE ( io, 130 )
261          WRITE ( io, 131 )
262          IF ( radiation )      WRITE ( io, 132 )
263          IF ( precipitation )  WRITE ( io, 133 )
264       ENDIF
265    ENDIF
266    IF ( passive_scalar )  WRITE ( io, 134 )
267    IF ( conserve_volume_flow )  WRITE ( io, 150 )
268    WRITE ( io, 99 )
269
270!
271!-- Runtime and timestep informations
272    WRITE ( io, 200 )
273    IF ( .NOT. dt_fixed )  THEN
274       WRITE ( io, 201 )  dt_max, cfl_factor
275    ELSE
276       WRITE ( io, 202 )  dt
277    ENDIF
278    WRITE ( io, 203 )  simulated_time_at_begin, end_time
279
280    IF ( time_restart /= 9999999.9  .AND. &
281         simulated_time_at_begin == simulated_time )  THEN
282       IF ( dt_restart == 9999999.9 )  THEN
283          WRITE ( io, 204 )  ' Restart at:       ',time_restart
284       ELSE
285          WRITE ( io, 205 )  ' Restart at:       ',time_restart, dt_restart
286       ENDIF
287    ENDIF
288
289    IF ( simulated_time_at_begin /= simulated_time )  THEN
290       i = MAX ( log_point_s(10)%counts, 1 )
291       IF ( ( simulated_time - simulated_time_at_begin ) == 0.0 )  THEN
292          cpuseconds_per_simulated_second = 0.0
293       ELSE
294          cpuseconds_per_simulated_second = log_point_s(10)%sum / &
295                                            ( simulated_time -    &
296                                              simulated_time_at_begin )
297       ENDIF
298       WRITE ( io, 206 )  simulated_time, log_point_s(10)%sum, &
299                          log_point_s(10)%sum / REAL( i ),     &
300                          cpuseconds_per_simulated_second
301       IF ( time_restart /= 9999999.9  .AND.  time_restart < end_time )  THEN
302          IF ( dt_restart == 9999999.9 )  THEN
303             WRITE ( io, 204 )  ' Next restart at:  ',time_restart
304          ELSE
305             WRITE ( io, 205 )  ' Next restart at:  ',time_restart, dt_restart
306          ENDIF
307       ENDIF
308    ENDIF
309
310!
311!-- Computational grid
312    IF ( .NOT. ocean )  THEN
313       WRITE ( io, 250 )  dx, dy, dz, (nx+1)*dx, (ny+1)*dy, zu(nzt+1)
314       IF ( dz_stretch_level_index < nzt+1 )  THEN
315          WRITE ( io, 252 )  dz_stretch_level, dz_stretch_level_index, &
316                             dz_stretch_factor, dz_max
317       ENDIF
318    ELSE
319       WRITE ( io, 250 )  dx, dy, dz, (nx+1)*dx, (ny+1)*dy, zu(0)
320       IF ( dz_stretch_level_index > 0 )  THEN
321          WRITE ( io, 252 )  dz_stretch_level, dz_stretch_level_index, &
322                             dz_stretch_factor, dz_max
323       ENDIF
324    ENDIF
325    WRITE ( io, 254 )  nx, ny, nzt+1, MIN( nnx, nx+1 ), MIN( nny, ny+1 ), &
326                       MIN( nnz+2, nzt+2 )
327    IF ( numprocs > 1 )  THEN
328       IF ( nxa == nx  .AND.  nya == ny  .AND.  nza == nz )  THEN
329          WRITE ( io, 255 )
330       ELSE
331          WRITE ( io, 256 )  nnx-(nxa-nx), nny-(nya-ny), nzt+2
332       ENDIF
333    ENDIF
334    IF ( sloping_surface )  WRITE ( io, 260 )  alpha_surface
335
336!
337!-- Topography
338    WRITE ( io, 270 )  topography
339    SELECT CASE ( TRIM( topography ) )
340
341       CASE ( 'flat' )
342          ! no actions necessary
343
344       CASE ( 'single_building' )
345          blx = INT( building_length_x / dx )
346          bly = INT( building_length_y / dy )
347          bh  = INT( building_height / dz )
348
349          IF ( building_wall_left == 9999999.9 )  THEN
350             building_wall_left = ( nx + 1 - blx ) / 2 * dx
351          ENDIF
352          bxl = INT ( building_wall_left / dx + 0.5 )
353          bxr = bxl + blx
354
355          IF ( building_wall_south == 9999999.9 )  THEN
356             building_wall_south = ( ny + 1 - bly ) / 2 * dy
357          ENDIF
358          bys = INT ( building_wall_south / dy + 0.5 )
359          byn = bys + bly
360
361          WRITE ( io, 271 )  building_length_x, building_length_y, &
362                             building_height, bxl, bxr, bys, byn
363
364    END SELECT
365
366!
367!-- Boundary conditions
368    IF ( ibc_p_b == 0 )  THEN
369       runten = 'p(0)     = 0      |'
370    ELSEIF ( ibc_p_b == 1 )  THEN
371       runten = 'p(0)     = p(1)   |'
372    ELSE
373       runten = 'p(0)     = p(1) +R|'
374    ENDIF
375    IF ( ibc_p_t == 0 )  THEN
376       roben  = 'p(nzt+1) = 0      |'
377    ELSE
378       roben  = 'p(nzt+1) = p(nzt) |'
379    ENDIF
380
381    IF ( ibc_uv_b == 0 )  THEN
382       runten = TRIM( runten ) // ' uv(0)     = -uv(1)                |'
383    ELSE
384       runten = TRIM( runten ) // ' uv(0)     = uv(1)                 |'
385    ENDIF
386    IF ( ibc_uv_t == 0 )  THEN
387       roben  = TRIM( roben  ) // ' uv(nzt+1) = ug(nzt+1), vg(nzt+1)  |'
388    ELSE
389       roben  = TRIM( roben  ) // ' uv(nzt+1) = uv(nzt)               |'
390    ENDIF
391
392    IF ( ibc_pt_b == 0 )  THEN
393       runten = TRIM( runten ) // ' pt(0)   = pt_surface'
394    ELSEIF ( ibc_pt_b == 1 )  THEN
395       runten = TRIM( runten ) // ' pt(0)   = pt(1)'
396    ELSEIF ( ibc_pt_b == 2 )  THEN
397       runten = TRIM( runten ) // ' pt(0) = from coupled model'
398    ENDIF
399    IF ( ibc_pt_t == 0 )  THEN
400       roben  = TRIM( roben  ) // ' pt(nzt+1) = pt_top'
401    ELSEIF( ibc_pt_t == 1 )  THEN
402       roben  = TRIM( roben  ) // ' pt(nzt+1) = pt(nzt)'
403    ELSEIF( ibc_pt_t == 2 )  THEN
404       roben  = TRIM( roben  ) // ' pt(nzt+1) = pt(nzt) + dpt/dz_ini'
405    ENDIF
406
407    WRITE ( io, 300 )  runten, roben
408
409    IF ( .NOT. constant_diffusion )  THEN
410       IF ( ibc_e_b == 1 )  THEN
411          runten = 'e(0)     = e(1)'
412       ELSE
413          runten = 'e(0)     = e(1) = (u*/0.1)**2'
414       ENDIF
415       roben = 'e(nzt+1) = e(nzt) = e(nzt-1)'
416
417       WRITE ( io, 301 )  'e', runten, roben       
418
419    ENDIF
420
421    IF ( ocean )  THEN
422       runten = 'sa(0)    = sa(1)'
423       IF ( ibc_sa_t == 0 )  THEN
424          roben =  'sa(nzt+1) = sa_surface'
425       ELSE
426          roben =  'sa(nzt+1) = sa(nzt)'
427       ENDIF
428       WRITE ( io, 301 ) 'sa', runten, roben
429    ENDIF
430
431    IF ( humidity )  THEN
432       IF ( ibc_q_b == 0 )  THEN
433          runten = 'q(0)     = q_surface'
434       ELSE
435          runten = 'q(0)     = q(1)'
436       ENDIF
437       IF ( ibc_q_t == 0 )  THEN
438          roben =  'q(nzt)   = q_top'
439       ELSE
440          roben =  'q(nzt)   = q(nzt-1) + dq/dz'
441       ENDIF
442       WRITE ( io, 301 ) 'q', runten, roben
443    ENDIF
444
445    IF ( passive_scalar )  THEN
446       IF ( ibc_q_b == 0 )  THEN
447          runten = 's(0)     = s_surface'
448       ELSE
449          runten = 's(0)     = s(1)'
450       ENDIF
451       IF ( ibc_q_t == 0 )  THEN
452          roben =  's(nzt)   = s_top'
453       ELSE
454          roben =  's(nzt)   = s(nzt-1) + ds/dz'
455       ENDIF
456       WRITE ( io, 301 ) 's', runten, roben
457    ENDIF
458
459    IF ( use_surface_fluxes )  THEN
460       WRITE ( io, 303 )
461       IF ( constant_heatflux )  THEN
462          WRITE ( io, 306 )  surface_heatflux
463          IF ( random_heatflux )  WRITE ( io, 307 )
464       ENDIF
465       IF ( humidity  .AND.  constant_waterflux )  THEN
466          WRITE ( io, 311 ) surface_waterflux
467       ENDIF
468       IF ( passive_scalar  .AND.  constant_waterflux )  THEN
469          WRITE ( io, 313 ) surface_waterflux
470       ENDIF
471    ENDIF
472
473    IF ( use_top_fluxes )  THEN
474       WRITE ( io, 304 )
475       IF ( coupling_mode == 'uncoupled' )  THEN
476          WRITE ( io, 319 )  top_momentumflux_u, top_momentumflux_v
477          IF ( constant_top_heatflux )  THEN
478             WRITE ( io, 306 )  top_heatflux
479          ENDIF
480       ELSEIF ( coupling_mode == 'ocean_to_atmosphere' )  THEN
481          WRITE ( io, 316 )
482       ENDIF
483       IF ( ocean  .AND.  constant_top_salinityflux )  THEN
484          WRITE ( io, 309 )  top_salinityflux
485       ENDIF
486       IF ( humidity  .OR.  passive_scalar )  THEN
487          WRITE ( io, 315 )
488       ENDIF
489    ENDIF
490
491    IF ( prandtl_layer )  THEN
492       WRITE ( io, 305 )  0.5 * (zu(1)-zu(0)), roughness_length, kappa, &
493                          rif_min, rif_max
494       IF ( .NOT. constant_heatflux )  WRITE ( io, 308 )
495       IF ( humidity  .AND.  .NOT. constant_waterflux )  THEN
496          WRITE ( io, 312 )
497       ENDIF
498       IF ( passive_scalar  .AND.  .NOT. constant_waterflux )  THEN
499          WRITE ( io, 314 )
500       ENDIF
501    ELSE
502       IF ( INDEX(initializing_actions, 'set_1d-model_profiles') /= 0 )  THEN
503          WRITE ( io, 310 )  rif_min, rif_max
504       ENDIF
505    ENDIF
506
507    WRITE ( io, 317 )  bc_lr, bc_ns
508    IF ( bc_lr /= 'cyclic'  .OR.  bc_ns /= 'cyclic' )  THEN
509       WRITE ( io, 318 )  outflow_damping_width, km_damp_max
510    ENDIF
511
512!
513!-- Listing of 1D-profiles
514    WRITE ( io, 320 )  dt_dopr_listing
515    IF ( averaging_interval_pr /= 0.0 )  THEN
516       WRITE ( io, 321 )  averaging_interval_pr, dt_averaging_input_pr
517    ENDIF
518
519!
520!-- DATA output
521    WRITE ( io, 330 )
522    IF ( averaging_interval_pr /= 0.0 )  THEN
523       WRITE ( io, 321 )  averaging_interval_pr, dt_averaging_input_pr
524    ENDIF
525
526!
527!-- 1D-profiles
528    dopr_chr = 'Profile:'
529    IF ( dopr_n /= 0 )  THEN
530       WRITE ( io, 331 )
531
532       output_format = ''
533       IF ( netcdf_output )  THEN
534          IF ( netcdf_64bit )  THEN
535             output_format = 'netcdf (64 bit offset)'
536          ELSE
537             output_format = 'netcdf'
538          ENDIF
539       ENDIF
540       IF ( profil_output )  THEN
541          IF ( netcdf_output )  THEN
542             output_format = TRIM( output_format ) // ' and profil'
543          ELSE
544             output_format = 'profil'
545          ENDIF
546       ENDIF
547       WRITE ( io, 345 )  output_format
548
549       DO  i = 1, dopr_n
550          dopr_chr = TRIM( dopr_chr ) // ' ' // TRIM( data_output_pr(i) ) // ','
551          IF ( LEN_TRIM( dopr_chr ) >= 60 )  THEN
552             WRITE ( io, 332 )  dopr_chr
553             dopr_chr = '       :'
554          ENDIF
555       ENDDO
556
557       IF ( dopr_chr /= '' )  THEN
558          WRITE ( io, 332 )  dopr_chr
559       ENDIF
560       WRITE ( io, 333 )  dt_dopr, averaging_interval_pr, dt_averaging_input_pr
561       IF ( skip_time_dopr /= 0.0 )  WRITE ( io, 339 )  skip_time_dopr
562    ENDIF
563
564!
565!-- 2D-arrays
566    DO  av = 0, 1
567
568       i = 1
569       do2d_xy = ''
570       do2d_xz = ''
571       do2d_yz = ''
572       DO  WHILE ( do2d(av,i) /= ' ' )
573
574          l = MAX( 2, LEN_TRIM( do2d(av,i) ) )
575          do2d_mode = do2d(av,i)(l-1:l)
576
577          SELECT CASE ( do2d_mode )
578             CASE ( 'xy' )
579                ll = LEN_TRIM( do2d_xy )
580                do2d_xy = do2d_xy(1:ll) // ' ' // do2d(av,i)(1:l-3) // ','
581             CASE ( 'xz' )
582                ll = LEN_TRIM( do2d_xz )
583                do2d_xz = do2d_xz(1:ll) // ' ' // do2d(av,i)(1:l-3) // ','
584             CASE ( 'yz' )
585                ll = LEN_TRIM( do2d_yz )
586                do2d_yz = do2d_yz(1:ll) // ' ' // do2d(av,i)(1:l-3) // ','
587          END SELECT
588
589          i = i + 1
590
591       ENDDO
592
593       IF ( ( ( do2d_xy /= ''  .AND.  section(1,1) /= -9999 )  .OR.    &
594              ( do2d_xz /= ''  .AND.  section(1,2) /= -9999 )  .OR.    &
595              ( do2d_yz /= ''  .AND.  section(1,3) /= -9999 ) )  .AND. &
596            ( netcdf_output  .OR.  iso2d_output ) )  THEN
597
598          IF (  av == 0 )  THEN
599             WRITE ( io, 334 )  ''
600          ELSE
601             WRITE ( io, 334 )  '(time-averaged)'
602          ENDIF
603
604          IF ( do2d_at_begin )  THEN
605             begin_chr = 'and at the start'
606          ELSE
607             begin_chr = ''
608          ENDIF
609
610          output_format = ''
611          IF ( netcdf_output )  THEN
612             IF ( netcdf_64bit )  THEN
613                output_format = 'netcdf (64 bit offset)'
614             ELSE
615                output_format = 'netcdf'
616             ENDIF
617          ENDIF
618          IF ( iso2d_output )  THEN
619             IF ( netcdf_output )  THEN
620                output_format = TRIM( output_format ) // ' and iso2d'
621             ELSE
622                output_format = 'iso2d'
623             ENDIF
624          ENDIF
625          WRITE ( io, 345 )  output_format
626
627          IF ( do2d_xy /= ''  .AND.  section(1,1) /= -9999 )  THEN
628             i = 1
629             slices = '/'
630             coordinates = '/'
631!
632!--          Building strings with index and coordinate informations of the
633!--          slices
634             DO  WHILE ( section(i,1) /= -9999 )
635
636                WRITE (section_chr,'(I5)')  section(i,1)
637                section_chr = ADJUSTL( section_chr )
638                slices = TRIM( slices ) // TRIM( section_chr ) // '/'
639
640                WRITE (coor_chr,'(F10.1)')  zu(section(i,1))
641                coor_chr = ADJUSTL( coor_chr )
642                coordinates = TRIM( coordinates ) // TRIM( coor_chr ) // '/'
643
644                i = i + 1
645             ENDDO
646             IF ( av == 0 )  THEN
647                WRITE ( io, 335 )  'XY', do2d_xy, dt_do2d_xy, &
648                                   TRIM( begin_chr ), 'k', TRIM( slices ), &
649                                   TRIM( coordinates )
650                IF ( skip_time_do2d_xy /= 0.0 )  THEN
651                   WRITE ( io, 339 )  skip_time_do2d_xy
652                ENDIF
653             ELSE
654                WRITE ( io, 342 )  'XY', do2d_xy, dt_data_output_av, &
655                                   TRIM( begin_chr ), averaging_interval, &
656                                   dt_averaging_input, 'k', TRIM( slices ), &
657                                   TRIM( coordinates )
658                IF ( skip_time_data_output_av /= 0.0 )  THEN
659                   WRITE ( io, 339 )  skip_time_data_output_av
660                ENDIF
661             ENDIF
662
663          ENDIF
664
665          IF ( do2d_xz /= ''  .AND.  section(1,2) /= -9999 )  THEN
666             i = 1
667             slices = '/'
668             coordinates = '/'
669!
670!--          Building strings with index and coordinate informations of the
671!--          slices
672             DO  WHILE ( section(i,2) /= -9999 )
673
674                WRITE (section_chr,'(I5)')  section(i,2)
675                section_chr = ADJUSTL( section_chr )
676                slices = TRIM( slices ) // TRIM( section_chr ) // '/'
677
678                WRITE (coor_chr,'(F10.1)')  section(i,2) * dy
679                coor_chr = ADJUSTL( coor_chr )
680                coordinates = TRIM( coordinates ) // TRIM( coor_chr ) // '/'
681
682                i = i + 1
683             ENDDO
684             IF ( av == 0 )  THEN
685                WRITE ( io, 335 )  'XZ', do2d_xz, dt_do2d_xz, &
686                                   TRIM( begin_chr ), 'j', TRIM( slices ), &
687                                   TRIM( coordinates )
688                IF ( skip_time_do2d_xz /= 0.0 )  THEN
689                   WRITE ( io, 339 )  skip_time_do2d_xz
690                ENDIF
691             ELSE
692                WRITE ( io, 342 )  'XZ', do2d_xz, dt_data_output_av, &
693                                   TRIM( begin_chr ), averaging_interval, &
694                                   dt_averaging_input, 'j', TRIM( slices ), &
695                                   TRIM( coordinates )
696                IF ( skip_time_data_output_av /= 0.0 )  THEN
697                   WRITE ( io, 339 )  skip_time_data_output_av
698                ENDIF
699             ENDIF
700          ENDIF
701
702          IF ( do2d_yz /= ''  .AND.  section(1,3) /= -9999 )  THEN
703             i = 1
704             slices = '/'
705             coordinates = '/'
706!
707!--          Building strings with index and coordinate informations of the
708!--          slices
709             DO  WHILE ( section(i,3) /= -9999 )
710
711                WRITE (section_chr,'(I5)')  section(i,3)
712                section_chr = ADJUSTL( section_chr )
713                slices = TRIM( slices ) // TRIM( section_chr ) // '/'
714
715                WRITE (coor_chr,'(F10.1)')  section(i,3) * dx
716                coor_chr = ADJUSTL( coor_chr )
717                coordinates = TRIM( coordinates ) // TRIM( coor_chr ) // '/'
718
719                i = i + 1
720             ENDDO
721             IF ( av == 0 )  THEN
722                WRITE ( io, 335 )  'YZ', do2d_yz, dt_do2d_yz, &
723                                   TRIM( begin_chr ), 'i', TRIM( slices ), &
724                                   TRIM( coordinates )
725                IF ( skip_time_do2d_yz /= 0.0 )  THEN
726                   WRITE ( io, 339 )  skip_time_do2d_yz
727                ENDIF
728             ELSE
729                WRITE ( io, 342 )  'YZ', do2d_yz, dt_data_output_av, &
730                                   TRIM( begin_chr ), averaging_interval, &
731                                   dt_averaging_input, 'i', TRIM( slices ), &
732                                   TRIM( coordinates )
733                IF ( skip_time_data_output_av /= 0.0 )  THEN
734                   WRITE ( io, 339 )  skip_time_data_output_av
735                ENDIF
736             ENDIF
737          ENDIF
738
739       ENDIF
740
741    ENDDO
742
743!
744!-- 3d-arrays
745    DO  av = 0, 1
746
747       i = 1
748       do3d_chr = ''
749       DO  WHILE ( do3d(av,i) /= ' ' )
750
751          do3d_chr = TRIM( do3d_chr ) // ' ' // TRIM( do3d(av,i) ) // ','
752          i = i + 1
753
754       ENDDO
755
756       IF ( do3d_chr /= '' )  THEN
757          IF ( av == 0 )  THEN
758             WRITE ( io, 336 )  ''
759          ELSE
760             WRITE ( io, 336 )  '(time-averaged)'
761          ENDIF
762
763          output_format = ''
764          IF ( netcdf_output )  THEN
765             IF ( netcdf_64bit .AND. netcdf_64bit_3d )  THEN
766                output_format = 'netcdf (64 bit offset)'
767             ELSE
768                output_format = 'netcdf'
769             ENDIF
770          ENDIF
771          IF ( avs_output )  THEN
772             IF ( netcdf_output )  THEN
773                output_format = TRIM( output_format ) // ' and avs'
774             ELSE
775                output_format = 'avs'
776             ENDIF
777          ENDIF
778          WRITE ( io, 345 )  output_format
779
780          IF ( do3d_at_begin )  THEN
781             begin_chr = 'and at the start'
782          ELSE
783             begin_chr = ''
784          ENDIF
785          IF ( av == 0 )  THEN
786             WRITE ( io, 337 )  do3d_chr, dt_do3d, TRIM( begin_chr ), &
787                                zu(nz_do3d), nz_do3d
788          ELSE
789             WRITE ( io, 343 )  do3d_chr, dt_data_output_av,           &
790                                TRIM( begin_chr ), averaging_interval, &
791                                dt_averaging_input, zu(nz_do3d), nz_do3d
792          ENDIF
793
794          IF ( do3d_compress )  THEN
795             do3d_chr = ''
796             i = 1
797             DO WHILE ( do3d(av,i) /= ' ' )
798
799                SELECT CASE ( do3d(av,i) )
800                   CASE ( 'u' )
801                      j = 1
802                   CASE ( 'v' )
803                      j = 2
804                   CASE ( 'w' )
805                      j = 3
806                   CASE ( 'p' )
807                      j = 4
808                   CASE ( 'pt' )
809                      j = 5
810                END SELECT
811                WRITE ( prec, '(I1)' )  plot_3d_precision(j)%precision
812                do3d_chr = TRIM( do3d_chr ) // ' ' // TRIM( do3d(av,i) ) // &
813                           ':' // prec // ','
814                i = i + 1
815
816             ENDDO
817             WRITE ( io, 338 )  do3d_chr
818
819          ENDIF
820
821          IF ( av == 0 )  THEN
822             IF ( skip_time_do3d /= 0.0 )  THEN
823                WRITE ( io, 339 )  skip_time_do3d
824             ENDIF
825          ELSE
826             IF ( skip_time_data_output_av /= 0.0 )  THEN
827                WRITE ( io, 339 )  skip_time_data_output_av
828             ENDIF
829          ENDIF
830
831       ENDIF
832
833    ENDDO
834
835!
836!-- Timeseries
837    IF ( dt_dots /= 9999999.9 )  THEN
838       WRITE ( io, 340 )
839
840       output_format = ''
841       IF ( netcdf_output )  THEN
842          IF ( netcdf_64bit )  THEN
843             output_format = 'netcdf (64 bit offset)'
844          ELSE
845             output_format = 'netcdf'
846          ENDIF
847       ENDIF
848       IF ( profil_output )  THEN
849          IF ( netcdf_output )  THEN
850             output_format = TRIM( output_format ) // ' and profil'
851          ELSE
852             output_format = 'profil'
853          ENDIF
854       ENDIF
855       WRITE ( io, 345 )  output_format
856       WRITE ( io, 341 )  dt_dots
857    ENDIF
858
859#if defined( __dvrp_graphics )
860!
861!-- Dvrp-output
862    IF ( dt_dvrp /= 9999999.9 )  THEN
863       WRITE ( io, 360 )  dt_dvrp, TRIM( dvrp_output ), TRIM( dvrp_host ), &
864                          TRIM( dvrp_username ), TRIM( dvrp_directory )
865       i = 1
866       l = 0
867       DO WHILE ( mode_dvrp(i) /= ' ' )
868          IF ( mode_dvrp(i)(1:10) == 'isosurface' )  THEN
869             READ ( mode_dvrp(i), '(10X,I2)' )  j
870             l = l + 1
871             IF ( do3d(0,j) /= ' ' )  THEN
872                WRITE ( io, 361 )  TRIM( do3d(0,j) ), threshold(l)
873             ENDIF
874          ELSEIF ( mode_dvrp(i)(1:6) == 'slicer' )  THEN
875             READ ( mode_dvrp(i), '(6X,I2)' )  j
876             IF ( do2d(0,j) /= ' ' )  WRITE ( io, 362 )  TRIM( do2d(0,j) )
877          ELSEIF ( mode_dvrp(i)(1:9) == 'particles' )  THEN
878             WRITE ( io, 363 )
879          ENDIF
880          i = i + 1
881       ENDDO
882    ENDIF
883#endif
884
885#if defined( __spectra )
886!
887!-- Spectra output
888    IF ( dt_dosp /= 9999999.9 ) THEN
889       WRITE ( io, 370 )
890
891       output_format = ''
892       IF ( netcdf_output )  THEN
893          IF ( netcdf_64bit )  THEN
894             output_format = 'netcdf (64 bit offset)'
895          ELSE
896             output_format = 'netcdf'
897          ENDIF
898       ENDIF
899       IF ( profil_output )  THEN
900          IF ( netcdf_output )  THEN
901             output_format = TRIM( output_format ) // ' and profil'
902          ELSE
903             output_format = 'profil'
904          ENDIF
905       ENDIF
906       WRITE ( io, 345 )  output_format
907       WRITE ( io, 371 )  dt_dosp
908       IF ( skip_time_dosp /= 0.0 )  WRITE ( io, 339 )  skip_time_dosp
909       WRITE ( io, 372 )  ( data_output_sp(i), i = 1,10 ),     &
910                          ( spectra_direction(i), i = 1,10 ),  &
911                          ( comp_spectra_level(i), i = 1,10 ), &
912                          ( plot_spectra_level(i), i = 1,10 ), &
913                          averaging_interval_sp, dt_averaging_input_pr
914    ENDIF
915#endif
916
917    WRITE ( io, 99 )
918
919!
920!-- Physical quantities
921    WRITE ( io, 400 )
922
923!
924!-- Geostrophic parameters
925    WRITE ( io, 410 )  omega, phi, f, fs
926
927!
928!-- Other quantities
929    WRITE ( io, 411 )  g
930    IF ( use_reference )  THEN
931       IF ( ocean )  THEN
932          WRITE ( io, 412 )  prho_reference
933       ELSE
934          WRITE ( io, 413 )  pt_reference
935       ENDIF
936    ENDIF
937
938!
939!-- Cloud physics parameters
940    IF ( cloud_physics ) THEN
941       WRITE ( io, 415 )
942       WRITE ( io, 416 ) surface_pressure, r_d, rho_surface, cp, l_v
943    ENDIF
944
945!-- Profile of the geostrophic wind (component ug)
946!-- Building output strings
947    WRITE ( ugcomponent, '(F6.2)' )  ug_surface
948    gradients = '------'
949    slices = '     0'
950    coordinates = '   0.0'
951    i = 1
952    DO  WHILE ( ug_vertical_gradient_level_ind(i) /= -9999 )
953     
954       WRITE (coor_chr,'(F6.2,4X)')  ug(ug_vertical_gradient_level_ind(i))
955       ugcomponent = TRIM( ugcomponent ) // '  ' // TRIM( coor_chr )
956
957       WRITE (coor_chr,'(F6.2,4X)')  ug_vertical_gradient(i)
958       gradients = TRIM( gradients ) // '  ' // TRIM( coor_chr )
959
960       WRITE (coor_chr,'(I6,4X)')  ug_vertical_gradient_level_ind(i)
961       slices = TRIM( slices ) // '  ' // TRIM( coor_chr )
962
963       WRITE (coor_chr,'(F6.1,4X)')  ug_vertical_gradient_level(i)
964       coordinates = TRIM( coordinates ) // '  ' // TRIM( coor_chr )
965
966       i = i + 1
967    ENDDO
968
969    WRITE ( io, 423 )  TRIM( coordinates ), TRIM( ugcomponent ), &
970                       TRIM( gradients ), TRIM( slices )
971
972!-- Profile of the geostrophic wind (component vg)
973!-- Building output strings
974    WRITE ( vgcomponent, '(F6.2)' )  vg_surface
975    gradients = '------'
976    slices = '     0'
977    coordinates = '   0.0'
978    i = 1
979    DO  WHILE ( vg_vertical_gradient_level_ind(i) /= -9999 )
980
981       WRITE (coor_chr,'(F6.2,4X)')  vg(vg_vertical_gradient_level_ind(i))
982       vgcomponent = TRIM( vgcomponent ) // '  ' // TRIM( coor_chr )
983
984       WRITE (coor_chr,'(F6.2,4X)')  vg_vertical_gradient(i)
985       gradients = TRIM( gradients ) // '  ' // TRIM( coor_chr )
986
987       WRITE (coor_chr,'(I6,4X)')  vg_vertical_gradient_level_ind(i)
988       slices = TRIM( slices ) // '  ' // TRIM( coor_chr )
989
990       WRITE (coor_chr,'(F6.1,4X)')  vg_vertical_gradient_level(i)
991       coordinates = TRIM( coordinates ) // '  ' // TRIM( coor_chr )
992
993       i = i + 1 
994    ENDDO
995
996    WRITE ( io, 424 )  TRIM( coordinates ), TRIM( vgcomponent ), &
997                       TRIM( gradients ), TRIM( slices )
998
999!
1000!-- Initial temperature profile
1001!-- Building output strings, starting with surface temperature
1002    WRITE ( temperatures, '(F6.2)' )  pt_surface
1003    gradients = '------'
1004    slices = '     0'
1005    coordinates = '   0.0'
1006    i = 1
1007    DO  WHILE ( pt_vertical_gradient_level_ind(i) /= -9999 )
1008
1009       WRITE (coor_chr,'(F7.2)')  pt_init(pt_vertical_gradient_level_ind(i))
1010       temperatures = TRIM( temperatures ) // ' ' // TRIM( coor_chr )
1011
1012       WRITE (coor_chr,'(F7.2)')  pt_vertical_gradient(i)
1013       gradients = TRIM( gradients ) // ' ' // TRIM( coor_chr )
1014
1015       WRITE (coor_chr,'(I7)')  pt_vertical_gradient_level_ind(i)
1016       slices = TRIM( slices ) // ' ' // TRIM( coor_chr )
1017
1018       WRITE (coor_chr,'(F7.1)')  pt_vertical_gradient_level(i)
1019       coordinates = TRIM( coordinates ) // ' '  // TRIM( coor_chr )
1020
1021       i = i + 1
1022    ENDDO
1023
1024    WRITE ( io, 420 )  TRIM( coordinates ), TRIM( temperatures ), &
1025                       TRIM( gradients ), TRIM( slices )
1026
1027!
1028!-- Initial humidity profile
1029!-- Building output strings, starting with surface humidity
1030    IF ( humidity  .OR.  passive_scalar )  THEN
1031       WRITE ( temperatures, '(E8.1)' )  q_surface
1032       gradients = '--------'
1033       slices = '       0'
1034       coordinates = '     0.0'
1035       i = 1
1036       DO  WHILE ( q_vertical_gradient_level_ind(i) /= -9999 )
1037         
1038          WRITE (coor_chr,'(E8.1,4X)')  q_init(q_vertical_gradient_level_ind(i))
1039          temperatures = TRIM( temperatures ) // '  ' // TRIM( coor_chr )
1040
1041          WRITE (coor_chr,'(E8.1,4X)')  q_vertical_gradient(i)
1042          gradients = TRIM( gradients ) // '  ' // TRIM( coor_chr )
1043         
1044          WRITE (coor_chr,'(I8,4X)')  q_vertical_gradient_level_ind(i)
1045          slices = TRIM( slices ) // '  ' // TRIM( coor_chr )
1046         
1047          WRITE (coor_chr,'(F8.1,4X)')  q_vertical_gradient_level(i)
1048          coordinates = TRIM( coordinates ) // '  '  // TRIM( coor_chr )
1049
1050          i = i + 1
1051       ENDDO
1052
1053       IF ( humidity )  THEN
1054          WRITE ( io, 421 )  TRIM( coordinates ), TRIM( temperatures ), &
1055                             TRIM( gradients ), TRIM( slices )
1056       ELSE
1057          WRITE ( io, 422 )  TRIM( coordinates ), TRIM( temperatures ), &
1058                             TRIM( gradients ), TRIM( slices )
1059       ENDIF
1060    ENDIF
1061
1062!
1063!-- Initial salinity profile
1064!-- Building output strings, starting with surface salinity
1065    IF ( ocean )  THEN
1066       WRITE ( temperatures, '(F6.2)' )  sa_surface
1067       gradients = '------'
1068       slices = '     0'
1069       coordinates = '   0.0'
1070       i = 1
1071       DO  WHILE ( sa_vertical_gradient_level_ind(i) /= -9999 )
1072
1073          WRITE (coor_chr,'(F7.2)')  sa_init(sa_vertical_gradient_level_ind(i))
1074          temperatures = TRIM( temperatures ) // ' ' // TRIM( coor_chr )
1075
1076          WRITE (coor_chr,'(F7.2)')  sa_vertical_gradient(i)
1077          gradients = TRIM( gradients ) // ' ' // TRIM( coor_chr )
1078
1079          WRITE (coor_chr,'(I7)')  sa_vertical_gradient_level_ind(i)
1080          slices = TRIM( slices ) // ' ' // TRIM( coor_chr )
1081
1082          WRITE (coor_chr,'(F7.1)')  sa_vertical_gradient_level(i)
1083          coordinates = TRIM( coordinates ) // ' '  // TRIM( coor_chr )
1084
1085          i = i + 1
1086       ENDDO
1087
1088       WRITE ( io, 425 )  TRIM( coordinates ), TRIM( temperatures ), &
1089                          TRIM( gradients ), TRIM( slices )
1090    ENDIF
1091
1092!
1093!-- LES / turbulence parameters
1094    WRITE ( io, 450 )
1095
1096!--
1097! ... LES-constants used must still be added here
1098!--
1099    IF ( constant_diffusion )  THEN
1100       WRITE ( io, 451 )  km_constant, km_constant/prandtl_number, &
1101                          prandtl_number
1102    ENDIF
1103    IF ( .NOT. constant_diffusion)  THEN
1104       IF ( e_init > 0.0 )  WRITE ( io, 455 )  e_init
1105       IF ( e_min > 0.0 )  WRITE ( io, 454 )  e_min
1106       IF ( wall_adjustment )  WRITE ( io, 453 )  wall_adjustment_factor
1107       IF ( adjust_mixing_length  .AND.  prandtl_layer )  WRITE ( io, 452 )
1108    ENDIF
1109
1110!
1111!-- Special actions during the run
1112    WRITE ( io, 470 )
1113    IF ( create_disturbances )  THEN
1114       WRITE ( io, 471 )  dt_disturb, disturbance_amplitude,                   &
1115                          zu(disturbance_level_ind_b), disturbance_level_ind_b,&
1116                          zu(disturbance_level_ind_t), disturbance_level_ind_t
1117       IF ( bc_lr /= 'cyclic'  .OR.  bc_ns /= 'cyclic' )  THEN
1118          WRITE ( io, 472 )  inflow_disturbance_begin, inflow_disturbance_end
1119       ELSE
1120          WRITE ( io, 473 )  disturbance_energy_limit
1121       ENDIF
1122       WRITE ( io, 474 )  TRIM( random_generator )
1123    ENDIF
1124    IF ( pt_surface_initial_change /= 0.0 )  THEN
1125       WRITE ( io, 475 )  pt_surface_initial_change
1126    ENDIF
1127    IF ( humidity  .AND.  q_surface_initial_change /= 0.0 )  THEN
1128       WRITE ( io, 476 )  q_surface_initial_change       
1129    ENDIF
1130    IF ( passive_scalar  .AND.  q_surface_initial_change /= 0.0 )  THEN
1131       WRITE ( io, 477 )  q_surface_initial_change       
1132    ENDIF
1133
1134    IF ( particle_advection )  THEN
1135!
1136!--    Particle attributes
1137       WRITE ( io, 480 )  particle_advection_start, dt_prel, bc_par_lr, &
1138                          bc_par_ns, bc_par_b, bc_par_t, particle_maximum_age, &
1139                          end_time_prel, dt_sort_particles
1140       IF ( use_sgs_for_particles )  WRITE ( io, 488 )  dt_min_part
1141       IF ( random_start_position )  WRITE ( io, 481 )
1142       IF ( particles_per_point > 1 )  WRITE ( io, 489 )  particles_per_point
1143       WRITE ( io, 495 )  total_number_of_particles
1144       IF ( .NOT. vertical_particle_advection )  WRITE ( io, 482 )
1145       IF ( maximum_number_of_tailpoints /= 0 )  THEN
1146          WRITE ( io, 483 )  maximum_number_of_tailpoints
1147          IF ( minimum_tailpoint_distance /= 0 )  THEN
1148             WRITE ( io, 484 )  total_number_of_tails,      &
1149                                minimum_tailpoint_distance, &
1150                                maximum_tailpoint_age
1151          ENDIF
1152       ENDIF
1153       IF ( dt_write_particle_data /= 9999999.9 )  THEN
1154          WRITE ( io, 485 )  dt_write_particle_data
1155          output_format = ''
1156          IF ( netcdf_output )  THEN
1157             IF ( netcdf_64bit )  THEN
1158                output_format = 'netcdf (64 bit offset) and binary'
1159             ELSE
1160                output_format = 'netcdf and binary'
1161             ENDIF
1162          ELSE
1163             output_format = 'binary'
1164          ENDIF
1165          WRITE ( io, 345 )  output_format
1166       ENDIF
1167       IF ( dt_dopts /= 9999999.9 )  WRITE ( io, 494 )  dt_dopts
1168       IF ( write_particle_statistics )  WRITE ( io, 486 )
1169
1170       WRITE ( io, 487 )  number_of_particle_groups
1171
1172       DO  i = 1, number_of_particle_groups
1173          IF ( i == 1  .AND.  density_ratio(i) == 9999999.9 )  THEN
1174             WRITE ( io, 490 )  i, 0.0
1175             WRITE ( io, 492 )
1176          ELSE
1177             WRITE ( io, 490 )  i, radius(i)
1178             IF ( density_ratio(i) /= 0.0 )  THEN
1179                WRITE ( io, 491 )  density_ratio(i)
1180             ELSE
1181                WRITE ( io, 492 )
1182             ENDIF
1183          ENDIF
1184          WRITE ( io, 493 )  psl(i), psr(i), pss(i), psn(i), psb(i), pst(i), &
1185                             pdx(i), pdy(i), pdz(i)
1186       ENDDO
1187
1188    ENDIF
1189
1190
1191!
1192!-- Parameters of 1D-model
1193    IF ( INDEX( initializing_actions, 'set_1d-model_profiles' ) /= 0 )  THEN
1194       WRITE ( io, 500 )  end_time_1d, dt_run_control_1d, dt_pr_1d, &
1195                          mixing_length_1d, dissipation_1d
1196       IF ( damp_level_ind_1d /= nzt+1 )  THEN
1197          WRITE ( io, 502 )  zu(damp_level_ind_1d), damp_level_ind_1d
1198       ENDIF
1199    ENDIF
1200
1201!
1202!-- User-defined informations
1203    CALL user_header( io )
1204
1205    WRITE ( io, 99 )
1206
1207!
1208!-- Write buffer contents to disc immediately
1209    CALL local_flush( io )
1210
1211!
1212!-- Here the FORMATs start
1213
1214 99 FORMAT (1X,78('-'))
1215100 FORMAT (/1X,'*************************',11X,42('-')/        &
1216            1X,'* ',A,' *',11X,A/                               &
1217            1X,'*************************',11X,42('-'))
1218101 FORMAT (37X,'coupled run: ',A/ &
1219            37X,42('-'))
1220102 FORMAT (/' Date:            ',A8,11X,'Run:       ',A20/      &
1221            ' Time:            ',A8,11X,'Run-No.:   ',I2.2/     &
1222            ' Run on host:   ',A10)
1223#if defined( __parallel )
1224103 FORMAT (' Number of PEs:',7X,I4,11X,'Processor grid (x,y): (',I3,',',I3, &
1225              ')',1X,A)
1226104 FORMAT (' Number of PEs:',7X,I4,11X,'Tasks:',I4,'   threads per task:',I4/ &
1227              37X,'Processor grid (x,y): (',I3,',',I3,')',1X,A)
1228105 FORMAT (37X,'One additional PE is used to handle'/37X,'the dvrp output!')
1229106 FORMAT (37X,'A 1d-decomposition along x is forced'/ &
1230            37X,'because the job is running on an SMP-cluster')
1231107 FORMAT (37X,'A 1d-decomposition along ',A,' is used')
1232#endif
1233110 FORMAT (/' Numerical Schemes:'/ &
1234             ' -----------------'/)
1235111 FORMAT (' --> Solve perturbation pressure via FFT using ',A,' routines')
1236112 FORMAT (' --> Solve perturbation pressure via SOR-Red/Black-Schema'/ &
1237            '     Iterations (initial/other): ',I3,'/',I3,'  omega = ',F5.3)
1238113 FORMAT (' --> Momentum advection via Piascek-Williams-Scheme (Form C3)', &
1239                  ' or Upstream')
1240114 FORMAT (' --> Momentum advection via Upstream-Spline-Scheme')
1241115 FORMAT ('     Tendencies are smoothed via Long-Filter with factor ',F5.3) 
1242116 FORMAT (' --> Scalar advection via Piascek-Williams-Scheme (Form C3)', &
1243                  ' or Upstream')
1244117 FORMAT (' --> Scalar advection via Upstream-Spline-Scheme')
1245118 FORMAT (' --> Scalar advection via Bott-Chlond-Scheme')
1246119 FORMAT (' --> Galilei-Transform applied to horizontal advection', &
1247            '     Translation velocity = ',A/ &
1248            '     distance advected ',A,':  ',F8.3,' km(x)  ',F8.3,' km(y)')
1249120 FORMAT (' --> Time differencing scheme: leapfrog only (no euler in case', &
1250                  ' of timestep changes)')
1251121 FORMAT (' --> Time differencing scheme: leapfrog + euler in case of', &
1252                  ' timestep changes')
1253122 FORMAT (' --> Time differencing scheme: ',A)
1254123 FORMAT (' --> Rayleigh-Damping active, starts ',A,' z = ',F8.2,' m'/ &
1255            '     maximum damping coefficient: ',F5.3, ' 1/s')
1256124 FORMAT ('     Spline-overshoots are being suppressed')
1257125 FORMAT ('     Upstream-Scheme is used if Upstream-differences fall short', &
1258                  ' of'/                                                       &
1259            '     delta_u = ',F6.4,4X,'delta_v = ',F6.4,4X,'delta_w = ',F6.4)
1260126 FORMAT ('     Upstream-Scheme is used if Upstream-differences fall short', &
1261                  ' of'/                                                       &
1262            '     delta_e = ',F6.4,4X,'delta_pt = ',F6.4)
1263127 FORMAT ('     The following absolute overshoot differences are tolerated:'/&
1264            '     delta_u = ',F6.4,4X,'delta_v = ',F6.4,4X,'delta_w = ',F6.4)
1265128 FORMAT ('     The following absolute overshoot differences are tolerated:'/&
1266            '     delta_e = ',F6.4,4X,'delta_pt = ',F6.4)
1267129 FORMAT (' --> Additional prognostic equation for the specific humidity')
1268130 FORMAT (' --> Additional prognostic equation for the total water content')
1269131 FORMAT (' --> Parameterization of condensation processes via (0%-or100%)')
1270132 FORMAT (' --> Parameterization of long-wave radiation processes via'/ &
1271            '     effective emissivity scheme')
1272133 FORMAT (' --> Precipitation parameterization via Kessler-Scheme')
1273134 FORMAT (' --> Additional prognostic equation for a passive scalar')
1274135 FORMAT (' --> Solve perturbation pressure via multigrid method (', &
1275                  A,'-cycle)'/ &
1276            '     number of grid levels:                   ',I2/ &
1277            '     Gauss-Seidel red/black iterations:       ',I2)
1278136 FORMAT ('     gridpoints of coarsest subdomain (x,y,z): (',I3,',',I3,',', &
1279                  I3,')')
1280137 FORMAT ('     level data gathered on PE0 at level:     ',I2/ &
1281            '     gridpoints of coarsest subdomain (x,y,z): (',I3,',',I3,',', &
1282                  I3,')'/ &
1283            '     gridpoints of coarsest domain (x,y,z):    (',I3,',',I3,',', &
1284                  I3,')')
1285138 FORMAT ('     Using hybrid version for 1d-domain-decomposition')
1286139 FORMAT (' --> Loop optimization method: ',A)
1287140 FORMAT ('     maximum residual allowed:                ',E10.3)
1288141 FORMAT ('     fixed number of multigrid cycles:        ',I4)
1289142 FORMAT ('     perturbation pressure is calculated at every Runge-Kutta ', &
1290                  'step')
1291143 FORMAT ('     Euler/upstream scheme is used for the SGS turbulent ', &
1292                  'kinetic energy')
1293150 FORMAT (' --> Volume flow at the right and north boundary will be ', &
1294                  'conserved')
1295200 FORMAT (//' Run time and time step information:'/ &
1296             ' ----------------------------------'/)
1297201 FORMAT ( ' Timestep:          variable     maximum value: ',F6.3,' s', &
1298             '    CFL-factor: ',F4.2)
1299202 FORMAT ( ' Timestep:       dt = ',F6.3,' s'/)
1300203 FORMAT ( ' Start time:       ',F9.3,' s'/ &
1301             ' End time:         ',F9.3,' s')
1302204 FORMAT ( A,F9.3,' s')
1303205 FORMAT ( A,F9.3,' s',5X,'restart every',17X,F9.3,' s')
1304206 FORMAT (/' Time reached:     ',F9.3,' s'/ &
1305             ' CPU-time used:    ',F9.3,' s     per timestep:               ', &
1306               '  ',F9.3,' s'/                                                 &
1307             '                                   per second of simulated tim', &
1308               'e: ',F9.3,' s')
1309250 FORMAT (//' Computational grid and domain size:'/ &
1310              ' ----------------------------------'// &
1311              ' Grid length:      dx =    ',F7.3,' m    dy =    ',F7.3, &
1312              ' m    dz =    ',F7.3,' m'/ &
1313              ' Domain size:       x = ',F10.3,' m     y = ',F10.3, &
1314              ' m  z(u) = ',F10.3,' m'/)
1315252 FORMAT (' dz constant up to ',F10.3,' m (k=',I4,'), then stretched by', &
1316              ' factor: ',F5.3/ &
1317            ' maximum dz not to be exceeded is dz_max = ',F10.3,' m'/)
1318254 FORMAT (' Number of gridpoints (x,y,z):  (0:',I4,', 0:',I4,', 0:',I4,')'/ &
1319            ' Subdomain size (x,y,z):        (  ',I4,',   ',I4,',   ',I4,')'/)
1320255 FORMAT (' Subdomains have equal size')
1321256 FORMAT (' Subdomains at the upper edges of the virtual processor grid ', &
1322              'have smaller sizes'/                                          &
1323            ' Size of smallest subdomain:    (  ',I4,',   ',I4,',   ',I4,')')
1324260 FORMAT (/' The model has a slope in x-direction. Inclination angle: ',F6.2,&
1325             ' degrees')
1326270 FORMAT (//' Topography informations:'/ &
1327              ' -----------------------'// &
1328              1X,'Topography: ',A)
1329271 FORMAT (  ' Building size (x/y/z) in m: ',F5.1,' / ',F5.1,' / ',F5.1/ &
1330              ' Horizontal index bounds (l/r/s/n): ',I4,' / ',I4,' / ',I4, &
1331                ' / ',I4)
1332300 FORMAT (//' Boundary conditions:'/ &
1333             ' -------------------'// &
1334             '                     p                    uv             ', &
1335             '                   pt'// &
1336             ' B. bound.: ',A/ &
1337             ' T. bound.: ',A)
1338301 FORMAT (/'                     ',A// &
1339             ' B. bound.: ',A/ &
1340             ' T. bound.: ',A)
1341303 FORMAT (/' Bottom surface fluxes are used in diffusion terms at k=1')
1342304 FORMAT (/' Top surface fluxes are used in diffusion terms at k=nzt')
1343305 FORMAT (//'    Prandtl-Layer between bottom surface and first ', &
1344               'computational u,v-level:'// &
1345             '       zp = ',F6.2,' m   z0 = ',F6.4,' m   kappa = ',F4.2/ &
1346             '       Rif value range:   ',F6.2,' <= rif <=',F6.2)
1347306 FORMAT ('       Predefined constant heatflux:   ',F9.6,' K m/s')
1348307 FORMAT ('       Heatflux has a random normal distribution')
1349308 FORMAT ('       Predefined surface temperature')
1350309 FORMAT ('       Predefined constant salinityflux:   ',F9.6,' psu m/s')
1351310 FORMAT (//'    1D-Model:'// &
1352             '       Rif value range:   ',F6.2,' <= rif <=',F6.2)
1353311 FORMAT ('       Predefined constant humidity flux: ',E10.3,' m/s')
1354312 FORMAT ('       Predefined surface humidity')
1355313 FORMAT ('       Predefined constant scalar flux: ',E10.3,' kg/(m**2 s)')
1356314 FORMAT ('       Predefined scalar value at the surface')
1357315 FORMAT ('       Humidity / scalar flux at top surface is 0.0')
1358316 FORMAT ('       Sensible heatflux and momentum flux from coupled ', &
1359                    'atmosphere model')
1360317 FORMAT (//' Lateral boundaries:'/ &
1361            '       left/right:  ',A/    &
1362            '       north/south: ',A)
1363318 FORMAT (/'       outflow damping layer width: ',I3,' gridpoints with km_', &
1364                    'max =',F5.1,' m**2/s')
1365319 FORMAT ('       Predefined constant momentumflux:  u: ',F9.6,' m**2/s**2'/ &
1366            '                                          v: ',F9.6,' m**2/s**2')
1367320 FORMAT (//' List output:'/ &
1368             ' -----------'//  &
1369            '    1D-Profiles:'/    &
1370            '       Output every             ',F8.2,' s')
1371321 FORMAT ('       Time averaged over       ',F8.2,' s'/ &
1372            '       Averaging input every    ',F8.2,' s')
1373330 FORMAT (//' Data output:'/ &
1374             ' -----------'/)
1375331 FORMAT (/'    1D-Profiles:')
1376332 FORMAT (/'       ',A)
1377333 FORMAT ('       Output every             ',F8.2,' s',/ &
1378            '       Time averaged over       ',F8.2,' s'/ &
1379            '       Averaging input every    ',F8.2,' s')
1380334 FORMAT (/'    2D-Arrays',A,':')
1381335 FORMAT (/'       ',A2,'-cross-section  Arrays: ',A/ &
1382            '       Output every             ',F8.2,' s  ',A/ &
1383            '       Cross sections at ',A1,' = ',A/ &
1384            '       scalar-coordinates:   ',A,' m'/)
1385336 FORMAT (/'    3D-Arrays',A,':')
1386337 FORMAT (/'       Arrays: ',A/ &
1387            '       Output every             ',F8.2,' s  ',A/ &
1388            '       Upper output limit at    ',F8.2,' m  (GP ',I4,')'/)
1389338 FORMAT ('       Compressed data output'/ &
1390            '       Decimal precision: ',A/)
1391339 FORMAT ('       No output during initial ',F8.2,' s')
1392340 FORMAT (/'    Time series:')
1393341 FORMAT ('       Output every             ',F8.2,' s'/)
1394342 FORMAT (/'       ',A2,'-cross-section  Arrays: ',A/ &
1395            '       Output every             ',F8.2,' s  ',A/ &
1396            '       Time averaged over       ',F8.2,' s'/ &
1397            '       Averaging input every    ',F8.2,' s'/ &
1398            '       Cross sections at ',A1,' = ',A/ &
1399            '       scalar-coordinates:   ',A,' m'/)
1400343 FORMAT (/'       Arrays: ',A/ &
1401            '       Output every             ',F8.2,' s  ',A/ &
1402            '       Time averaged over       ',F8.2,' s'/ &
1403            '       Averaging input every    ',F8.2,' s'/ &
1404            '       Upper output limit at    ',F8.2,' m  (GP ',I4,')'/)
1405345 FORMAT ('       Output format: ',A/)
1406#if defined( __dvrp_graphics )
1407360 FORMAT ('    Plot-Sequence with dvrp-software:'/ &
1408            '       Output every      ',F7.1,' s'/ &
1409            '       Output mode:      ',A/ &
1410            '       Host / User:      ',A,' / ',A/ &
1411            '       Directory:        ',A// &
1412            '       The sequence contains:')
1413361 FORMAT ('       Isosurface of ',A,'  Threshold value: ', E12.3)
1414362 FORMAT ('       Sectional plane ',A)
1415363 FORMAT ('       Particles')
1416#endif
1417#if defined( __spectra )
1418370 FORMAT ('    Spectra:')
1419371 FORMAT ('       Output every ',F7.1,' s'/)
1420372 FORMAT ('       Arrays:     ', 10(A5,',')/                         &
1421            '       Directions: ', 10(A5,',')/                         &
1422            '       height levels  k = ', 9(I3,','),I3,'.'/            &
1423            '       height levels selected for standard plot:'/        &
1424            '                      k = ', 9(I3,','),I3,'.'/            &
1425            '       Time averaged over ', F7.1, ' s,' /                &
1426            '       Profiles for the time averaging are taken every ', &
1427                    F6.1,' s')
1428#endif
1429400 FORMAT (//' Physical quantities:'/ &
1430              ' -------------------'/)
1431410 FORMAT ('    Angular velocity    :   omega = ',E9.3,' rad/s'/  &
1432            '    Geograph. latitude  :   phi   = ',F4.1,' degr'/   &
1433            '    Coriolis parameter  :   f     = ',F9.6,' 1/s'/    &
1434            '                            f*    = ',F9.6,' 1/s')
1435411 FORMAT (/'    Gravity             :   g     = ',F4.1,' m/s**2')
1436412 FORMAT (/'    Reference density in buoyancy terms: ',F8.3,' kg/m**3')
1437413 FORMAT (/'    Reference temperature in buoyancy terms: ',F8.4,' K')
1438415 FORMAT (/'    Cloud physics parameters:'/ &
1439             '    ------------------------'/)
1440416 FORMAT ('        Surface pressure   :   p_0   = ',F7.2,' hPa'/      &
1441            '        Gas constant       :   R     = ',F5.1,' J/(kg K)'/ &
1442            '        Density of air     :   rho_0 = ',F5.3,' kg/m**3'/  &
1443            '        Specific heat cap. :   c_p   = ',F6.1,' J/(kg K)'/ &
1444            '        Vapourization heat :   L_v   = ',E8.2,' J/kg')
1445420 FORMAT (/'    Characteristic levels of the initial temperature profile:'// &
1446            '       Height:        ',A,'  m'/ &
1447            '       Temperature:   ',A,'  K'/ &
1448            '       Gradient:      ',A,'  K/100m'/ &
1449            '       Gridpoint:     ',A)
1450421 FORMAT (/'    Characteristic levels of the initial humidity profile:'// &
1451            '       Height:      ',A,'  m'/ &
1452            '       Humidity:    ',A,'  kg/kg'/ &
1453            '       Gradient:    ',A,'  (kg/kg)/100m'/ &
1454            '       Gridpoint:   ',A)
1455422 FORMAT (/'    Characteristic levels of the initial scalar profile:'// &
1456            '       Height:                  ',A,'  m'/ &
1457            '       Scalar concentration:    ',A,'  kg/m**3'/ &
1458            '       Gradient:                ',A,'  (kg/m**3)/100m'/ &
1459            '       Gridpoint:               ',A)
1460423 FORMAT (/'    Characteristic levels of the geo. wind component ug:'// &
1461            '       Height:      ',A,'  m'/ &
1462            '       ug:          ',A,'  m/s'/ &
1463            '       Gradient:    ',A,'  1/100s'/ &
1464            '       Gridpoint:   ',A)
1465424 FORMAT (/'    Characteristic levels of the geo. wind component vg:'// &
1466            '       Height:      ',A,'  m'/ &
1467            '       vg:          ',A,'  m/s'/ &
1468            '       Gradient:    ',A,'  1/100s'/ &
1469            '       Gridpoint:   ',A)
1470425 FORMAT (/'    Characteristic levels of the initial salinity profile:'// &
1471            '       Height:     ',A,'  m'/ &
1472            '       Salinity:   ',A,'  psu'/ &
1473            '       Gradient:   ',A,'  psu/100m'/ &
1474            '       Gridpoint:  ',A)
1475450 FORMAT (//' LES / Turbulence quantities:'/ &
1476              ' ---------------------------'/)
1477451 FORMAT ('   Diffusion coefficients are constant:'/ &
1478            '   Km = ',F6.2,' m**2/s   Kh = ',F6.2,' m**2/s   Pr = ',F5.2)
1479452 FORMAT ('   Mixing length is limited to the Prandtl mixing lenth.')
1480453 FORMAT ('   Mixing length is limited to ',F4.2,' * z')
1481454 FORMAT ('   TKE is not allowed to fall below ',E9.2,' (m/s)**2')
1482455 FORMAT ('   initial TKE is prescribed as ',E9.2,' (m/s)**2')
1483470 FORMAT (//' Actions during the simulation:'/ &
1484              ' -----------------------------'/)
1485471 FORMAT ('    Disturbance impulse (u,v) every :   ',F6.2,' s'/            &
1486            '    Disturbance amplitude           :     ',F4.2, ' m/s'/       &
1487            '    Lower disturbance level         : ',F8.2,' m (GP ',I4,')'/  &
1488            '    Upper disturbance level         : ',F8.2,' m (GP ',I4,')')
1489472 FORMAT ('    Disturbances continued during the run from i/j =',I4, &
1490                 ' to i/j =',I4)
1491473 FORMAT ('    Disturbances cease as soon as the disturbance energy exceeds',&
1492                 1X,F5.3, ' m**2/s**2')
1493474 FORMAT ('    Random number generator used    : ',A/)
1494475 FORMAT ('    The surface temperature is increased (or decreased, ', &
1495                 'respectively, if'/ &
1496            '    the value is negative) by ',F5.2,' K at the beginning of the',&
1497                 ' 3D-simulation'/)
1498476 FORMAT ('    The surface humidity is increased (or decreased, ',&
1499                 'respectively, if the'/ &
1500            '    value is negative) by ',E8.1,' kg/kg at the beginning of', &
1501                 ' the 3D-simulation'/)
1502477 FORMAT ('    The scalar value is increased at the surface (or decreased, ',&
1503                 'respectively, if the'/ &
1504            '    value is negative) by ',E8.1,' kg/m**3 at the beginning of', &
1505                 ' the 3D-simulation'/)
1506480 FORMAT ('    Particles:'/ &
1507            '    ---------'// &
1508            '       Particle advection is active (switched on at t = ', F7.1, &
1509                    ' s)'/ &
1510            '       Start of new particle generations every  ',F6.1,' s'/ &
1511            '       Boundary conditions: left/right: ', A, ' north/south: ', A/&
1512            '                            bottom:     ', A, ' top:         ', A/&
1513            '       Maximum particle age:                 ',F9.1,' s'/ &
1514            '       Advection stopped at t = ',F9.1,' s'/ &
1515            '       Particles are sorted every ',F9.1,' s'/)
1516481 FORMAT ('       Particles have random start positions'/)
1517482 FORMAT ('       Particles are advected only horizontally'/)
1518483 FORMAT ('       Particles have tails with a maximum of ',I3,' points')
1519484 FORMAT ('            Number of tails of the total domain: ',I10/ &
1520            '            Minimum distance between tailpoints: ',F8.2,' m'/ &
1521            '            Maximum age of the end of the tail:  ',F8.2,' s')
1522485 FORMAT ('       Particle data are written on file every ', F9.1, ' s')
1523486 FORMAT ('       Particle statistics are written on file'/)
1524487 FORMAT ('       Number of particle groups: ',I2/)
1525488 FORMAT ('       SGS velocity components are used for particle advection'/ &
1526            '          minimum timestep for advection: ', F7.5/)
1527489 FORMAT ('       Number of particles simultaneously released at each ', &
1528                    'point: ', I5/)
1529490 FORMAT ('       Particle group ',I2,':'/ &
1530            '          Particle radius: ',E10.3, 'm')
1531491 FORMAT ('          Particle inertia is activated'/ &
1532            '             density_ratio (rho_fluid/rho_particle) = ',F5.3/)
1533492 FORMAT ('          Particles are advected only passively (no inertia)'/)
1534493 FORMAT ('          Boundaries of particle source: x:',F8.1,' - ',F8.1,' m'/&
1535            '                                         y:',F8.1,' - ',F8.1,' m'/&
1536            '                                         z:',F8.1,' - ',F8.1,' m'/&
1537            '          Particle distances:  dx = ',F8.1,' m  dy = ',F8.1, &
1538                       ' m  dz = ',F8.1,' m'/)
1539494 FORMAT ('       Output of particle time series in NetCDF format every ', &
1540                    F8.2,' s'/)
1541495 FORMAT ('       Number of particles in total domain: ',I10/)
1542500 FORMAT (//' 1D-Model parameters:'/                           &
1543              ' -------------------'//                           &
1544            '    Simulation time:                   ',F8.1,' s'/ &
1545            '    Run-controll output every:         ',F8.1,' s'/ &
1546            '    Vertical profile output every:     ',F8.1,' s'/ &
1547            '    Mixing length calculation:         ',A/         &
1548            '    Dissipation calculation:           ',A/)
1549502 FORMAT ('    Damping layer starts from ',F7.1,' m (GP ',I4,')'/)
1550
1551
1552 END SUBROUTINE header
Note: See TracBrowser for help on using the repository browser.