Index: palm/trunk/DOC/app/chapter_3.5.4.html
===================================================================
--- palm/trunk/DOC/app/chapter_3.5.4.html	(revision 127)
+++ palm/trunk/DOC/app/chapter_3.5.4.html	(revision 129)
@@ -1,5 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html><head>
-<meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>PALM chapter 3.5.5</title> <meta name="GENERATOR" content="StarOffice 7 (Win32)"> <meta name="AUTHOR" content="Siegfried Raasch"> <meta name="CREATED" content="20040802;14050943"> <meta name="CHANGED" content="20041117;12180008"> <meta name="KEYWORDS" content="parallel LES model"> <style>
+<meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>PALM chapter 3.5.4</title> <meta name="GENERATOR" content="StarOffice 7 (Win32)"> <meta name="AUTHOR" content="Siegfried Raasch"> <meta name="CREATED" content="20040802;14050943"> <meta name="CHANGED" content="20041117;12180008"> <meta name="KEYWORDS" content="parallel LES model"> <style>
 <!--
 @page { size: 21cm 29.7cm }
@@ -13,10 +13,10 @@
 quantities which are not part of PALM's standard output. The basic user
 interface includes a number of subroutines which allow the calculation
-of user-defined quantities and output of these quantities as time series, (horizontally averaged) vertical profile, 2d cross
-section or 3d volume data. The respective subroutines
+of user-defined quantities and output of these quantities as (horizontally averaged) <a href="#vertical_profiles">vertical profiles</a>, <a href="#time_series">time series</a>, <a href="#2D_and_3D">2d cross
+section</a> or <a href="#2D_and_3D">3d volume data</a>. The respective subroutines
 contain sample code lines (written as comment lines) for defining, calculating and
 output of such quantities.<br><br>Output times, averaging intervals, etc. are steered by the same variables as used for the standard PALM output quantities, e.g. <a href="chapter_4.2.html#dt_data_output">dt_data_output</a>.<br><br>The
 rest of this chapter explains step-by-step how to modify/extend the
-default file user_interface.f90 in order to generate the respective output.<br><br><br><h4>Output of vertical profiles</h4>This example shows the output of the
+default file user_interface.f90 in order to generate the respective output.<br><br><br><h4><a name="vertical_profiles"></a>Output of vertical profiles</h4>This example shows the output of the
 quantity "turbulent resolved-scale horizontal momentum flux" (u*v*). If more than one user-defined
 quantity shall be output, the following steps have to be carried out in the
@@ -49,5 +49,7 @@
 calculation is stored in array <span style="font-family: Courier New,Courier,monospace;">sums_l</span>.
 The second index of this array is the identification number of the
-profile which must match the one given in the previous step 2.</li></ol><br><h4>Output of timeseries</h4>still to be added<br>&nbsp;<br><h4><span style="font-weight: bold;">Output of 2d cross sections or 3d volume data</span></h4><br>This example shows the output of the
+profile which must match the one given in the previous step 2.</li></ol><br><h4><a name="time_series"></a>Output of timeseries</h4>This example shows the output of  two time series for the absolut extremal values of the horizontal velocities <span style="font-style: italic;">u</span> and <span style="font-style: italic;">v</span>. If more than one user-defined
+quantity shall be output, the following steps have to be carried out in the
+same way for each of the quantities.<br><br><ol><li>For each time series quantity you have to give a label and a unit  (subroutine <a href="chapter_3.5.1.html#user_init">user_init</a>), which will be used for the NetCDF file. They must not contain more than seven characters. The value of <code>dots_num</code> has to be increased by the number of new time series quantities. Its old value has to be stored in <code>dots_num_palm</code>.<br><br><code>&nbsp;&nbsp;&nbsp; dots_label(dots_num<span style="color: rgb(255, 0, 0);">+1</span>) = '<span style="color: rgb(255, 0, 0);">abs_umx</span>'<br>&nbsp;&nbsp;&nbsp; dots_unit(dots_num<span style="color: rgb(255, 0, 0);">+1</span>)&nbsp; = '<span style="color: rgb(255, 0, 0);">m/s</span>'<br>&nbsp;&nbsp;&nbsp; dots_label(dots_num<span style="color: rgb(255, 0, 0);">+2</span>) = '<span style="color: rgb(255, 0, 0);">abs_vmx</span>'<br>&nbsp;&nbsp;&nbsp; dots_unit(dots_num<span style="color: rgb(255, 0, 0);">+2</span>)&nbsp; = '<span style="color: rgb(255, 0, 0);">m/s</span>'<br><br>&nbsp;&nbsp;&nbsp; dots_num_palm = dots_num<br>&nbsp;&nbsp;&nbsp; dots_num = dots_num <span style="color: rgb(255, 0, 0);">+ 2</span><br><br></code>Only those parts in <span style="color: rgb(255, 0, 0);">red</span> have to be adjusted by the user.<br><br></li><li>These quantities are&nbsp;calculated and output in subroutine <a href="chapter_3.5.1.html#user_statistics">user_statistics</a> for every statistic region <code>sr</code> defined by the user,&nbsp;but at least for the region <span style="font-style: italic;">"total domain"</span>:<br>&nbsp;<br><code>&nbsp;&nbsp;&nbsp; ts_value(dots_num_palm+1,sr) = ABS( u_max )<br>&nbsp;&nbsp;&nbsp; ts_value(dots_num_palm+2,sr) = ABS( v_max )<br></code>&nbsp;<br></li></ol><h4><span style="font-weight: bold;"><a name="2D_and_3D"></a>Output of 2d cross sections or 3d volume data</span></h4><br>This example shows the output of the
 quantity "square of the u-component" (<span style="font-weight: bold;">Note:</span> this quantity
 could of course easily be calculated from the u-component by
Index: palm/trunk/DOC/app/chapter_4.2.html
===================================================================
--- palm/trunk/DOC/app/chapter_4.2.html	(revision 127)
+++ palm/trunk/DOC/app/chapter_4.2.html	(revision 129)
@@ -10682,6 +10682,6 @@
 (cross sections), and <span style="font-style: italic;">'particles'</span>.
 Within the strings the hash character ("#") has to be replaced by a
-digit &le;9. Up to 10 objects
-can be assigned at the same time, e.g. :&nbsp; </p>
+digit 1&le;#&le;9. Up to 10 objects
+can be assigned at the same time, e.g.:&nbsp; </p>
 
 
@@ -10700,26 +10700,22 @@
       <p>In this
 case one isosurface, two cross sections, and particles
-will be created. The quantities for which an isosurface are to be
+will be created. The quantities for which isosurfaces or cross sections are to be
 created have to be selected with
-the parameter <a href="#data_output">data_output</a>,
-those for cross sections with <a href="#data_output">data_output</a>
-(<span style="font-weight: bold;">data_output</span>
+the parameter <a href="#data_output">data_output</a> (<span style="font-weight: bold;">data_output</span>
 also determines the
-orientation of the cross section, thus xy, xz, or yz). Since for <span style="font-weight: bold;">data_output</span> and <span style="font-weight: bold;">data_output</span> lists of
+orientation of the cross section, thus xy, xz, or yz). Since for <span style="font-weight: bold;">data_output</span> <span style="font-weight: bold;"></span>lists of
 variables may be
 assigned, the digit at the end of the <span style="font-weight: bold;">mode_dvrp</span>-string
 selects the quantity, which is given
 at the respective position in the respective list (e.g. <span style="font-style: italic;">'isosurface2'</span>
-selects the quantity
-given in the second position of <span style="font-weight: bold;">data_output</span>).
-If e.g. <span style="font-weight: bold;">data_output</span>
-and <span style="font-weight: bold;">data_output</span>
-are assigned as <b>data_output</b> = <span style="font-style: italic;">'u_xy'</span><i>,
-'w_xz', 'v_yz'</i> and <b>data_output</b> = <span style="font-style: italic;">'pt'</span><i>,
-'u', 'w' </i>are
-indicated, then - assuming the above assignment of <span style="font-weight: bold;">mode_dvrp</span> - an
+selects the second 3D quantity
+of <span style="font-weight: bold;">data_output</span>,  <span style="font-style: italic;">'slicer1'</span> selects the first 2D quantity
+of <span style="font-weight: bold;">data_output</span>).
+If e.g. <span style="font-weight: bold;">data_output</span> is assigned as <b>data_output</b> = <span style="font-style: italic;">'u_xy'</span><i>,
+'w_xz', 'v_yz'</i>, <span style="font-style: italic;">'pt'</span><i>,
+'u', 'w'</i>, then - assuming the above assignment of <span style="font-weight: bold;">mode_dvrp</span> - an
 isosurface of u, a
 horizontal cross section of u and
-a vertical cross section (xz) of w is created. For locations of the
+a vertical cross section (xz) of w are created. For locations of the
 cross sections see <a href="#data_output">data_output</a>.
 The theshold value for which the isosurface is
@@ -10738,25 +10734,11 @@
 
 
- </p>
-
-
-
-      
-      
-      <p>The vertical extension of the displayed domain is given by <a href="#nz_do3d">nz_do3d</a>. </p>
-
-
- 
-      
-      
-      <p><b>Assignments
+ </p><p><b>Assignments
 of mode_dvrp must correspond to those of data_output
 and
-data_output! </b>If e.g. <b>data_output</b> = <span style="font-style: italic;">'pt_xy'</span>
-and <b>data_output</b>
-= 'w'<i> </i>was set, then only the digit "1" is allowed
+data_output! </b>If e.g. <b>data_output</b> = <span style="font-style: italic;">'pt_xy'</span>,<span style="font-style: italic;"> 'w'</span><i> </i>was set, then only the digit "1" is allowed
 for <b>mode_dvrp</b>,
 thus <span style="font-style: italic;">'isosurface1'</span>
-and/or <span style="font-style: italic;">'slicer1'</span><i>.</i>&nbsp;
+and/or <span style="font-style: italic;">'slicer1'</span><i>.</i>
       </p>
 
