Index: palm/trunk/TUTORIAL/SOURCE/atmosphere_ocean_coupling.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/atmosphere_ocean_coupling.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/atmosphere_ocean_coupling.tex	(revision 1515)
@@ -27,5 +27,6 @@
 
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -47,5 +48,5 @@
 
 \title[PALM Ocean-Atmosphere Coupling]{PALM Ocean-Atmosphere Coupling}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 
Index: palm/trunk/TUTORIAL/SOURCE/canopy_model.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/canopy_model.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/canopy_model.tex	(revision 1515)
@@ -25,7 +25,8 @@
   morecomment=[l]{!\ }% Comment only with space after !
 }
-\usepackage{tabto}
-
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+
+
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -47,5 +48,5 @@
 
 \title[PALM's Canopy Model]{PALM's Canopy Model}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 
@@ -61,5 +62,4 @@
 \section{PALM's Canopy Model}
 \subsection{The embedded Canopy Model}
-
 
 %Folie 01
@@ -73,10 +73,9 @@
          \item<4->{scalar exchange processes between canopy and atmosphere.}
       \end{itemize}
-      \item<5->{The plant canopy acts as a sink for momentum and as a source/sink for active (e.g. temperature) and passive (e.g. tracer) scalars.}
-      \item<6->{The source/sink strength for momentum and scalars depends on e.g.:}
+      \item<5->{Within the canopy model, the plant canopy acts as a sink for momentum and as a source/sink for active (e.g. temperature) and passive (e.g. tracer) scalars.}
+      \item<6->{The canopy model does not account for each plant element, but rather accounts for a volume averaged effect on the flow and scalar concentration, depending on:}
       \begin{itemize}
          \item<7->{leaf area density,}
-         \item<8->{drag coefficient,}
-         \item<9->{wind speed.}
+         \item<8->{drag coefficient.}
       \end{itemize}
    \end{itemize}
@@ -92,5 +91,5 @@
       \item<1->{A plant canopy affects the flow by acting as a momentum sink due to form and viscous drag forces.}
       \item<2->{The effectiveness of momentum absorption depends on the amount of leaf area per unit volume and the aerodynamic drag.}
-      \item<3->{Due to the aerodynamic drag, the flow is decelerated within the canopy, creating an inflection point in the vertical profile of the horizontal velocity at the canopy top.
+      \item<3->{Due to the aerodynamic drag, the flow is decelerated within the canopy, leading to an inflection point in the vertical profile of the horizontal velocity at the canopy top.
          \begin{center}
             \includegraphics[width=0.5\textwidth]{canopy_model_figures/abb1.png}
@@ -134,11 +133,11 @@
       }
       \begin{itemize}
-         \item<3->{ $c_{d}$\tabto{.5cm}: drag coefficient}
-         \item<4->{ $a $\tabto{.5cm}:    leaf area density $[m^{2}m^{-3}]$}
-         \item<5->{ $U$\tabto{.5cm}:     $(u^{2} + v^{2} + w^{2})^{1/2}$ $[m s^{-1}]$}
-         \item<6->{ $u_{i}$\tabto{.5cm}: velocity component ($u_{1}=u$, $u_{2}=v$, $u_{3}=w$)}
+         \item<3->{ $c_{d}$ : drag coefficient}
+         \item<4->{ $a $ : leaf area density $[m^{2}m^{-3}]$}
+         \item<5->{ $U$ : $(u^{2} + v^{2} + w^{2})^{1/2}$ $[m s^{-1}]$}
+         \item<6->{ $u_{i}$ : velocity component ($u_{1}=u$, $u_{2}=v$, $u_{3}=w$)}
       \end{itemize}
    \end{itemize}
-   \uncover<7->{Note: The canopy model does not resolve single plant elements, it rather models a volume-averaged effect of the forest drag on the flow.}
+   \uncover<7->{Note: The canopy model does not resolve the effect of single plant elements.}
    \end{footnotesize}
 \end{frame}
@@ -151,10 +150,10 @@
    \begin{footnotesize}
    \begin{itemize}
-      \item<1->{The effect of the canopy on the subgrid scale turbulence is accounted for by adding a sink term to the prognostic equation for the subgrid-scale turbulent kinetic energy:\\
+      \item<1->{The effect of the canopy on the subgrid scale turbulence is accounted for by adding a sink term to the prognostic equation for the subgrid scale turbulent kinetic energy:\\
          \begin{align*}
             \frac{\partial e}{\partial t} = \text{...} - 2 c_{d} a U e
          \end{align*}
       }
-      \item<2->{It is assumed that the subgrid scale turbulent kinetic energy is dissipated by the canopy due to the rapid dissipation of wake turbulence in the lee of plant elements (e.g. Watanabe, 2004).}
+      \item<2->{It is assumed that the subgrid scale turbulent kinetic energy is dissipated by the canopy due to the rapid dissipation of wake turbulence in the lee of canopy elements (e.g. Watanabe, 2004).}
    \end{itemize}
    \end{footnotesize}
@@ -173,5 +172,5 @@
          \end{align*}
       }
-      \item<2->{It is assumed that the foliage is warmed by the penetrating solar radiation. In turn, the heated foliage warms the surrounding air.}
+      \item<2->{It is assumed that the foliage is warmed by the penetrating solar radiation and, in turn, warms the surrounding air.}
       \item<3->{The source strength $S_{\theta}$ is defined as the vertical derivative of the upward kinematic vertical heat flux $Q_{\theta}$, given by (Shaw and Schumann, 1992):\\
          \begin{align*}
@@ -213,10 +212,10 @@
    \frametitle{Basics (I)}
    \begin{itemize}
-      \item<1->{The canopy model is enabled by adding {\small \texttt{NAMELIST}} group {\small \texttt{\&canopy\_par}} to the parameter file ({\small \texttt{PARIN}}), subsequently to {\small \texttt{NAMELIST}} group {\small \texttt{\&d3par}}.}
+      \item<1->{The canopy model is switched on by setting the parameter {\small \texttt{plant\_canopy = .TRUE.}} within the \&inipar {\small \texttt{NAMELIST}} in the parameter file ({\small \texttt{PARIN}}).}
       \item<2->{All parameters for steering the canopy model are described in:\\
-      {\scriptsize Documentation $\rightarrow$ Model steering $\rightarrow$ Parameters $\rightarrow$ Plant canopy}\\
+      {\scriptsize Documentation $\rightarrow$ Model steering $\rightarrow$ Parameters $\rightarrow$ Initialization $\rightarrow$ Canopy}\\
       (http://palm.muk.uni-hannover.de)
       }
-      \item<3->{The following slides will describe how to set up a simulation with a simple horizontally homogeneous canopy block, covering the entire model domain surface. In this case, {\small \texttt{canopy\_mode = 'block'}} must be set in {\small \texttt{\&canopy\_par}} {\small \texttt{NAMELIST}}.}
+      \item<3->{The following slides will describe how to set up a simulation with a simple horizontally homogeneous canopy block covering the entire model domain surface. In this case, {\small \texttt{canopy\_mode = 'block'}} must be set in \&inipar {\small \texttt{NAMELIST}}.}
    \end{itemize}
 \end{frame}
@@ -226,8 +225,8 @@
 %Folie 09
 \begin{frame}
-   \frametitle{Basic canopy parameters (I)}
-   The parameters for steering the canopy model have to be added to the {\small \texttt{\&canopy\_par}} {\small \texttt{NAMELIST}} in the parameter file ({\small \texttt{PARIN}}).\\
+   \frametitle{Basic canopy parameter (I)}
+   The parameters for steering the canopy model have to be added to the \&inipar {\small \texttt{NAMELIST}} in the parameter file ({\small \texttt{PARIN}}).\\
     \begin{itemize}
-       \item<1->{Step I: Define the upper boundary of the plant canopy volume using the parameter {\small \texttt{pch\_index}} (grid point index, default 0). {\small \texttt{pch\_index}} specifies the number of grid points resolving the canopy layer in the vertical direction.}
+       \item<1->{Step I: Define the upper boundary of the plant canopy layer using the parameter {\small \texttt{pch\_index (grid point index, default 0)}}. {\small \texttt{pch\_index}} specifies the number of grid points resolving the canopy layer in the vertical direction.}
     \end{itemize}
    \vspace{10pt}
@@ -365,173 +364,9 @@
 %Folie 10
 \begin{frame}
-   \frametitle{Basic canopy parameters (II)}
+   \frametitle{Basic canopy parameter (II)}
     \begin{itemize}
        \item<1->{ Step II: Construct the vertical profile of the leaf area density (lad) to prescribe the distribution of leaf area within the plant canopy volume.\\
-                  Two methods are available to prescribe an lad profile:}
-       \begin{itemize}
-          \item<2->{Create piecewise linear segments by prescribing vertical lad gradients,} 
-          \item<3->{Prescribe a beta probability distribution.} 
-       \end{itemize}
-
-    \end{itemize}
-   \vspace{10pt}
-
-   \tikzstyle{background} = [rectangle, fill=gray!10, text width=1\textwidth, text centered, rounded corners, minimum height=10em]
-   \tikzstyle{Key1} = [rectangle, draw, fill=gray!70, text width=0.05, minimum size=0.05, font=\tiny]
-   \tikzstyle{Key2} = [rectangle, draw, fill=green!90, text width=0.05, minimum size=0.05, font=\tiny]
-   \tikzstyle{Key3} = [rectangle, text width=4.5cm, minimum size=16pt, font=\tiny]
-   \tikzstyle{label} = [rectangle, text width=2.0cm, align=center, minimum size=16pt, font=\tiny]
-
-\begin{tikzpicture}[>=latex']
-	%%% Edit the following coordinate to change the shape of your
-	%%% cuboid
-
-	%% Vanishing points for perspective handling
-	\coordinate (P1) at (-4cm,1.5cm); % left vanishing point (To pick)
-	\coordinate (P2) at (10cm,1.5cm); % right vanishing point (To pick)
-
-	%% (A1) and (A2) defines the 2 central points of the cuboid
-	\coordinate (A1) at (0cm,0cm); % central top point (To pick)
-	\coordinate (A2) at (0cm,-2cm); % central bottom point (To pick)
-	
-	%% (A3) to (A8) are computed given a unique parameter (or 2) .8
-	% You can vary .8 from 0 to 1 to change perspective on left side
-	\coordinate (A3) at ($(P1)!.8!(A2)$); % To pick for perspective 
-	\coordinate (A4) at ($(P1)!.8!(A1)$);
-
-	% You can vary .8 from 0 to 1 to change perspective on right side
-	\coordinate (A7) at ($(P2)!.7!(A2)$);
-	\coordinate (A8) at ($(P2)!.7!(A1)$);
-
-	%% Automatically compute the last 2 points with intersections
-	\coordinate (A5) at
-	  (intersection cs: first line={(A8) -- (P1)},
-			    second line={(A4) -- (P2)});
-	\coordinate (A6) at
-	  (intersection cs: first line={(A7) -- (P1)}, 
-			    second line={(A3) -- (P2)});
-
-	%% Drawing the canopy layer
-	\coordinate (A9) at (0em,-1.7cm); % central bottom point (To pick)
-	\coordinate (A10) at ($(P2)!.7!(A9)$);
-	\coordinate (A12) at ($(P1)!.8!(A9)$); % To pick for perspective 
-	\coordinate (A11) at
-	  (intersection cs: first line={(A10) -- (P1)}, 
-			    second line={(A12) -- (P2)});
-
-	%%% Depending of what you want to display, you can comment/edit
-	%%% the following lines
-
-	{\node [background, right=-0.8cm of A12] (background) {};}
-
-	%% Possibly draw back faces
-
-	\fill[gray!70] (A2) -- (A3) -- (A6) -- (A7) -- cycle; % face 6
-	\node at (barycentric cs:A2=1,A3=1,A6=1,A7=1) {\tiny };
-	
-	\fill[gray!30] (A3) -- (A4) -- (A5) -- (A6) -- cycle; % face 3
-	\node at (barycentric cs:A3=1,A4=1,A5=1,A6=1) {\tiny };
-	
-	\fill[gray!10] (A5) -- (A6) -- (A7) -- (A8) -- cycle; % face 4
-	\node at (barycentric cs:A5=1,A6=1,A7=1,A8=1) {\tiny };
-	
-	
-	\fill[green!90] (A9) -- (A10) -- (A11) -- (A12) -- cycle; % face 7
-	\node at (barycentric cs:A9=1,A10=1,A11=1,A12=1) {\tiny };
-	
-	\fill[green!100] (A9) -- (A12) -- (A3) -- (A2) -- cycle; % face 8
-	\node at (barycentric cs:A9=1,A12=1,A3=1,A2=1) {\tiny };
-	
-	\fill[green!100] (A9) -- (A10) -- (A7) -- (A2) -- cycle; % face 9
-	\node at (barycentric cs:A9=1,A10=1,A7=1,A2=1) {\tiny };
-	
-	\draw[thin,dashed] (A5) -- (A6);
-	\draw[thin,dashed] (A3) -- (A6);
-	\draw[thin,dashed] (A7) -- (A6);
-
-	\draw[thin,dashed] (A11) -- (A12);
-	\draw[thin,dashed] (A10) -- (A11);
-	
-	%% Possibly draw front faces
-
-	% \fill[orange] (A1) -- (A8) -- (A7) -- (A2) -- cycle; % face 1
-	% \node at (barycentric cs:A1=1,A8=1,A7=1,A2=1) {\tiny f1};
-	\fill[gray!50,opacity=0.2] (A1) -- (A2) -- (A3) -- (A4) -- cycle; % f2
-	\node at (barycentric cs:A1=1,A2=1,A3=1,A4=1) {\tiny };
-	\fill[gray!90,opacity=0.2] (A1) -- (A4) -- (A5) -- (A8) -- cycle; % f5
-	\node at (barycentric cs:A1=1,A4=1,A5=1,A8=1) {\tiny };
-
-	%% Possibly draw front lines
-	\draw[thin] (A1) -- (A2);
-	\draw[thin] (A3) -- (A4);
-	\draw[thin] (A7) -- (A8);
-	\draw[thin] (A1) -- (A4);
-	\draw[thin] (A1) -- (A8);
-	\draw[thin] (A2) -- (A3);
-	\draw[thin] (A2) -- (A7);
-	\draw[thin] (A4) -- (A5);
-	\draw[thin] (A8) -- (A5);
-	
-	\draw[thin] (A9) -- (A10);
-	\draw[thin] (A9) -- (A12);
-	
-	% Possibly draw points
-	% (it can help you understand the cuboid structure)
-	\foreach \i in {1,2,...,12}
-	{
-	%  \draw[fill=black] (A\i) circle (0.05em)
-	%    node[above right] {\tiny \i};
-	}
-	% \draw[fill=black] (P1) circle (0.1em) node[below] {\tiny p1};
-	% \draw[fill=black] (P2) circle (0.1em) node[below] {\tiny p2};
-	
-	%Key	
-	\coordinate (K1) at (0.5cm,-2.3cm);
-	\coordinate (K2) at (0.5cm,-2.7cm);
-	
-	
-	\node [Key1, right=0.0cm of K1] (key1) {};
-	\node [Key2, right=0.0cm of K2] (key2) {};
-	\node [Key3, right=0.4cm of K1] (key11) {Total model domain};
-	\node [Key3, right=0.4cm of K2] (key21) {Plant canopy volume};
-	
-	%% frame specific elements
-	
-	%% boundary layer profile 2D
-	\coordinate (B1) at (4.0cm,0.3cm);
-	\coordinate (B2) at (4.0cm,-2.5cm);
-	
-	\coordinate (B3) at (4.0cm,0.6cm);
-	\coordinate (B4) at (6.6cm,-2.5cm);
-	
-	\draw[thin, dotted] (A10) -- (B1);
-	\draw[thin, dotted] (A7) -- (B2);
-	\draw[<-] (B3) -- (B2);
-	\draw[<-] (B4) -- (B2);
-	
-	\coordinate (xlab) at (5.3cm,-2.5cm);
-	\coordinate (ylab) at (4.0cm,-1.1cm);
-	\node [label, below=0.0cm of xlab] (xlabel) {lad $[m^{2}m^{-3}]$};
-	\node [label, rotate=90, above=0.0cm of ylab] (ylabel) {z$[m]$};
-	
-	
-	\coordinate (B5) at (4.5cm,-2.5cm);
-%	\draw [-,color=red] (B1) to [out=-10,in=90,looseness=2.0, relative=false] .. controls (4,0) and (5,0) .. (B5);
-	\draw {(B1) .. controls (8.0,-0.2) and (4.5,-1.0) .. (B5)};
-	
-
-\end{tikzpicture}
-
-
-\end{frame}
-
-
-
-%Folie 11
-\begin{frame}
-   \frametitle{Basic canopy parameters (II)}
-    \begin{itemize}
-       \item<1->{ Method I: Create lad profile from piecewise linear segments by prescribing vertical lad gradients.}
-       \item[]{The canopy top is located at {\small \texttt{zw(pch\_index)}} (w-grid), which is in the center between {\small \texttt{zu(pch\_index)}} and {\small \texttt{zu(pch\_index + 1)}} (u-grid).}
+       The canopy top is located between {\small \texttt{zu(pch\_index)}} and {\small \texttt{zu(pch\_index + 1)}} because this is the transition between the in-canopy grid point and the above-canopy grid point.
+       }
     \end{itemize}
    \vspace{10pt}
@@ -725,188 +560,11 @@
 
 
-%Folie 12
-\begin{frame}
-   \frametitle{Basic canopy parameters (II)}
-    \begin{itemize}
-       \item<1->{ Method II: Create \textit{lad} profile by prescribing a distribution, following this beta probability density function:}
-    \end{itemize}
-
-
-   %equation for beta distribution:
-   \vspace{-3pt}
-   \scriptsize
-   \begin{equation*}
-    f_{PDF}(\frac{z}{H},\alpha,\beta) = \frac{(\frac{z}{H})^{\alpha-1}\;(1-\frac{z}{H})^{\beta-1}}{\int_{0}^{1}\;(\frac{z}{H})^{\alpha-1}\;(1-\frac{z}{H})^{\beta-1}\;d(\frac{z}{H})} 
-   \end{equation*}
-   \vspace{5pt}
-   \begin{equation*}
-    \rightarrow \hspace{5pt} lad(z) = LAI\cdot f_{PDF}(\frac{z}{H})\cdot H
-   \end{equation*}
-   \normalsize
-
-
-
-   %draw figure:
-   \tikzstyle{background} = [rectangle, fill=gray!10, text width=1\textwidth, text centered, rounded corners, minimum height=10em]
-   \tikzstyle{Key1} = [rectangle, draw, fill=gray!70, text width=0.05, minimum size=0.05, font=\tiny]
-   \tikzstyle{Key2} = [rectangle, draw, fill=green!90, text width=0.05, minimum size=0.05, font=\tiny]
-   \tikzstyle{Key3} = [rectangle, text width=4.5cm, minimum size=16pt, font=\tiny]
-   \tikzstyle{label} = [rectangle, text width=2.0cm, align=center, minimum size=16pt, font=\tiny]
-
-\begin{tikzpicture}[>=latex']
-	%%% Edit the following coordinate to change the shape of your
-	%%% cuboid
-
-	%% Vanishing points for perspective handling
-	\coordinate (P1) at (-4cm,1.5cm); % left vanishing point (To pick)
-	\coordinate (P2) at (10cm,1.5cm); % right vanishing point (To pick)
-
-	%% (A1) and (A2) defines the 2 central points of the cuboid
-	\coordinate (A1) at (0cm,0cm); % central top point (To pick)
-	\coordinate (A2) at (0cm,-2cm); % central bottom point (To pick)
-	
-	%% (A3) to (A8) are computed given a unique parameter (or 2) .8
-	% You can vary .8 from 0 to 1 to change perspective on left side
-	\coordinate (A3) at ($(P1)!.8!(A2)$); % To pick for perspective 
-	\coordinate (A4) at ($(P1)!.8!(A1)$);
-
-	% You can vary .8 from 0 to 1 to change perspective on right side
-	\coordinate (A7) at ($(P2)!.7!(A2)$);
-	\coordinate (A8) at ($(P2)!.7!(A1)$);
-
-	%% Automatically compute the last 2 points with intersections
-	\coordinate (A5) at
-	  (intersection cs: first line={(A8) -- (P1)},
-			    second line={(A4) -- (P2)});
-	\coordinate (A6) at
-	  (intersection cs: first line={(A7) -- (P1)}, 
-			    second line={(A3) -- (P2)});
-
-	%% Drawing the canopy layer
-	\coordinate (A9) at (0em,-1.7cm); % central bottom point (To pick)
-	\coordinate (A10) at ($(P2)!.7!(A9)$);
-	\coordinate (A12) at ($(P1)!.8!(A9)$); % To pick for perspective 
-	\coordinate (A11) at
-	  (intersection cs: first line={(A10) -- (P1)}, 
-			    second line={(A12) -- (P2)});
-
-	%%% Depending of what you want to display, you can comment/edit
-	%%% the following lines
-
-	{\node [background, right=-0.8cm of A12] (background) {};}
-
-	%% Possibly draw back faces
-
-	\fill[gray!70] (A2) -- (A3) -- (A6) -- (A7) -- cycle; % face 6
-	\node at (barycentric cs:A2=1,A3=1,A6=1,A7=1) {\tiny };
-	
-	\fill[gray!30] (A3) -- (A4) -- (A5) -- (A6) -- cycle; % face 3
-	\node at (barycentric cs:A3=1,A4=1,A5=1,A6=1) {\tiny };
-	
-	\fill[gray!10] (A5) -- (A6) -- (A7) -- (A8) -- cycle; % face 4
-	\node at (barycentric cs:A5=1,A6=1,A7=1,A8=1) {\tiny };
-	
-	
-	\fill[green!90] (A9) -- (A10) -- (A11) -- (A12) -- cycle; % face 7
-	\node at (barycentric cs:A9=1,A10=1,A11=1,A12=1) {\tiny };
-	
-	\fill[green!100] (A9) -- (A12) -- (A3) -- (A2) -- cycle; % face 8
-	\node at (barycentric cs:A9=1,A12=1,A3=1,A2=1) {\tiny };
-	
-	\fill[green!100] (A9) -- (A10) -- (A7) -- (A2) -- cycle; % face 9
-	\node at (barycentric cs:A9=1,A10=1,A7=1,A2=1) {\tiny };
-	
-	\draw[thin,dashed] (A5) -- (A6);
-	\draw[thin,dashed] (A3) -- (A6);
-	\draw[thin,dashed] (A7) -- (A6);
-
-	\draw[thin,dashed] (A11) -- (A12);
-	\draw[thin,dashed] (A10) -- (A11);
-	
-	%% Possibly draw front faces
-
-	% \fill[orange] (A1) -- (A8) -- (A7) -- (A2) -- cycle; % face 1
-	% \node at (barycentric cs:A1=1,A8=1,A7=1,A2=1) {\tiny f1};
-	\fill[gray!50,opacity=0.2] (A1) -- (A2) -- (A3) -- (A4) -- cycle; % f2
-	\node at (barycentric cs:A1=1,A2=1,A3=1,A4=1) {\tiny };
-	\fill[gray!90,opacity=0.2] (A1) -- (A4) -- (A5) -- (A8) -- cycle; % f5
-	\node at (barycentric cs:A1=1,A4=1,A5=1,A8=1) {\tiny };
-
-	%% Possibly draw front lines
-	\draw[thin] (A1) -- (A2);
-	\draw[thin] (A3) -- (A4);
-	\draw[thin] (A7) -- (A8);
-	\draw[thin] (A1) -- (A4);
-	\draw[thin] (A1) -- (A8);
-	\draw[thin] (A2) -- (A3);
-	\draw[thin] (A2) -- (A7);
-	\draw[thin] (A4) -- (A5);
-	\draw[thin] (A8) -- (A5);
-	
-	\draw[thin] (A9) -- (A10);
-	\draw[thin] (A9) -- (A12);
-	
-	% Possibly draw points
-	% (it can help you understand the cuboid structure)
-	\foreach \i in {1,2,...,12}
-	{
-	%  \draw[fill=black] (A\i) circle (0.05em)
-	%    node[above right] {\tiny \i};
-	}
-	% \draw[fill=black] (P1) circle (0.1em) node[below] {\tiny p1};
-	% \draw[fill=black] (P2) circle (0.1em) node[below] {\tiny p2};
-	
-	%Key	
-	\coordinate (K1) at (0.5cm,-2.3cm);
-	\coordinate (K2) at (0.5cm,-2.7cm);
-	
-	
-	\node [Key1, right=0.0cm of K1] (key1) {};
-	\node [Key2, right=0.0cm of K2] (key2) {};
-	\node [Key3, right=0.4cm of K1] (key11) {Total model domain};
-	\node [Key3, right=0.4cm of K2] (key21) {Plant canopy volume};
-	
-	%% frame specific elements
-	
-	%% boundary layer profile 2D
-	\coordinate (B1) at (4.0cm,0.3cm);
-	\coordinate (B2) at (4.0cm,-2.5cm);
-	
-	\coordinate (B3) at (4.0cm,0.6cm);
-	\coordinate (B4) at (6.6cm,-2.5cm);
-	
-	\draw[thin, dotted] (A10) -- (B1);
-	\draw[thin, dotted] (A7) -- (B2);
-	\draw[<-] (B3) -- (B2);
-	\draw[<-] (B4) -- (B2);
-	
-	\coordinate (xlab) at (5.3cm,-2.5cm);
-	\coordinate (ylab) at (4.0cm,-1.1cm);
-	\node [label, below=0.0cm of xlab] (xlabel) {lad $[m^{2}m^{-3}]$};
-	\node [label, rotate=90, above=0.0cm of ylab] (ylabel) {z$[m]$};
-	
-	
-	\coordinate (B5) at (4.5cm,-2.5cm);
-%	\draw [-,color=red] (B1) to [out=-10,in=90,looseness=2.0, relative=false] .. controls (4,0) and (5,0) .. (B5);
-	\draw {(B1) .. controls (8.0,-0.2) and (4.5,-1.0) .. (B5)};
-	
-        %parameters to be prescribed:
-	\node [Key3, right=2.1cm of B1] (label1) {Prescribe values for coefficients\\ $\alpha$, $\beta$ and for $LAI$:};
-
-	\coordinate (curvelabel11) at (5.9cm,-0.5cm);
-	\node [Key3, right=1.0cm of curvelabel11] (curvelabel12) {\texttt{alpha\_lad},\\ \texttt{beta\_lad},\\ \texttt{lai\_beta}.};
-\end{tikzpicture}
-
-
-\end{frame}
-
-
-
-%Folie 13
-\begin{frame}
-   \frametitle{Basic canopy parameters (III)}
+
+%Folie 11
+\begin{frame}
+   \frametitle{Basic canopy parameter (III)}
    \begin{footnotesize}
     \begin{itemize}
-       \item<1->{Step III: Prescribe a value for the parameter {\small \texttt{canopy\_drag\_coeff (default 0.0)}}. The drag coefficient is a dimensionless factor describing the magnitude of the form drag by the canopy working against the flow. A larger form drag results in a greater momentum reduction.}
+       \item<1->{Step III: Prescribe a value for the parameter {\small \texttt{drag\_coefficient (default 0.0)}}. The drag coefficient is a dimensionless factor describing the magnitude of the form drag by the canopy working against the flow. A larger form drag results in a greater momentum reduction.}
     \end{itemize}
    
@@ -942,16 +600,16 @@
 
 
-%Folie 14
-\begin{frame}
-   \frametitle{Basic canopy parameters (IV)}
-   \begin{itemize}
-      \item<1->{For steering the effect of the sensible heat transfer inside the canopy, prescribe a value for the sensible heat flux at the canopy top, using the parameter \texttt{cthf} (see Methods (III)).}
-      \item<2->{The sink/source effect of the canopy on other scalar quantities, such as humidity or a passive tracer can be steered by the parameters \texttt{leaf\_surface\_conc} and \texttt{leaf\_scalar\_exch\_coeff} (see Methods (IV)).}
-   \end{itemize}
-\end{frame}
-
-
-
-%Folie 15
+%Folie 12
+\begin{frame}
+   \frametitle{Basic canopy parameter (IV)}
+   \begin{itemize}
+      \item<1->{For steering the effect of the canopy sensible heat transfer, prescribe a value for the sensible heat flux at the canopy top, using the parameter \texttt{cthf} (see Methods (III)).}
+      \item<2->{The sink/source effect of the canopy on other scalar quantities, such as humidity or a passive tracer can be steered by the parameters \texttt{leaf\_surface\_concentration} and \texttt{scalar\_exchange\_coefficient} (see Methods (IV)).}
+   \end{itemize}
+\end{frame}
+
+
+
+%Folie 13
 \begin{frame}
    \frametitle{User-defined canopy}
@@ -1096,5 +754,5 @@
 	
 	% % Text
-	\uncover<4->{\node [text1, right=0.7cm of A7] (text1) {{\footnotesize Note: You might have to make changes in other parts of your {\small \texttt{USER\_CODE}} according to the changes in: \texttt{user\_init\_plant\_canopy.f90}}};}
+	\uncover<4->{\node [text1, right=0.7cm of A7] (text1) {{\footnotesize Note: You might have to make changes in other parts of your {\small \texttt{USER\_CODE}} according to the changes / used parameters in: \texttt{user\_init\_plant\_canopy.f90}}};}
 \end{tikzpicture}
 
Index: palm/trunk/TUTORIAL/SOURCE/cloud_physics.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/cloud_physics.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/cloud_physics.tex	(revision 1515)
@@ -30,5 +30,6 @@
 }
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -49,5 +50,5 @@
 
 \title[PALM - Cloud Physics]{PALM - Cloud Physics}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 % Notes:
Index: palm/trunk/TUTORIAL/SOURCE/debugging.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/debugging.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/debugging.tex	(revision 1515)
@@ -6,5 +6,4 @@
 \usepackage{ngerman}
 \usepackage{pgf}
-\usetheme{Dresden}
 \usepackage{subfigure}
 \usepackage{units}
@@ -14,15 +13,18 @@
 \usepackage{xmpmulti}
 \usepackage{tikz}
-\usetikzlibrary{shapes,arrows,positioning,decorations.pathreplacing}
+\usetikzlibrary{shapes,arrows,positioning}
 \def\Tiny{\fontsize{4pt}{4pt}\selectfont}
-
-%---------- neue Pakete
 \usepackage{amsmath}
 \usepackage{amssymb}
 \usepackage{multicol}
 \usepackage{pdfcomment}
-\usepackage{xcolor}
-
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\usepackage{graphicx}
+\usepackage{listings}
+\lstset{showspaces=false,language=fortran,basicstyle=
+        \ttfamily,showstringspaces=false, captionpos=b,aboveskip=0pt,belowskip=0pt}
+
+
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -30,18 +32,18 @@
 \setbeamersize{text margin left=.5cm,text margin right=.2cm}
 \setbeamertemplate{footline}
-  {%
+  {
     \begin{beamercolorbox}[rightskip=-0.1cm]&
      {\includegraphics[height=0.65cm]{imuk_logo.pdf}\hfill \includegraphics[height=0.65cm]{luh_logo.pdf}}
     \end{beamercolorbox}
-    \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
-      leftskip=.3cm,rightskip=0.3cm plus1fil]{title in head/foot}%
-      {\leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor} \hfill \eventname \hfill \insertframenumber \; / \inserttotalframenumber}%
-    \end{beamercolorbox}%
-%    \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}%
-%    \end{beamercolorbox}
-  }%\logo{\includegraphics[width=0.3\textwidth]{luhimuk_logo.eps}}
+    \begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,
+      leftskip=.3cm,rightskip=0.3cm plus1fil]{title in head/foot}
+      {\leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor} \hfill \eventname \hfill \insertframenumber \; / \inserttotalframenumber}
+    \end{beamercolorbox}
+    \begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
+    \end{beamercolorbox}
+  }
 
 \title[PALM - Debugging]{PALM - Debugging}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 % Notes:
@@ -86,14 +88,21 @@
       \item<2->{\textbf{Find out the principal reason of the error(s):}}
       \begin{itemize}
+         \scriptsize
          \item<3->{ Carefully analyze the job protocol file (or messages on the terminal, in case of interactive runs) 
                for any error messages or unexpected behaviour.}
+               \vspace{1.5mm}
          \item<4->{In case of batch runs on a remote host, if the job protocol file is missing on the local host, 
                try if you can find it in {\tt $\sim$/job\_queue} on the remote host.}
+               \vspace{1.5mm}
          \item<5->{If the job has run into a time limit, no job protocol files or messages might be created at all (system depending).}
+               \vspace{1.5mm}
          \item<6->{Some typical errors which may occur during execution of mrun are automatically detected and displayed 
                by mrun in the job protocol or on the terminal: \\
                \par\medskip
                Respective error messages will begin with "'+++"'.} 
-         \item<7->{Compile and run time error messages will only appear in the job protocol or on the terminal (in case of interactive runs).}        
+               \vspace{1.5mm}
+         \item<7->{Compile and runtime error messages will only appear in the job protocol or on the terminal (in case of interactive runs).}
+               \vspace{1.5mm}
+         \item<8->{In case of runtime errors terminal messages may give first helpful hints about where errors are located.}        
       \end{itemize}
    \end{itemize}
@@ -122,32 +131,53 @@
 
 % Folie 5
-\begin{frame}
+\begin{frame}[fragile]
    \frametitle{Debugging Runtime Errors (II)}
    \small
-   \tikzstyle{box} = [rectangle, draw, text width=0.9\textwidth, font=\scriptsize]
-   \begin{itemize}
-      \item{The configuration file {\tt .mrun.config.default} looks like this:} 
-   \end{itemize}
-   \uncover<2->{
-   \begin{tikzpicture}      
-      \node[box](box){ \begin{tabbing} 
-         .\\
-         \# The next line is just an example. Add your own line below or replace this line. \\
-         \%host\_identifier \quad myhostname  \textless hi\textgreater \\
-         \# \\
-         \# The next block contains all informations for compiling the PALM code \\
-         \textbf{\# This is the block for the optimized version}
-         . \\
-         \%fopts \qquad \= -xS:-fpe0:-O3:-r8:... \qquad \textless hi\textgreater parallel \\
-         \%lopts \> -xS:-fpe0:-O3:-r8:... \qquad \textless hi\textgreater parallel \\
-         . \\
-         . \\
-         \textbf{\# This is the block for the debug version}
-         . \\
-         \%fopts \qquad \= -C:-fpe0:-debug:-traceback:-O0:... \qquad \textless hi\textgreater parallel \textbf{trace} \\
-         \%lopts \qquad \> -C:-fpe0:-debug:-traceback:-O0:... \qquad \textless hi\textgreater parallel \textbf{trace} \\
-         . \\
-        \end{tabbing}};
-   \end{tikzpicture}}
+   \tikzstyle{yellow} = [rectangle, draw, fill=yellow!30, text width=0.9\textwidth, font=\Tiny]
+   \tikzstyle{box} = [rectangle, draw, text width=0.95\textwidth, font=\scriptsize]
+   \begin{itemize}
+      \item{The configuration file {\tt .mrun.config.default} looks like this:} \\
+      \ \\
+      \onslide<2->
+      \begin{tikzpicture}
+         \node [yellow]{\begin{lstlisting}   
+.
+# The next line is just an example. Add your own line below or replace this line.
+%host_identifier   myhostname  lcmy
+#
+# The next block contains all informations for compiling the PALM code
+# This is the block for the optimized version
+%fopts             -I:<replace by mpi include path>:-fpe0:-O3:-xHost:...    <hi> parallel
+%lopts             -L:<replace by mpi library path>:-fpe0:-O3:-xHost:...    <hi> parallel
+.
+.
+# This is the block for the debug version
+%fopts             -C:-check:nooutput_conversion:-fpe0:-debug:...           <hi> parallel trace
+%lopts             -C:-check:nooutput_conversion:-fpe0:-debug:...           <hi> parallel trace
+.
+\end{lstlisting}
+         };
+      \end{tikzpicture}
+%   \begin{tikzpicture}      
+%      \node[box](box){ \begin{tabbing} 
+%         .\\
+%         \# The next line is just an example. Add your own line below or replace this line. \\
+%         \%host\_identifier \quad myhostname \quad lcmy \\
+%         \# \\
+%         \# The next block contains all informations for compiling the PALM code \\
+%         \textbf{\# This is the block for the optimized version}
+%         . \\
+%         \%fopts \quad \= -xS:-nbs:-convert:...   \qquad \= \textless hi\textgreater parallel \\
+%         \%lopts \> -xS:-nbs:-Vaxlib:-L:...        \> \textless hi\textgreater parallel \\
+%         . \\
+%         . \\
+%         \textbf{\# This is the block for the debug version}
+%         . \\
+%         \%fopts \quad \= -C:-check:nooutput\_conversion:-fpe0:-debug:-traceback:... \quad \textless hi\textgreater parallel \textbf{trace} \\
+%         \%lopts \quad \> -C:-check:nooutput\_conversion:-fpe0:-debug:-traceback:... \quad \textless hi\textgreater parallel \textbf{trace} \\
+%         . \\
+%        \end{tabbing}};
+%   \end{tikzpicture}
+   \end{itemize}
 \end{frame}
 
@@ -159,6 +189,6 @@
    \tikzstyle{green1} = [rectangle, draw, fill=green!75!black, text width=0.1\textwidth, font=\scriptsize]
    \tikzstyle{green2} = [rectangle, draw, fill=green!75!black, text width=0.15\textwidth, font=\scriptsize]
-   \tikzstyle{green3} = [rectangle, draw, fill=green!75!black, text width=0.35\textwidth, font=\scriptsize]
-   \tikzstyle{green4} = [rectangle, draw, fill=green!75!black, text width=0.4\textwidth, font=\scriptsize]
+   \tikzstyle{green3} = [rectangle, draw, fill=green!75!black, text width=0.34\textwidth, font=\scriptsize]
+   \tikzstyle{green4} = [rectangle, draw, fill=green!75!black, text width=0.41\textwidth, font=\scriptsize]
    \tikzstyle{line} = [draw, -]
    \tikzstyle{arrow} = [draw, -latex']
@@ -167,4 +197,5 @@
             The pre-compiled code will be put into different make depositories, one for each block:} 
    \end{itemize} 
+   \vspace{-5mm}
    \begin{center}
    \begin{tikzpicture} [auto]
@@ -218,8 +249,10 @@
          \footnotesize
          \item<4->{the print/write debugger}
-         \item<5->{debuggers like dbx or GUI-based debuggers like totalview \\(see \textbf{www.totalviewtech.com)}}
-         \item<6->{more detailed informations about using totalview on the HLRN system are given under:
+         \item<5->{debuggers like dbx or GUI-based debuggers like "'totalview"' or "'Allinea DDT"'}
+         \item<6->{more detailed informations about using Allinea DDT on the HLRN-III system are given under:
                \par\medskip 
-               \textbf{http://palm.muk.uni-hannover.de/wiki/doc/app/machine/hlrnII}}
+               \textbf{https://www.hlrn.de/home/view/System3/AllineaDDT}\\
+               \ \\}
+         \item<7->{\texttt{mrun}-script will soon be adjusted for allowing to use the "'Allinea DDT"' debugger.}
       \end{itemize}      
    \end{itemize}
Index: palm/trunk/TUTORIAL/SOURCE/exercise_cbl.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/exercise_cbl.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/exercise_cbl.tex	(revision 1515)
@@ -27,5 +27,6 @@
         \ttfamily,showstringspaces=false,captionpos=b}
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -47,5 +48,5 @@
 
 \title[Exercise 1: Convection Between Plates]{Exercise 1: Convection Between Plates}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 \begin{document}
@@ -177,5 +178,5 @@
    \ \\
    \ \\
-   \normalsize Please also see under\\
+   \onslide<3-> \normalsize Please also visit\\
    \ \\
    \small\url{http://palm.muk.uni-hannover.de/wiki/doc/app/netcdf}\\
@@ -214,5 +215,5 @@
 
 \begin{frame}
-   \frametitle{$xy$-cross sections (instantaneous)}
+   \frametitle{$xy$-cross sections (instantaneous at $t = \unit[3600]{s}$)}
    \begin{center}
       \includegraphics[width=0.42\textwidth]{exercise_cbl_figures/xy_w_100.eps}
@@ -237,6 +238,5 @@
    \frametitle{Vertical profiles (I)}
    \begin{center}
-      \includegraphics[width=0.55\textwidth]{exercise_cbl_figures/pr_pt.eps}
-      \includegraphics[width=0.55\textwidth]{exercise_cbl_figures/pr_wpt.eps}
+      \includegraphics[angle=90,width=\textwidth]{exercise_cbl_figures/pr_pt.eps}
    \end{center}
 \end{frame}
@@ -255,5 +255,5 @@
    \frametitle{Time series (I)}
    \begin{center}
-      \includegraphics[width=1.0\textwidth]{exercise_cbl_figures/ts.eps}
+      \includegraphics[angle=90,width=1.0\textwidth]{exercise_cbl_figures/ts.eps}
    \end{center}
 \end{frame}
@@ -263,5 +263,5 @@
    \frametitle{Time series (II)}
    \begin{center}
-      \includegraphics[width=1.0\textwidth]{exercise_cbl_figures/ts2.eps}
+      \includegraphics[angle=90,width=1.0\textwidth]{exercise_cbl_figures/ts2.eps}
    \end{center}
 \end{frame}
Index: palm/trunk/TUTORIAL/SOURCE/exercise_interface.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/exercise_interface.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/exercise_interface.tex	(revision 1515)
@@ -6,5 +6,4 @@
 \usepackage{ngerman}
 \usepackage{pgf}
-\usetheme{Dresden}
 \usepackage{subfigure}
 \usepackage{units}
@@ -33,5 +32,6 @@
 
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -53,5 +53,5 @@
 
 \title[Exercise 3: User Interface]{Exercise 3: User Interface}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 \setbeamersize{text margin left=.2cm,text margin right=.2cm}
@@ -71,5 +71,5 @@
    \frametitle{Exercise 3: User Interface}
    \begin{itemize}
-      \item Carry out a run for a convective boundary layer where the surface heat flux is applied for a limited rectangular area only.
+      \item Carry out a run for a convective boundary layer where a surface heat flux is given for a limited rectangular area only.
 
             \tikzstyle{green} = [rectangle, draw, fill=green!70, minimum size=51pt, font=\tiny]
@@ -100,6 +100,6 @@
    \frametitle{The statistic region concept}
     \begin{itemize}
-       \item<1-> By default, mean horizontal profiles are calculated and written on file for the total domain.
-       \item<2-> The user can define up to nine so-called statistic regions, which can be arbitrary subsets of the total domain and PALM will calculate and output mean profiles for these regions also.
+       \item<1-> By default, mean horizontal profiles are calculated and output for the total domain.
+       \item<2-> The user can define up to nine so-called statistic regions, which can be arbitrary subsets of the total domain and PALM will calculate and output mean profiles for these regions too.
     \end{itemize}
     \vspace{1em}
@@ -125,5 +125,5 @@
     \begin{itemize}
        \item<1-> Keep in mind that every PE calculates for a different subset of the total domain. Array bounds of the total domain are {\texttt{\scriptsize (0:ny,0:nx)}}, those of the subdomains {\texttt{\scriptsize (nys:nyn,nxl:nxr)}}, where {\texttt{\scriptsize nys, nyn, nxl, nxr}} vary for each subdomain.
-       \item<2-> {\texttt{\scriptsize rmask}} can also be used to modify the array which is used for the surface heatflux ({\texttt{\scriptsize shf}}):
+       \item<2-> {\texttt{\scriptsize rmask}} can also be used to modify the array which defines the surface heatflux ({\texttt{\scriptsize shf}}):
        \begin{center}
        {\texttt{\scriptsize shf $=$ shf * rmask(:,:,1)}}
@@ -153,5 +153,5 @@
    \begin{center}
       \includegraphics[width=0.415\textwidth]{exercise_interface_figures/xy_shf.eps}
-      \includegraphics[width=0.50\textwidth]{exercise_interface_figures/xy_w.eps}\\
+      \includegraphics[angle=90,width=0.60\textwidth]{exercise_interface_figures/xy_w.eps}\\
    \end{center}
 \end{frame}
@@ -161,7 +161,5 @@
    \frametitle{vertical profiles (I)}
    \begin{center}
-      \includegraphics[width=0.32\textwidth]{exercise_interface_figures/pr_pt0.eps}
-      \includegraphics[width=0.32\textwidth]{exercise_interface_figures/pr_pt1.eps}
-      \includegraphics[width=0.32\textwidth]{exercise_interface_figures/pr_pt2.eps}
+      \includegraphics[angle=90,width=0.8\textwidth]{exercise_interface_figures/pr_pt0.eps}
    \end{center}
 \end{frame}
@@ -169,8 +167,7 @@
 % Folie 9
 \begin{frame}
-   \frametitle{XZ cross-sections after 1h}
-   \begin{center}
-      \includegraphics[width=0.50\textwidth]{exercise_interface_figures/xz_w_avg.eps}
-      \includegraphics[width=0.50\textwidth]{exercise_interface_figures/xz_w_y1000.eps}\\
+   \frametitle{XZ cross-sections after 1h (averaged)}
+   \begin{center}
+      \includegraphics[angle=90,width=0.8\textwidth]{exercise_interface_figures/xz_w_avg.eps}\\
    \end{center}
 \end{frame}
@@ -178,51 +175,55 @@
 % Folie 10
 \begin{frame}
+   \frametitle{XZ cross-sections after 1h (instantaneous)}
+   \begin{center}
+      \includegraphics[angle=90,width=0.8\textwidth]{exercise_interface_figures/xz_w_y1000.eps}\\
+   \end{center}
+\end{frame}
+
+% Folie 11
+\begin{frame}
    \frametitle{vertical profiles (II)}
    \begin{center}
-      \includegraphics[width=0.30\textwidth]{exercise_interface_figures/pr_wpt_resolved.eps}
-      \includegraphics[width=0.30\textwidth]{exercise_interface_figures/pr_wpt_resolved1.eps}
-      \includegraphics[width=0.30\textwidth]{exercise_interface_figures/pr_wpt_resolved2.eps}\\
-      \includegraphics[width=0.30\textwidth]{exercise_interface_figures/pr_wpt_sgs.eps}
-      \includegraphics[width=0.30\textwidth]{exercise_interface_figures/pr_wpt_sgs1.eps}
-      \includegraphics[width=0.30\textwidth]{exercise_interface_figures/pr_wpt_sgs2.eps}\\
-   \end{center}
-\end{frame}
-
-% Folie 11
+      \includegraphics[angle=90,width=0.75\textwidth]{exercise_interface_figures/pr_wpt_resolved.eps}
+   \end{center}
+\end{frame}
+
+% Folie 12
 \begin{frame}
    \frametitle{time series (I)}
    \begin{center}
-      \hspace{-1.15em} \includegraphics[width=0.66\textwidth]{exercise_interface_figures/ts_pt0.eps}\\
-      \includegraphics[width=0.66\textwidth]{exercise_interface_figures/ts_pt1.eps}\\
-      \hspace{-0.75em} \includegraphics[width=0.66\textwidth]{exercise_interface_figures/ts_pt2.eps}\\
-   \end{center}
-\end{frame}
-
-% Folie 12
+      \includegraphics[angle=90,width=0.7\textwidth]{exercise_interface_figures/ts_pt0.eps}\\
+   \end{center}
+\end{frame}
+
+% Folie 13
 \begin{frame}
    \frametitle{time series (II)}
    \begin{center}
-      \hspace{-0.15em} \includegraphics[width=0.65\textwidth]{exercise_interface_figures/ts_wpt0.eps}\\
-      \includegraphics[width=0.65\textwidth]{exercise_interface_figures/ts_wpt1.eps}\\
-      \includegraphics[width=0.65\textwidth]{exercise_interface_figures/ts_wpt2.eps}\\
-   \end{center}
-\end{frame}
-
-% Folie 13
+      \includegraphics[angle=90,width=0.7\textwidth]{exercise_interface_figures/ts_wpt0.eps}\\
+   \end{center}
+\end{frame}
+
+% Folie 14
 \begin{frame}
    \frametitle{time series (III)}
    \begin{center}
-      \hspace{0.25em} \includegraphics[width=0.65\textwidth]{exercise_interface_figures/ts_wpt0_sgs.eps}\\
-      \includegraphics[width=0.65\textwidth]{exercise_interface_figures/ts_wpt1_sgs.eps}\\
-      \hspace{-0.75em} \includegraphics[width=0.675\textwidth]{exercise_interface_figures/ts_wpt2_sgs.eps}\\
-   \end{center}
-\end{frame}
-
-% Folie 14
-\begin{frame}
-   \frametitle{XY cross-sections (b)}
-   \begin{center}
-      \includegraphics[width=0.50\textwidth]{exercise_interface_figures/xz_w_avg_wind.eps}
-      \includegraphics[width=0.50\textwidth]{exercise_interface_figures/xz_w_y250_wind.eps}\\
+      \includegraphics[angle=90,width=0.7\textwidth]{exercise_interface_figures/ts_wpt0_sgs.eps}\\
+   \end{center}
+\end{frame}
+
+% Folie 15
+\begin{frame}
+   \frametitle{XZ cross-sections (b) - averaged}
+   \begin{center}
+      \includegraphics[angle=90,width=0.7\textwidth]{exercise_interface_figures/xz_w_avg_wind.eps}
+   \end{center}
+\end{frame}
+
+% Folie 16
+\begin{frame}
+   \frametitle{XZ cross-sections (b) - instantaneous}
+   \begin{center}
+      \includegraphics[angle=90,width=0.7\textwidth]{exercise_interface_figures/xz_w_y250_wind.eps}\\
    \end{center}
 \end{frame}
Index: palm/trunk/TUTORIAL/SOURCE/exercise_neutral.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/exercise_neutral.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/exercise_neutral.tex	(revision 1515)
@@ -6,5 +6,4 @@
 \usepackage{ngerman}
 \usepackage{pgf}
-\usetheme{Dresden}
 \usepackage{subfigure}
 \usepackage{units}
@@ -28,5 +27,6 @@
         \ttfamily,showstringspaces=false,captionpos=b}
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -48,5 +48,5 @@
 
 \title[Exercise 2: Neutrally Stratified  Boundary Layer]{Exercise 2: Neutrally Stratified  Boundary Layer}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 \setbeamersize{text margin left=.2cm,text margin right=.2cm}
@@ -152,8 +152,7 @@
 % Folie 8
 \begin{frame}
-   \frametitle{Vertical profiles of $\overline{w'u'}$, $\overline{w'v'}$}
+   \frametitle{Vertical profiles of $\overline{wu}$, $\overline{wv}$}
    \begin{center}
-      \includegraphics[width=0.50\textwidth]{exercise_neutral_figures/pr_wu.eps}
-      \includegraphics[width=0.50\textwidth]{exercise_neutral_figures/pr_wv.eps}\\
+      \includegraphics[width=\textwidth]{exercise_neutral_figures/pr_wu.eps}\\
    \end{center}
 \end{frame}
@@ -161,11 +160,9 @@
 % Folie 9
 \begin{frame}
-   \frametitle{Vertical profiles of $\overline{w'u'}$, $\overline{w'v'}$}
+   \frametitle{Vertical profiles of $\overline{w'u'}$, $\overline{w'v'}$, 
+               $\overline{w``u''}$ and $\overline{w``v''}$}
    \begin{center}
-      \includegraphics[width=0.36\textwidth]{exercise_neutral_figures/pr_wu_sgs.eps}
-      \includegraphics[width=0.36\textwidth]{exercise_neutral_figures/pr_wv_sgs.eps}\\
-      \vspace{-0.3em}
-      \includegraphics[width=0.36\textwidth]{exercise_neutral_figures/pr_wu_resolved.eps}
-      \includegraphics[width=0.36\textwidth]{exercise_neutral_figures/pr_wv_resolved.eps}\\
+      \includegraphics[width=0.55\textwidth]{exercise_neutral_figures/pr_wu_sgs.eps}\\
+      \includegraphics[width=0.55\textwidth]{exercise_neutral_figures/pr_wu_resolved.eps}\\
    \end{center}
 \end{frame}
@@ -173,11 +170,14 @@
 % Folie 10
 \begin{frame}
-   \frametitle{Spectra of $u$, $v$ and $w$}
-      \hspace{-1em}
-      \includegraphics[width=0.36\textwidth]{exercise_neutral_figures/sp_u.eps}
-      \hspace{-2em}
-      \includegraphics[width=0.36\textwidth]{exercise_neutral_figures/sp_v.eps}
-      \hspace{-2em}
-      \includegraphics[width=0.36\textwidth]{exercise_neutral_figures/sp_w.eps}
+   \frametitle{Spectra of $u$ and $v$}
+      \includegraphics[angle=90,width=1.0\textwidth]{exercise_neutral_figures/sp_u.eps}
+\end{frame}
+
+% Folie 11
+\begin{frame}
+   \frametitle{Spectra of $w$}
+   \begin{center}
+      \includegraphics[angle=90,width=0.6\textwidth]{exercise_neutral_figures/sp_w.eps}
+   \end{center}
 \end{frame}
 
Index: palm/trunk/TUTORIAL/SOURCE/exercise_topography.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/exercise_topography.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/exercise_topography.tex	(revision 1515)
@@ -6,5 +6,4 @@
 \usepackage{ngerman}
 \usepackage{pgf}
-\usetheme{Dresden}
 \usepackage{subfigure}
 \usepackage{units}
@@ -24,5 +23,6 @@
 \usepackage{xcolor}
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -43,5 +43,5 @@
 
 \title[Exercise - Topography]{Exercise - Topography}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 % Notes:
@@ -62,5 +62,5 @@
    Please carry out \textbf{two runs} with following conditions.
    \begin{itemize}
-      \item{Single surface-mounted cube}
+      \item<2->{Single cube}
       \begin{itemize}
          \item[1.)]{First run ''generic'' using {\tt topography = 'single\_building'}}
@@ -68,8 +68,8 @@
                    with ASCII file ...\_topo}
       \end{itemize}
-      \item{Neutral boundary layer in a channel}
-      \item{Constant bulk velocity}
-      \item{No Coriolis force}
-      \item{Simulation features:}
+      \item<3->{Neutral boundary layer in a channel}
+      \item<4->{Constant bulk velocity}
+      \item<5->{No Coriolis force}
+      \item<6->{Simulation features:}
       \begin{itemize}
          \item{domain size: (80 m)$^3$ (x/y/z)}
@@ -80,5 +80,5 @@
       \end{itemize}
    \end{itemize}
-   \textbf{Please use the same building (size, location) for both runs!}
+   \onslide<7->\textbf{Please use the same building (size, location) for both runs!}
 \end{frame}
 
@@ -88,14 +88,14 @@
    \small
    \begin{itemize}
-      \item{Can you identify flow convergence / divergence patterns near the cube?}
+      \item<2->{Can you identify flow convergence / divergence patterns near the cube?}
       \begin{itemize}
          \item{What kind of output do you need to answer this?}
       \end{itemize}
-      \item{How does the horizontally and temporally averaged momentum flux profile look
+      \item<3->{How does the horizontally and temporally averaged momentum flux profile look
             like?}
       \begin{itemize}
          \item{How long should the averaging time interval be?}
       \end{itemize}
-      \item{Is it really a large-eddy simulation?}
+      \item<4->{Is it really a large-eddy simulation?}
       \begin{itemize}
          \item{Are the subgrid-scale fluxes much smaller than the resolved-scale fluxes?}
@@ -104,5 +104,5 @@
       \end{itemize}
    \end{itemize}
-   \textbf{Final question:}
+   \onslide<5->\textbf{Final question:}
    \begin{itemize}
       \item{Do the results of both runs agree?}
@@ -111,18 +111,18 @@
 
 % Folie 4
- \begin{frame}
-    \frametitle{Hints (I)}
-    \scriptsize
-    \begin{itemize}
-       \item{\textbf{Domain size}}
-       \begin{itemize}
-          \scriptsize
-          \item{Is controlled by grid size (\textbf{dx}, \textbf{dy}, \textbf{dz}) and number of grid points 
+\begin{frame}
+   \frametitle{Hints (I)}
+   \scriptsize
+   \begin{itemize}
+      \item<2->{\textbf{Domain size}}
+      \begin{itemize}
+         \scriptsize
+         \item{Is controlled by grid size (\textbf{dx}, \textbf{dy}, \textbf{dz}) and number of grid points 
                (\textbf{nx}, \textbf{ny}, \textbf{nz}). Since the first grid point along one of the directions has
                index 0, the total number of grid points used are \textbf{nx}+1, \textbf{ny}+1, \textbf{nz}+1.
                The total domain size in case of cyclic horizontal boundary conditions is
                (\textbf{nx}+1)$\cdot$\textbf{dx}, (\textbf{ny}+1)$\cdot$\textbf{dy}.}
-       \end{itemize}
-       \item{\textbf{Initial profiles}}
+         \end{itemize}
+      \item<3->{\textbf{Initial profiles}}
       \begin{itemize}
          \scriptsize
@@ -131,10 +131,10 @@
                velocity.}
       \end{itemize}
-      \item{\textbf{Boundary conditions}}
+      \item<4->{\textbf{Boundary conditions}}
       \begin{itemize}
          \scriptsize
          \item{For channel boundary condition, see \textbf{bc\_uv\_t}.}
       \end{itemize}
-      \item{\textbf{Forcing}}
+      \item<5->{\textbf{Forcing}}
       \begin{itemize}
          \scriptsize
@@ -142,5 +142,5 @@
          \item{For Coriolis force, see \textbf{omega}.}
       \end{itemize}
-      \item{\textbf{Topography}}
+      \item<6->{\textbf{Topography}}
       \begin{itemize}
          \scriptsize
@@ -158,10 +158,10 @@
    \footnotesize
    \begin{itemize}
-      \item{\textbf{Simulation time}}
+      \item<2->{\textbf{Simulation time}}
       \begin{itemize}  
          \footnotesize       
          \item{See parameter \textbf{end\_time}.}
       \end{itemize}
-      \item{\textbf{Variables}}
+      \item<3->{\textbf{Variables}}
       \begin{itemize}
          \footnotesize
@@ -170,5 +170,5 @@
          \item{Time series are activated using \textbf{dt\_dots}.}         
       \end{itemize}
-      \item{\textbf{Output intervals}}
+      \item<4->{\textbf{Output intervals}}
       \begin{itemize}
          \footnotesize
@@ -179,5 +179,5 @@
                etc. }
       \end{itemize}
-      \item{\textbf{Time averaging}}
+      \item<5->{\textbf{Time averaging}}
       \begin{itemize}
          \footnotesize
@@ -198,10 +198,8 @@
    \par\medskip
    For topography, see \\
-   \textbf{http://www.muk.uni-hannover.de/$\sim$raasch/PALM\_group/doc/app/
-   chapter\_4.1.html\#topography}\\
+   \textbf{http://palm.muk.uni-hannover.de/wiki/doc/app/inipar\#topo}\\
    \par\medskip
    and especially for raster topography, see also
-   \textbf{http://www.muk.uni-hannover.de/$\sim$raasch/PALM\_group/doc/app/ 
-   chapter\_3.4.html\#TOPOGRAPHY\_DATA} \\
+   \textbf{http://palm.muk.uni-hannover.de/wiki/doc/app/iofiles\#TOPOGRAPHY\_DATA} \\
    \par\medskip
    as well as the presentation ''Using topography (I)''.
@@ -213,12 +211,12 @@
    Please proceed as follows:
    \begin{itemize}
-      \item[1.]{Please run with the ''generic'' topography case first.}
-      \item[2.]{Check your results to answer all questions â except the final question.}
-      \item[3.]{After this run has finished, use ncview, ncdump etc. to check the precise
+      \item<2->[1.]{Please run with the ''generic'' topography case first.}
+      \item<3->[2.]{Check your results to answer all questions â except the final question.}
+      \item<4->[3.]{After this run has finished, use ncview, ncdump etc. to check the precise
                location of the building (look at 2D array zusi that is contained in 2D xy
                cross-sections and 3D volume data).}
-      \item[4.]{Use this information to manually create the ''raster\_topo'' file.}
-      \item[5.]{Run the ''raster'' topography case.}
-      \item[6.]{Compare both simulation results to answer the final question.}
+      \item<5->[4.]{Use this information to manually create the ''raster\_topo'' file.}
+      \item<6->[5.]{Run the ''raster'' topography case.}
+      \item<7->[6.]{Compare both simulation results to answer the final question.}
    \end{itemize} 
 \end{frame}
@@ -229,16 +227,16 @@
    \footnotesize
    \begin{itemize}
-      \item{Create two \textbf{INPUT} directories for both new runs: \\
+      \item<2->{Create two \textbf{INPUT} directories for both new runs: \\
             {\tt cd $\sim$/palm/current\_version} \\            
             {\tt mkdir -p JOBS/generic/INPUT} \\
             {\tt mkdir -p JOBS/raster/INPUT}} 
-      \item{Create the parameter files and {\tt raster\_topo} file and set the required
+      \item<3->{Create the parameter files and {\tt raster\_topo} file and set the required
             parameters in \\
             {\tt JOBS/generic/INPUT/generic\_p3d} \\
             {\tt JOBS/raster/INPUT/raster\_p3d}}
-      \item{Start the runs one by one with mrun-commands \\
+      \item<4->{Start the runs one by one with mrun-commands \\
             {\tt mrun -d generic -K parallel ...} \\
             {\tt mrun -d raster -K parallel ...}}
-      \item{and analyze the output files in \\
+      \item<5->{and analyze the output files in \\
             {\tt JOBS/generic/OUTPUT} \\
             {\tt JOBS/raster/OUTPUT}}
Index: palm/trunk/TUTORIAL/SOURCE/final_remarks.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/final_remarks.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/final_remarks.tex	(revision 1515)
@@ -6,5 +6,4 @@
 \usepackage{ngerman}
 \usepackage{pgf}
-\usetheme{Dresden}
 \usepackage{subfigure}
 \usepackage{units}
@@ -24,5 +23,6 @@
 \usepackage{xcolor}
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -43,5 +43,5 @@
 
 \title[Final Remarks]{Final Remarks}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 % Notes:
@@ -53,4 +53,7 @@
 \titlepage
 \end{frame}
+
+\section{Final Remarks}
+\subsection{Final Remarks}
 
 % Folie 2
@@ -77,8 +80,16 @@
    \begin{itemize}
       \item<2->{The embedded canopy model}
-      \item<3->{The embedded visualization tool {\tt dvrs} (distributed virtual reality software)}
-      \item<4->{...}
+      \vspace{3mm}
+      \item<3->{Ocean model, ocean-atmosphere-coupling}
+      \vspace{3mm}
+      \item<4->{3D-output with masking method}
+      \vspace{3mm}
+      \item<5->{Setup/settings for performance optimization}
+      \vspace{3mm}
+      \item<6->{Running PALM on GPU}
+      \begin{itemize}
+         \item<6->{since beginning of 2014, PALM is part of the SPEC ACCEL benchmark (see: \texttt{http://www.spec.org/accel})}
+      \end{itemize}
    \end{itemize}
-   \vspace{3cm}
 \end{frame}
 
@@ -86,9 +97,11 @@
 \begin{frame}
    \frametitle{More PALM Information ...}
+   \footnotesize
+   \vspace{-2mm}
    \begin{itemize}
       \item<2->{... about application for urban flows: \\ \par\medskip
             \tiny{\textbf{Letzel, M.O., M. Krane and S. Raasch, 2008}: High resolution urban large-eddy simulation studies 
             from street canyon to neighbourhood scale, Atmos. Env., 42, 8770-8784, doi:10.1016/j.atmosenv.2008.08.001. \\
-            \textbf{Contact person}:    Siegfried Raasch      raasch@muk.uni-hannover.de}} 
+            \textbf{Contact person}:    Marius Keck      keck@muk.uni-hannover.de}} 
       \item<3->{... about non-cyclic boundary conditions: \\ \par\medskip 
             \tiny{\textbf{Gryschka, M. and S. Raasch, 2005}: Roll Convection During a Cold Air Outbreak: A Large Eddy Simulation with Stationary Model Domain.
@@ -99,8 +112,10 @@
       \item<4->{... about the Lagrangian particle model: \\ \par\medskip
             \tiny{\textbf{Steinfeld, G., S. Raasch and T. Markkanen, 2008}: Footprints in homogeneously and heterogeneously driven boundary layers derived 
-            from a Lagrangian stochastic particle model embedded into large-eddy simulation, Boundary-Layer Meteorol., 129, 225-248.\\
-            \textbf{Contact person}:    Theres Franke     franke@muk.uni-hannover.de}}
-      \item<5->{... on our webpage: \\ \par\smallskip
+            from a Lagrangian stochastic particle model embedded into large-eddy simulation, Boundary-Layer Meteorol., 129, 225-248.\\ \par\medskip
+            \textbf{Riechelmann, T., Y. Noh and S. Raasch, 2012}: A new method for large-eddy simulations of clouds with Lagrangian droplets including the effects of turbulent collision., New J. Phys., 14, 065008.\\
+            \textbf{Contact person}:    Fabian Hoffmann    hoffmann@muk.uni-hannover.de}}
+      \item<5->{... on our webpage: \\
             \tiny{\textbf{http://palm.muk.uni-hannover.de}}}
+      \item<6->{Current model status (PALM 4.0) will be published soon \\in \textit{Geoscientific Model Development}}
    \end{itemize}
 \end{frame}
@@ -131,11 +146,10 @@
    \frametitle{PALM - Future Developments}
    \begin{itemize}
-      \item{Via the PALM website, we will soon (or later) provide:}
-      \begin{itemize}
-         \item<2->{an online tutorial}
-         \item<3->{a data base for error messages with possible reasons for the respective errors}
-      \end{itemize} 
+      \item<1->{Hybrid MPI/OpenACC mode running on multiple GPUs}
+      \vspace{5mm}
+      \item<2->{Porting for Intel Xeon-Phi}
+      \vspace{5mm}
+      \item<3->{Ready for deep convection using anelastic system of equations}
    \end{itemize}
-   \vspace{4cm}
 \end{frame}
 
Index: palm/trunk/TUTORIAL/SOURCE/mrun_data_analysis.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/mrun_data_analysis.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/mrun_data_analysis.tex	(revision 1515)
@@ -6,5 +6,4 @@
 \usepackage{ngerman}
 \usepackage{pgf}
-\usetheme{Dresden}
 \usepackage{subfigure}
 \usepackage{units}
@@ -27,5 +26,6 @@
         \ttfamily,showstringspaces=false,captionpos=b}
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -47,5 +47,5 @@
 
 \title[Data Analysis]{Data Analysis}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 \begin{document}
Index: palm/trunk/TUTORIAL/SOURCE/mrun_steering_parameters.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/mrun_steering_parameters.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/mrun_steering_parameters.tex	(revision 1515)
@@ -6,5 +6,4 @@
 \usepackage{ngerman}
 % \usepackage{pgf}
-\usetheme{Dresden}
 \usepackage{subfigure}
 \usepackage{units}
@@ -27,5 +26,6 @@
         \ttfamily,showstringspaces=false,captionpos=b}
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -47,5 +47,5 @@
 
 \title[General Steering Parameters]{General Steering Parameters}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 \begin{document}
@@ -157,25 +157,31 @@
       \begin{itemize}
          \footnotesize
-         \item[-]<2-> controlled by parameter \texttt{initializing\_actions =}
+         \item[-]<2-> controlled by parameter \texttt{initializing\_actions}
       \end{itemize}
       
       \item<3-> \textbf{Initial run:}
       \begin{itemize}
-         \footnotesize
-         \item[-]<3-> \texttt{initializing\_actions = âset\_constant\_profilesâ}\\
-         constant, piecewise linear, profiles are used
-         \item[-]<4-> \texttt{initializing\_actions = âset\_1d-model-profilesâ}\\
-wind/TKE-profiles are created by a 1d-model, embedded in PALM, using stationary temperature/humidity-profiles
-         \item[-]<5-> \texttt{initializing\_actions = âcyclic\_fillâ}\\
-         3d-data from a pre-run (possibly with smaller domain size than the initial run) are used
-         \item[-]<6-> \texttt{initializing\_actions = âby\_userâ}\\
-         user has to provide \textbf{all} initial settings
+         \item[-]<3-> \footnotesize \texttt{initializing\_actions = âset\_constant\_profilesâ}\\
+         \par\smallskip
+         \tiny constant, piecewise linear, profiles are used
+         \par\smallskip
+         \item[-]<4-> \footnotesize \texttt{initializing\_actions = âset\_1d-model-profilesâ}\\
+         \par\smallskip
+         \tiny wind/TKE-profiles are created by a 1d-model, embedded in PALM, using stationary temperature/humidity-profiles
+         \par\smallskip
+         \item[-]<5-> \footnotesize \texttt{initializing\_actions = âcyclic\_fillâ}\\
+         \par\smallskip
+         \tiny 3d-data from a pre-run (possibly with smaller domain size than the initial run) are used
+         \par\smallskip
+         \item[-]<6-> \footnotesize \texttt{initializing\_actions = âby\_userâ}\\
+         \par\smallskip
+         \tiny user has to provide \textbf{all} initial settings\\
       \end{itemize}
       
       \item<7-> \textbf{Restart run:}
       \begin{itemize}
-         \footnotesize
-         \item[-]<7-> \texttt{initializing\_actions = âread\_restart\_dataâ}\\
-         data from the previous run in the job-chain are used
+         \item[-]<7-> \footnotesize \texttt{initializing\_actions = âread\_restart\_dataâ}\\
+         \par\smallskip
+         \tiny data from the previous run in the job-chain are used\\
       \end{itemize}
                 
Index: palm/trunk/TUTORIAL/SOURCE/ncl.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/ncl.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/ncl.tex	(revision 1515)
@@ -79,7 +79,12 @@
    \small
    \begin{itemize}     
-	   \item<1-> Interpreted language designed specifically for scientific data processing and visualization, free available
-	   \item<2-> Portable: it is running on many different operating systems including Solaris, AIX, IRIX, Linux, MacOSX, DecAlpha, Cygwin/Windows
-      \item<3-> It's a powerful tool for file input and output, visualization and data analysis (but please \textbf{avoid the excessive usage of loops}, as NCL is an interpreted language) $\rightarrow$ integrated processing environment
+      \item<1-> Interpreted language designed specifically for scientific 
+                data processing and visualization, freely available
+      \item<2-> Portable: it is running on many different operating systems
+                including AIX, Linux, MacOSX, Cygwin/Windows
+      \item<3-> It's a powerful tool for file input and output, visualization 
+                and data analysis (but please \textbf{avoid the excessive usage 
+                of loops}, as NCL is an interpreted language) $\rightarrow$ 
+                integrated processing environment
    \end{itemize}  
    \centering
@@ -94,9 +99,10 @@
    \begin{itemize}     
 	   \item<1-> Supports calling C and FORTRAN extended routines
-	   \item<1-> Over 600 functions and procedures for visualization and data analysis are provided with NCL
+	   \item<1-> Over 600 functions and procedures for visualization and 
+	             data analysis are provided with NCL
 	   \item<2-> Interactive mode: \texttt{\$ ncl}\\
       \texttt{ncl 0>}
       \item<3-> each line is interpreted as it is entered
-      \item<1-> Batch mode: \texttt{\$ ncl ncl\underline{ }script.ncl}\\
+      \item<4-> Batch mode: \texttt{\$ ncl ncl\underline{ }script.ncl}\\
       interpreter of complete scripts, variables within the NCL script can\\
       be steered by providing additional parameters with the ncl call\\
@@ -140,9 +146,10 @@
    \small
    \begin{itemize}     
-	   \item<1-> Detailed information is available under\\
-      \underline{http://www.ncl.ucar.edu/Download/index.shtml}
-	   \item<1-> Request an Earth System Grid account
-      \underline{http://www.earthsystemgrid.org/}
-	   \item<2-> Download the appropriate binaries e.g. \texttt{A.tar.gz} for your system e.g. to \texttt{\$HOME}
+      \item<1-> Detailed information is available under\\
+                \underline{http://www.ncl.ucar.edu/Download/index.shtml}
+      \item<1-> Request an Earth System Grid account
+                \underline{http://www.earthsystemgrid.org/}
+      \item<2-> Download the appropriate binaries e.g. \texttt{A.tar.gz} 
+                for your system e.g. to \texttt{\$HOME}
       \item<2-> \texttt{\% gunzip \$HOME/A.tar.gz}
       \item<2-> \texttt{\% mkdir -p /usr/local}\\
@@ -158,16 +165,21 @@
    \footnotesize 
    \begin{itemize}     
-	   \item<1-> Set the \texttt{NCARG\underline{ }ROOT} environment variable and your search path to where NCL/NCARG resides\\
-	   csh: \texttt{setenv NCARG\underline{ }ROOT /usr/local/}\\
-	   \hspace{1.6em} \texttt{setenv PATH /usr/local/bin:\$PATH}\\
-	   bash/ksh: \texttt{export NCARG\underline{ }ROOT=/usr/local/}\\
-	   \hspace{4.1em} \texttt{export PATH=/usr/local/bin:\$PATH}\\
-	   \vspace{3mm}
-      \item<2-> Set the DISPLAY environment variable to indicate where to display graphics as for any X11 Windows application that you run\\
-      e.g. ksh: \texttt{export DISPLAY=localhost:13.0}, or use \texttt{ssh -X} to tunnel X-communication.\\
+      \item<1-> Set the \texttt{NCARG\underline{ }ROOT} environment variable and
+                your search path to where NCL/NCARG resides\\
+                csh: \texttt{setenv NCARG\underline{ }ROOT /usr/local/}\\
+                \hspace{1.6em} \texttt{setenv PATH /usr/local/bin:\$PATH}\\
+                bash/ksh: \texttt{export NCARG\underline{ }ROOT=/usr/local/}\\
+                \hspace{4.1em} \texttt{export PATH=/usr/local/bin:\$PATH}\\
+      \vspace{3mm}
+      \item<2-> Set the DISPLAY environment variable to indicate where to 
+                display graphics as for any X11 Windows application that you 
+                run\\
+                e.g. ksh: \texttt{export DISPLAY=localhost:13.0}, or use 
+                \texttt{ssh -X} to tunnel X-communication.\\
       \vspace{3mm}
       \item<3-> Test your NCL installation\\
-      \quad \texttt{\% ng4ex gsun01}\\
-      NCL script gsun01n.ncl is copied to your working directory and run through NCL. An X11 window should pop up.
+                \quad \texttt{\% ng4ex gsun01}\\
+                NCL script gsun01n.ncl is copied to your working directory and 
+                run through NCL. An X11 window should pop up.
    \end{itemize}  
 
@@ -179,17 +191,23 @@
    \footnotesize 
    \begin{itemize}     
-	   \item<1-> Together with the PALM installation you have also received four NCL scripts, a configuration file and a manual; they can be found in the directory\\
-	   \texttt{\$HOME/palm/current\underline{ }version/trunk/SCRIPTS/NCL/}
-      \item<2-> All standard netCDF data output of PALM can be visualized by one of the scripts:
-      \begin{itemize}
-         \scriptsize
-         \item[-]<2-> \texttt{cross\underline{ }sections.ncl} (2D/3D data, e.g. contour or vector plots)
-         \item[-]<2-> \texttt{profiles.ncl} (profile data)
-         \item[-]<2-> \texttt{timeseries.ncl} (time series data)
-         \item[-]<2-> \texttt{spectra.ncl} (spectra data)
-      \end{itemize}  
-      \item<3-> To run these NCL scripts you can use the shell script \texttt{palmplot} which can be found in the directory\\
-      \texttt{\$HOME/palm/current\underline{ }version/trunk/SCRIPTS}
-      \item<4-> The output of the plots can be changed with several parameters; these parameters can be either written in the prompt (when calling the shell script \texttt{palmplot}) or modified within the configuration file \texttt{.ncl.config}
+      \item<1-> Together with the PALM installation you have also received four NCL scripts, a configuration file and a manual; they can be found in the directory\\
+                \texttt{\$HOME/palm/current\underline{ }version/trunk/SCRIPTS/NCL/}
+      \item<2-> All standard netCDF data output of PALM can be visualized by one
+                of the scripts:
+                \begin{itemize}
+                   \scriptsize
+                   \item[-]<2-> \texttt{cross\underline{ }sections.ncl} 
+                                (2D/3D data, e.g. contour or vector plots)
+                   \item[-]<2-> \texttt{profiles.ncl} (profile data)
+                   \item[-]<2-> \texttt{timeseries.ncl} (time series data)
+                   \item[-]<2-> \texttt{spectra.ncl} (spectra data)
+                \end{itemize}  
+      \item<3-> To run these NCL scripts you can use the shell script 
+                \texttt{palmplot} which can be found in the directory\\
+                \texttt{\$HOME/palm/current\underline{ }version/trunk/SCRIPTS}
+      \item<4-> The output of the plots can be changed with several parameters;
+                these parameters can be either written in the prompt 
+                (when calling the shell script \texttt{palmplot}) or set 
+                within the configuration file \texttt{.ncl.config}
    \end{itemize}  
 
@@ -203,7 +221,14 @@
    \small
    \begin{itemize}     
-	   \item[-]<1-> Please create a personal configuration file by copying the default configuration file \texttt{.ncl.config.default} to the PALM working directory \texttt{\$HOME/palm/current\underline{ }version} and naming it \texttt{.ncl.config}
-	   \item[-]<2-> \texttt{.ncl.config} is used by NCL directly, thus the parameters have to be written according to the rules of the scripting language NCL
-	   \item[-]<3-> The configuration file contains all steering parameters with a short description and can be modified to personal needs
+      \item[-]<1-> Please create a personal configuration file by copying 
+                   the default configuration file 
+                   \texttt{.ncl.config.default} to the PALM working 
+                   directory \texttt{\$HOME/palm/current\underline{ }version}
+                   and naming it \texttt{.ncl.config}
+      \item[-]<2-> \texttt{.ncl.config} is used by NCL directly, thus the 
+                   parameters have to be written according to the rules of the 
+                   scripting language NCL
+      \item[-]<3-> The configuration file contains all steering parameters with 
+                   a short description and can be adjusted to personal needs
    \end{itemize}  
 
@@ -217,17 +242,20 @@
    \footnotesize
    \begin{itemize}     
-	   \item[-]<1-> The shell script is used as follows:\\
-      \texttt{palmplot <plot\underline{ }identifier>}
-      \item[-]<1-> \texttt{<plot\underline{ }identifier>} has to be \texttt{xy}, \texttt{xz}, \texttt{yz}, \texttt{pr}, \texttt{sp} or \texttt{ts} depending on the data to be plotted
+      \item[-]<1-> The shell script is used as follows:\\
+                   \texttt{palmplot <plot\underline{ }identifier>}
+      \item[-]<1-> \texttt{<plot\underline{ }identifier>} has to be \texttt{xy},
+                   \texttt{xz}, \texttt{yz}, \texttt{pr}, \texttt{sp} or 
+                   \texttt{ts} depending on the data to be plotted
    \end{itemize}     
    \vspace{3mm}
-   \onslide<2->\begin{tabular}{ccc}
-      \textbf{plot\underline{ }identifier} & \textbf{data used} & \textbf{ncl script}\\
-	   xy & instantaneous or time-averaged xy or 3D data & cross\underline{ }sections.ncl\\
-	   xz & instantaneous or time-averaged xz or 3D data & cross\underline{ }sections.ncl\\
-	   yz & instantaneous or time-averaged yz or 3D data & cross\underline{ }sections.ncl\\
-	   pr & profile or 3D data & profiles.ncl\\
-	   sp & spectra data & spectra.ncl\\
-	   ts & time series data & timeseries.ncl\\ 
+   \onslide<2->
+      \begin{tabular}{ccc}
+         \textbf{plot\underline{ }identifier} & \textbf{data used} & \textbf{ncl script}\\
+         xy & instantaneous or time-averaged xy or 3D data & cross\underline{ }sections.ncl\\
+         xz & instantaneous or time-averaged xz or 3D data & cross\underline{ }sections.ncl\\
+         yz & instantaneous or time-averaged yz or 3D data & cross\underline{ }sections.ncl\\
+         pr & profile or 3D data & profiles.ncl\\
+         sp & spectra data & spectra.ncl\\
+         ts & time series data & timeseries.ncl\\ 
    \end{tabular}
 
@@ -241,17 +269,27 @@
    \footnotesize
    \begin{itemize}     
-	   \item[-]<1-> To change the output of the plot you can also use:\\
-      \scriptsize \texttt{palmplot \textbf{plot\underline{ }identifier} parameter=value parameter=string ...} 
+      \item[-]<1-> To change the output of the plot you can also use:\\
+                   \scriptsize 
+                   \texttt{palmplot \textbf{plot\underline{ }identifier} 
+                   parameter=value parameter=string ...} 
       \footnotesize \\
       \vspace{2mm}
-      \item[-]<2-> A list of all available parameters can be found in the configuration file \texttt{.ncl.config} or in the documentation:\\
-      \uncover<3->{\texttt{http://palm.muk.uni-hannover.de/wiki/doc/app/nclparlist}}\\
+      \item[-]<2-> A list of all available parameters can be found in the 
+                   configuration file \texttt{.ncl.config} or in the 
+                   documentation:\\
+                   \uncover<3->{\texttt{http://palm.muk.uni-hannover.de/wiki/doc/app/nclparlist}}\\
       \vspace{2mm}
-      \item[-]<4-> Parameters specified in the prompt override parameters given in the configuration file\\
+      \item[-]<4-> Parameters specified in the prompt override parameters given
+                   in the configuration file\\
       \vspace{2mm}
-      \item[-]<5-> String parameters which can contain lists (\texttt{var}, \texttt{c\underline{ }var}, \texttt{vec1}, \texttt{vec2}, \texttt{plotvec}) have to be set in single quotes and the list itself has to be separated by blanks, e.g. \texttt{var='pt u w'}\\
+      \item[-]<5-> String parameters which can contain lists (\texttt{var}, 
+                   \texttt{c\underline{ }var}, \texttt{vec1}, \texttt{vec2}, 
+                   \texttt{plotvec}) have to be set in single quotes and the 
+                   list itself has to be separated by blanks, e.g. 
+                   \texttt{var='pt u w'}\\
       \vspace{2mm}
-      \item[-]<1-> A short introduction for using the shell script is given by typing\\
-      \texttt{palmplot ?}
+      \item[-]<6-> A short introduction for using the shell script is given by 
+                   typing\\
+                   \texttt{palmplot ?}
    \end{itemize}     
 
@@ -260,19 +298,22 @@
 % Folie 12
 \begin{frame}
-   \frametitle{Application Example: Visualization of the Output of the Example Run (example\underline{ }cbl) (I)}
-   \small
-   \begin{itemize}     
-	   \item<1-> Starting the example run with the command\\
-	   \vspace{2mm}
-      \texttt{mrun -d example\underline{ }cbl ... -r 'd3\# pr\# ts\# xy\# xz\#'}\\
-      \vspace{2mm}
-      results in the following output files in\\
-      \vspace{2mm}
-      \texttt{\$HOME/palm/current\underline{ }version/JOBS/example\underline{ }cbl/OUTPUT/}:\\
-      \texttt{example\underline{ }cbl\underline{ }pr.nc}, \texttt{example\underline{ }cbl\underline{ }xy.nc}, \texttt{example\underline{ }cbl\underline{ }xz.nc},\\
-      \texttt{example\underline{ }cbl\underline{ }ts.nc}
+   \frametitle{Application Example: Visualization of the Output of the Example 
+               Run (example\underline{ }cbl) (I)}
+   \small
+   \begin{itemize}     
+      \item<1-> Starting the example run with the command\\
+                \vspace{2mm}
+                \texttt{mrun -d example\underline{ }cbl ... -r
+                        'd3\# pr\# ts\# xy\# xz\#'}\\
+                \vspace{2mm}
+                results in the following output files in\\
+                \vspace{2mm}
+                \texttt{\$HOME/palm/current\underline{ }version/JOBS/example\underline{ }cbl/OUTPUT/}:\\
+                \texttt{example\underline{ }cbl\underline{ }pr.nc}, \texttt{example\underline{ }cbl\underline{ }xy.nc}, \texttt{example\underline{ }cbl\underline{ }xz.nc},\\
+                \texttt{example\underline{ }cbl\underline{ }ts.nc}
       \item<2-> Example: Visualization of the time series data\\
-      \vspace{2mm}
-      Goal: Output as eps-file \texttt{timeseries.eps} (by default the plot would be output to an X11 window)
+                \vspace{2mm}
+                Goal: Output as eps-file \texttt{timeseries.eps} (by default the
+                plot would be output to an X11 window)
    \end{itemize}     
 
@@ -281,17 +322,19 @@
 % Folie 13
 \begin{frame}
-   \frametitle{Application Example: Visualization of the Output of the Example Run (example\underline{ }cbl) (II)}
-   \small
-   \begin{itemize}     
-	   \item<1-> In order to reach the goal you can either ...
+   \frametitle{Application Example: Visualization of the Output of the Example 
+               Run (example\underline{ }cbl) (II)}
+   \small
+   \begin{itemize}     
+      \item<1-> In order to reach the goal you can either ...
       \item<1-> ... Change to the directory\\
-      \texttt{\$HOME/palm/current\underline{ }version/JOBS/example\underline{ }cbl/OUTPUT/}\\
-      and use the shell script with the command\\
-      \vspace{2mm}
-      \texttt{palmplot ts file\underline{ }1=example\underline{ }cbl\underline{ }ts.nc format\underline{ }out=eps file\underline{ }out=timeseries}\\
-      \vspace{2mm}
-      Thus, the script \texttt{timeseries.ncl} is called and some of the parameters in the configuration file \texttt{.ncl.config} are directly set by specifying the related parameters in the command line,\\
-      \vspace{2mm}
-      \onslide<2-> e.g. \texttt{file\underline{ }1 = <netCDF file>} \textbf{(Note: the input file has always to be specified!)}, \texttt{file\underline{ }out = <output file>}
+                \texttt{\$HOME/palm/current\underline{ }version/JOBS/example\underline{ }cbl/OUTPUT/}\\
+                and use the shell script with the command\\
+                \vspace{2mm}
+                \texttt{palmplot ts file\underline{ }1=example\underline{ }cbl\underline{ }ts.nc format\underline{ }out=eps file\underline{ }out=timeseries}\\
+                \vspace{2mm}
+                Thus, the script \texttt{timeseries.ncl} is called and some of the parameters in the configuration file \texttt{.ncl.config} are directly set by specifying the related parameters in the command line,\\
+                \vspace{2mm}
+                \onslide<2-> e.g. \texttt{file\underline{ }1 = <netCDF file>} 
+                \textbf{(Note: the input file has always to be specified!)}, \texttt{file\underline{ }out = <output file>}
    \end{itemize}     
 
@@ -300,5 +343,6 @@
 % Folie 14
 \begin{frame}
-   \frametitle{Application Example: Visualization of the Output of the Example Run (example\underline{ }cbl) (III)}
+   \frametitle{Application Example: Visualization of the Output of the Example 
+               Run (example\underline{ }cbl) (III)}
    \footnotesize
    ... or you can modify the configuration file \texttt{.ncl.config}, e.g.\\
@@ -318,12 +362,14 @@
 % Folie 15
 \begin{frame}
-   \frametitle{Application Example: Visualization of the Output of the Example Run (example\underline{ }cbl) (IV)}
+   \frametitle{Application Example: Visualization of the Output of the Example 
+               Run (example\underline{ }cbl) (IV)}
    \footnotesize
    \begin{itemize}
-      \item<1-> Both ways will lead to the creation of a new file called \texttt{timeseries.eps} in the directory\\
-      \texttt{\$HOME/palm/current\underline{ }version/JOBS/example\underline{ }cbl/OUTPUT/}
+      \item<1-> Both ways will create a new file called \texttt{timeseries.eps} 
+                in the directory\\
+               \texttt{\$HOME/palm/current\underline{ }version/JOBS/example\underline{ }cbl/OUTPUT/}
    \end{itemize}
    \centering
-   \onslide<2->\includegraphics[scale=0.4]{ncl_figures/vis1.png}
+   \onslide<2->\includegraphics[scale=0.25]{ncl_figures/vis1.png}
    
 \end{frame}
@@ -331,5 +377,6 @@
 % Folie 16
 \begin{frame}
-   \frametitle{Application Example: Visualization of the Output of the Example Run (example\underline{ }cbl) (V)}
+   \frametitle{Application Example: Visualization of the Output of the Example 
+               Run (example\underline{ }cbl) (V)}
    \footnotesize
    \begin{itemize}
@@ -341,5 +388,5 @@
    \end{itemize}
    \centering
-   \onslide<2->\includegraphics[scale=0.7]{ncl_figures/vis2.png}
+   \onslide<2->\includegraphics[scale=0.3]{ncl_figures/vis2.png}
    
 \end{frame}
@@ -348,5 +395,6 @@
 \begin{frame}[t]
    \tikzstyle{plain} = [rectangle, text width=0.27\textwidth, font=\small]
-   \frametitle{Application Example: Visualization of the Output of the Example Run (example\underline{ }cbl) (VI)}
+   \frametitle{Application Example: Visualization of the Output of the Example 
+               Run (example\underline{ }cbl) (VI)}
    \footnotesize
    Plot profiles with the command\\
@@ -367,5 +415,6 @@
       \node at (current page.north west){%
       \begin{tikzpicture}[overlay]
-         \node[plain,anchor=west] at (72mm,-51.5mm) {\includegraphics[scale=0.32]{ncl_figures/vis3.png}};
+         \node[plain,anchor=west] at (72mm,-51.5mm) 
+              {\includegraphics[scale=0.32]{ncl_figures/vis3.png}};
       \end{tikzpicture}
       };
@@ -379,7 +428,16 @@
    \small
    \begin{itemize}     
-	   \item<1-> The other NCL scripts delivered with PALM can be used in a similar way, however the parameters that can be specified differ from script to script
-	   \item<2-> There are plenty of parameters for each script. Please have a look to the NCL documentation (\texttt{http://palm.muk.uni-hannover.de/wiki/doc/app/nclparlist}) for detailed information 
-      \item<1-> If one of the program aborts and there is no comment, check the configuration file - the scripts should not abort with the default values. Be sure to use the right data type (e.g.: integer = 2; float = 2.0; double = 2.0d; string = \dq name\dq )  
+      \item<1-> The other NCL scripts delivered with PALM can be used in 
+                a similar way, however the parameters that can be specified 
+                differ from script to script
+      \item<2-> There are plenty of parameters for each script. Please have a 
+                look to the NCL documentation 
+                (\texttt{http://palm.muk.uni-hannover.de/wiki/doc/app/nclparlist})
+                for detailed information 
+      \item<3-> If one of the program aborts and there is no comment, 
+                check the configuration file - the scripts should not abort with
+                the default values. Be sure to use the right data type 
+                (e.g.: integer = 2; float = 2.0; double = 2.0d; 
+                string = \dq name\dq )  
    \end{itemize}   
 \end{frame}
Index: palm/trunk/TUTORIAL/SOURCE/non_cyclic_boundary_conditions.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/non_cyclic_boundary_conditions.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/non_cyclic_boundary_conditions.tex	(revision 1515)
@@ -6,5 +6,4 @@
 \usepackage{ngerman}
 \usepackage{pgf}
-\usetheme{Dresden}
 \usepackage{subfigure}
 \usepackage{units}
@@ -23,5 +22,6 @@
 \usepackage{pdfcomment}
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -42,5 +42,5 @@
 
 \title[PALM - Using Non-Cyclic Boundary Conditions]{PALM - Using Non-Cyclic Boundary Conditions}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 % Notes:
@@ -106,5 +106,5 @@
    \frametitle{Implications of Non-Cyclic Boundary Conditions}
    \footnotesize
-   \onslide<2->{Using Dirichlet-conditions (e.g u(z) = const.), there is no turbulence at the inflow. $\rightarrow $the flow is laminar $\rightarrow$ LES approach fails!}
+   \onslide<2->{Using Dirichlet-conditions (e.g u(z) = const.), there is no turbulence at the inflow. \quad $\rightarrow$ the flow is laminar \quad $\rightarrow$ LES approach fails!}
    \par\bigskip
    \includegraphics<3|handout:0>[width=0.8\textwidth]{non_cyclic_figures/implications_non_cyclic_1.png}
@@ -179,31 +179,34 @@
 \begin{frame}
    \frametitle{How to Create a Turbulent Inflow (III)}
-   \footnotesize
+   \scriptsize
    \begin{itemize}
       \item{Inflow profiles for the main run have to be taken from the precursor run. It is recommended to use the horizontally averaged profiles from 
             the last time step of the precursor run.}
-   \end{itemize}
+      \item<2->{Alternatively, $u$,$v$-profiles can be prescribed by parameters \texttt{u\_profile}, \texttt{v\_profile}. They should match the turbulence state of the flow.}
+   \end{itemize}
+   \vspace{-4mm}
    \tikzstyle{line1} = [draw, red, thick, -latex'] 
    \tikzstyle{line2} = [draw, red, thick, -] 
    \begin{tikzpicture}
-      \uncover<2>{\node(picture) {\includegraphics[width=0.4\textwidth]{non_cyclic_figures/create_turbulent_inflow_3/create_turbulent_inflow_1.png}};}
-      \uncover<3->{\node(picture) {\includegraphics[width=0.4\textwidth]{non_cyclic_figures/create_turbulent_inflow_3/create_turbulent_inflow_2.png}};}
+      \uncover<3>{\node(picture) {\includegraphics[width=0.4\textwidth]{non_cyclic_figures/create_turbulent_inflow_3/create_turbulent_inflow_1.png}};}
+      \uncover<4->{\node(picture) {\includegraphics[width=0.4\textwidth]{non_cyclic_figures/create_turbulent_inflow_3/create_turbulent_inflow_2.png}};}
       \node(text) [right=0.1cm of picture]{
          \parbox{6.5cm}{
          \scriptsize
+         \vspace{3mm}
          \begin{itemize}
-         \item<6->{Since the height of the turbulent boundary layer may increase with increasing distance from the inflow boundary, recycling has 
+         \item<7->{Since the height of the turbulent boundary layer may increase with increasing distance from the inflow boundary, recycling has 
                to be limited to the height of the turbulent boundary layer at the inflow. Otherwise, the boundary layer height will continuously increase with time.}
          \end{itemize}}};
-   \uncover<4>{\node(picture2) [below=1.8cm of picture.east] {\includegraphics[width=0.8\textwidth]{non_cyclic_figures/create_turbulent_inflow_3/create_turbulent_inflow_3.png}};}
-   \uncover<5-6>{\node(picture2) [below=1.8cm of picture.east] {\includegraphics[width=0.8\textwidth]{non_cyclic_figures/create_turbulent_inflow_3/create_turbulent_inflow_4.png}};}
-   \uncover<7>{\node(picture2) [below=1.8cm of picture.east] {\includegraphics[width=0.8\textwidth]{non_cyclic_figures/create_turbulent_inflow_3/create_turbulent_inflow_5.png}};}
-   \uncover<8>{\node(picture2) [below=1.8cm of picture.east] {\includegraphics[width=0.8\textwidth]{non_cyclic_figures/create_turbulent_inflow_3/create_turbulent_inflow_6.png}};}
-   \uncover<9>{\node(picture2) [below=1.8cm of picture.east] {\includegraphics[width=0.8\textwidth]{non_cyclic_figures/create_turbulent_inflow_3/create_turbulent_inflow_7.png}};}
+   \uncover<5>{\node(picture2) [below=1.8cm of picture.east] {\includegraphics[width=0.8\textwidth]{non_cyclic_figures/create_turbulent_inflow_3/create_turbulent_inflow_3.png}};}
+   \uncover<6-7>{\node(picture2) [below=1.8cm of picture.east] {\includegraphics[width=0.8\textwidth]{non_cyclic_figures/create_turbulent_inflow_3/create_turbulent_inflow_4.png}};}
+   \uncover<8>{\node(picture2) [below=1.8cm of picture.east] {\includegraphics[width=0.8\textwidth]{non_cyclic_figures/create_turbulent_inflow_3/create_turbulent_inflow_5.png}};}
+   \uncover<9>{\node(picture2) [below=1.8cm of picture.east] {\includegraphics[width=0.8\textwidth]{non_cyclic_figures/create_turbulent_inflow_3/create_turbulent_inflow_6.png}};}
+   \uncover<10>{\node(picture2) [below=1.8cm of picture.east] {\includegraphics[width=0.8\textwidth]{non_cyclic_figures/create_turbulent_inflow_3/create_turbulent_inflow_7.png}};}
       
-   \path<5->[line2] (picture.east) -- (2.25,-1.3);
-   \path<5->[line2] (2.25,-1.3)    -- (-1.2,-1.3);
-   \path<5->[line2] (-1.2,-1.3)    -- (-1.2,-3.2);
-   \path<5->[line1] (-1.2,-3.2)      -- (-0.8,-3.2);
+   \path<6->[line2] (picture.east) -- (2.25,-1.3);
+   \path<6->[line2] (2.25,-1.3)    -- (-1.2,-1.3);
+   \path<6->[line2] (-1.2,-1.3)    -- (-1.2,-3.2);
+   \path<6->[line1] (-1.2,-3.2)      -- (-0.8,-3.2);
    \end{tikzpicture}
 \end{frame}
@@ -236,9 +239,9 @@
    \small
    \textbf{Further requirements for PALM runs using non-cyclic boundary conditions:}
-   \par\bigskip
+   \par\smallskip
    \begin{itemize}
       \item<2->{The \textbf{multigrid-method} has to be used for solving the Poisson-equation.}
       \item<3->{A \textbf{damping zone} has sometimes to be activated in the vicinity of the in- and outflow in order to avoid reflection of gravity waves.}
-      \item<4->{\textbf{Volume flow conservation} should be activated, because otherwise flow acceleration or deceleration may occur along the non-cyclic direction.}
+      \item<4->{\textbf{Volume flow conservation} may have to be activated, because flow acceleration or deceleration may appear along the non-cyclic direction. The resulting horizontal divergence creates a mean vertical velocity.}
       \item<5->{If turbulence recycling is not used, it may be neccessary to \textbf{continuously impose perturbations} on the horizontal velocity field in the vicinity of the
                 inflow throughout the whole run, in order to maintain a turbulent state of the flow.}
@@ -311,5 +314,5 @@
       \item<2->{Restart data has to be output and output of instantaneous, horizontally averaged profiles has to be switched on and performed at the end of the run. 
                 This enables writing of profiles to the restart file, which can then be used by the main run.}
-      \item<3->{Instead of using averaged profiles from the prerun, inflow profiles for the main run can also be prescribed using parameters u\_profile and v\_profile.}
+      \item<3->{Instead of using averaged profiles from the prerun, inflow profiles for the main run can also be prescribed using parameters \texttt{u\_profile}, \texttt{v\_profile}, and \texttt{uv\_heights}.}
    \end{itemize}
    \tikzstyle{box} = [rectangle, draw, text width=\textwidth, font=\small]
Index: palm/trunk/TUTORIAL/SOURCE/numerics_bc.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/numerics_bc.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/numerics_bc.tex	(revision 1515)
@@ -21,5 +21,6 @@
 \usepackage{pdfcomment}
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -43,5 +44,5 @@
 (used in PALM)
 }
-\author{Siegfried Raasch}
+\author{PALM group}
 
 \begin{document}
Index: palm/trunk/TUTORIAL/SOURCE/ocean_version.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/ocean_version.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/ocean_version.tex	(revision 1515)
@@ -27,5 +27,6 @@
 
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -47,5 +48,5 @@
 
 \title[PALM Ocean Version]{PALM Ocean Version}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 
Index: palm/trunk/TUTORIAL/SOURCE/parallelization.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/parallelization.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/parallelization.tex	(revision 1515)
@@ -6,5 +6,4 @@
 \usepackage{ngerman}
 \usepackage{pgf}
-\usetheme{Dresden}
 \usepackage{subfigure}
 \usepackage{units}
@@ -27,5 +26,6 @@
         \ttfamily,showstringspaces=false,captionpos=b}
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -47,5 +47,5 @@
 
 \title[Parallelization]{Parallelization}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 \begin{document}
@@ -62,9 +62,9 @@
 \begin{frame}
    \frametitle{Basics of Parallelization}
-   \tikzstyle{yellow} = [rectangle,  fill=yellow!20, text width=0.6\textwidth, font=\scriptsize]
+   \tikzstyle{yellow} = [rectangle,  fill=yellow!20, text width=0.4\textwidth, font=\tiny]
    \scriptsize
    \textbf{Parallelization:}
    \begin{itemize}
-      \item<2-> All processor elements (PE, core) are carrying out the same program (SIMD).
+      \item<2-> All processor elements (PE, core) are carrying out the same program code (SIMD).
       \item<3-> Each PE of a parallel computer operates on a different set of data.
    \end{itemize}
@@ -87,11 +87,20 @@
                \node [yellow] (1) {%
                \texttt{!\$OMP DO}\\
-               \texttt{\quad \quad DO  i = 1, 100}\\
-               \quad \quad \quad $\vdots$\\
-               \texttt{\quad \quad ENDDO}};
+               \texttt{DO  i = 1, 100}\\
+               \quad $\vdots$\\
+               \texttt{ENDDO}};
+            \end{tikzpicture}
+            \begin{tikzpicture}[auto, node distance=0]
+               \node [yellow] (2) {%
+               \texttt{!\$acc kernels}\\
+               \texttt{DO  i = 1, 100}\\
+               \quad $\vdots$\\
+               \texttt{ENDDO}};
             \end{tikzpicture}
          \end{center}
+         \vspace{-1mm}
          \onslide<8-> parallelization can easily be done by the compiler, if all PEs have access to all variables (shared memory)\\
          \onslide<10-> \textbf{shared memory model (OpenMP)}
+         \onslide<10-> \textbf{accelerator model (OpenACC)}
       \end{column}
    \end{columns}
@@ -113,5 +122,5 @@
          \node (sha_mem) at (3.5,-1) [text width=0.35\textwidth] {\footnotesize \textbf{shared} memory\\(SGI-Altix, multicore PCs)};
          \onslide<7-> \node (MPI) at (-3.5,-3) [ellipse,fill=yellow!90] {MPI};
-         \onslide<8-> \node (OpenMP) at (3.5,-3) [ellipse,fill=yellow!90] {OpenMP};         
+         \onslide<8-> \node (OpenMP) at (3.5,-3) [ellipse,fill=yellow!90, text width=0.13\textwidth] {\footnotesize OpenMP OpenACC};         
          \onslide<6-> \node (clustered_systems) at (0,-3) [draw, text width=0.15\textwidth] {clustered systems};
          \node (cs_info) at (0,-4.2) [text width=0.4\textwidth] {\footnotesize (IBM-Regatta, Linux-Cluster,
@@ -253,5 +262,5 @@
       \vspace{2mm}
       \item<12-> OpenMP parallelization as well as mixed usage of OpenMP and
-                    MPI is also possible.
+                    MPI is also realized.
    \end{itemize}
 \end{frame}
@@ -299,11 +308,11 @@
             \item<1-> The parallel version of PALM is switched on by \texttt{mrun}-option ''\texttt{-K parallel}''. Additionally, the number of required processors and the number of tasks per node (number of PEs to be used on one node) have to be provided:\\
 	         \quad \texttt{mrun ... -K parallel -X64 -T8 ...}
-	         \item<2-> From an accounting point of view, it is always most efficient to use all PEs of a node (\texttt{-T8}) (in case of a ''non-shared'' usage of nodes).
+	         \item<2-> From an accounting point of view, it is always most efficient to use all PEs of a node (e.g. \texttt{-T8}) (in case of a ''non-shared'' usage of nodes).
 	         \item<3-> If a normal unix-kernel operating system (not a micro-kernel) is running on each CPU, then there migth be a speed-up of the code, if 1-2 PEs less than the total number of PEs on the node are used.
 	         \item<4-> On machines with a comparably slow network, a 1D-decomposition (along $x$) should be used, because then only two transpositions have to be carried out by the pressure solver. A 1D-decomposition is automatically used for NEC-machines (e.g.  \texttt{-h necriam}). The virtual processor grid to be used can be set manually by d3par-parameters \texttt{npex} and \texttt{npey}.
-            \item<5-> Using the Open-MP parallelization does not yield any advantage over using a pure domain decomposition with MPI (contrary to expectations, it mostly slows down the computational speed), but this may change on cluster systems for very large number of processors ($>$10000?).\\        
+            \item<5-> Using the Open-MP parallelization does not yield any advantage over using a pure domain decomposition with MPI (contrary to expectations, it mostly slows down the computational speed), but this may change on cluster systems for very large number of processors ($>$10000?) or with Intel-Xeon-Phi accelerator boards.\\        
          \end{itemize}
          \begin{center}
-         \vspace{-7mm}
+         \vspace{-3mm}
          \onslide<4-> \includegraphics[width=0.13\textwidth]{parallelization_figures/folie_6.png}
          \end{center}
@@ -321,13 +330,7 @@
             \item<1-> MPI (message passing interface) is a portable interface for communication between PEs (FORTRAN or C library).
             \vspace{2mm}
-            \item<2-> To make MPI available on HLRNâs SGI-ICE, the module \texttt{mpt} must be loaded by setting the \texttt{\%modules} option  in .mrun.config appropriately: 
-
-	         \quad \texttt{\%modules   ...:mpt:...}	
-            \vspace{2mm}
-	         \item<3-> The path to the MPI-library may have to be given in the compiler call, by setting an appropriate option in the configuration file .mrun.config:
-
-	         \quad \texttt{\%lopts  -r8:-nbs:\textcolor{blue}{-L:<replace by mpi library path>:-lmpi}}
-            \vspace{2mm}
-	         \item<4-> All MPI calls must be within\\
+            \item<2-> MPI on the Cray-XC30 of HLRN-III is provided with module \texttt{PrgEnv-cray} which is loaded by default.
+            \vspace{2mm}
+	         \item<3-> All MPI calls must be within\\
 	         \quad \texttt{CALL MPI\_INIT( ierror )}\\
 	         \quad $\vdots$\\
@@ -399,23 +402,25 @@
             \tiny
             \vspace{2mm}
-            \quad \texttt{u(:,:,nxl\textcolor{blue}{-ngl}), u(:,:,nxr\textcolor{blue}{+ngl})    ! left and right boundary}\\
-            \quad \texttt{u(:,nys\textcolor{blue}{-ngl},:), u(:,nyn\textcolor{blue}{+ngl},:)    ! south and north boundary}\\
-            \vspace{4mm}
+            \quad \texttt{u(:,:,nxl\textcolor{blue}{-nbgp}), u(:,:,nxr\textcolor{blue}{+nbgp}) ! left and right boundary}\\
+            \quad \texttt{u(:,nys\textcolor{blue}{-nbgp},:), u(:,nyn\textcolor{blue}{+nbgp},:) ! south and north boundary}\\
+            \vspace{1mm}
+            \scriptsize The actual code uses \texttt{\textcolor{blue}{nxlg}=nxl\textcolor{blue}{-nbgp}}, etc...\\
+            \vspace{2mm}
             \item<2-> \scriptsize The exchange of ghost points is done in file \texttt{exchange\underline{\ }horiz.f90}\\
             \textbf{\underline{Simplified} example:} synchroneous exchange of ghost points along $x$ ($yz$-planes, send left, receive right plane):\\
             \tiny
             \vspace{2mm}
-            \quad \texttt{CALL MPI\underline{\ }SENDRECV( ar(nzb,nys-\textcolor{blue}{ngl},nxl),   ngp\underline{\ }yz, MPI\underline{\ }REAL, pleft,  0,}\\
-            \quad \texttt{\hspace{9.5em}ar(nzb,nys-\textcolor{blue}{ngl},nxr+1), ngp\underline{\ }yz, MPI\underline{\ }REAL, pright, 0,}\\
+            \quad \texttt{CALL MPI\underline{\ }SENDRECV( ar(nzb,\textcolor{blue}{nysg},nxl),   ngp\underline{\ }yz, MPI\underline{\ }REAL, pleft,  0,}\\
+            \quad \texttt{\hspace{9.5em}ar(nzb,\textcolor{blue}{nysg},nxr+1), ngp\underline{\ }yz, MPI\underline{\ }REAL, pright, 0,}\\
             \quad \texttt{\hspace{9.5em}comm2d, status, ierr )}\\
-            \vspace{4mm}
+            \vspace{2mm}
             \item<3-> \scriptsize In the real code special MPI data types (vectors) are defined for exchange of $yz$/$xz$-planes for performance reasons and because array elements to be exchanged are not consecutively stored in memory for $xz$-planes:\\
             \tiny
             \vspace{2mm}
-            \quad \texttt{ngp\underline{\ }yz(0) = (nzt - nzb + 2) * (nyn - nys + 1 + 2 * \textcolor{blue}{ngl} )}\\
-            \quad \texttt{CALL MPI\underline{\ }TYPE\underline{\ }VECTOR( \textcolor{blue}{ngl}, ngp\underline{\ }yz(0), ngp\underline{\ }yz(0), MPI\underline{\ }REAL, type\underline{\ }yz(0), ierr )}\\ 
+            \quad \texttt{ngp\underline{\ }yz(0) = (nzt - nzb + 2) * (nyn - nys + 1 + 2 * \textcolor{blue}{nbgp} )}\\
+            \quad \texttt{CALL MPI\underline{\ }TYPE\underline{\ }VECTOR( \textcolor{blue}{nbgp}, ngp\underline{\ }yz(0), ngp\underline{\ }yz(0), MPI\underline{\ }REAL, type\underline{\ }yz(0), ierr )}\\ 
             \quad \texttt{CALL MPI\underline{\ }TYPE\underline{\ }COMMIT( type\underline{\ }yz(0), ierr )   ! see file init\underline{\ }pegrid.f90}\\
             \ \\
-            \quad \texttt{CALL MPI\underline{\ }SENDRECV( ar(nzb,nys-ngl,nxl), 1, type\underline{\ }yz(grid\underline{\ }level), pleft, 0, ...}\\
+            \quad \texttt{CALL MPI\underline{\ }SENDRECV( ar(nzb,\textcolor{blue}{nysg},nxl), 1, type\underline{\ }yz(grid\underline{\ }level), pleft, 0, ...}\\
          \end{itemize}       
 \end{frame}
@@ -432,12 +437,12 @@
             \item<2-> The following example is for a transposition from $x$ to $y$, i.e. for the input array all data elements along $x$ reside on the same PE, while after the transposition, all elements along $y$ are on the same PE:\\
             \ \\
-            \scriptsize
+            \tiny
             \texttt{!}\\
             \texttt{!--   in SUBROUTINE transpose\underline{\ }xy:}\\
-      	   \texttt{CALL MPI\underline{\ }ALLTOALL( f\underline{\ }inv(nys\underline{\ }x,nzb\underline{\ }x,0), sendrecvcount\underline{\ }xy, MPI\underline{\ }REAL, \&}\\
-      	   \texttt{\hspace{9.5em}work(1), \hspace{6.5em}sendrecvcount\underline{\ }xy, MPI\underline{\ }REAL, \&}\\
+      	   \texttt{CALL MPI\underline{\ }ALLTOALL( f\underline{\ }inv(nys\underline{\ }x,nzb\underline{\ }x,0), \hspace{1em}sendrecvcount\underline{\ }xy, MPI\underline{\ }REAL, \&}\\
+      	   \texttt{\hspace{9.5em}work(1,nzb\underline{\ }y, nxl\underline{\ }y,0), sendrecvcount\underline{\ }xy, MPI\underline{\ }REAL, \&}\\
       	   \texttt{\hspace{9.5em}comm1dy, ierr )}\\
       	   \ \\
-      	   \item<3-> The data resorting before and after the calls of MPI\_ALLTOALL is highly optimized to account for the different processor architectures.
+      	   \item<3-> The data resorting before and after the calls of MPI\_ALLTOALL is highly optimized to account for the different processor architectures and even allows for overlapping communication and calculation.
          \end{itemize}
       \end{column}
@@ -494,4 +499,23 @@
 %Folie 14
 \begin{frame}
+   \frametitle{PALM Parallel I/O for 2D/3D Data with netCDF4/HDF5} 
+   \footnotesize
+   \begin{itemize}
+      \item<1-> The Cray XC30 of HLRN-III allows direct parallel I/O to a netCDF file
+      \vspace{2mm}
+      \item<2-> modules \texttt{cray\_hdf5\_parallel} and \texttt{cray\_netcdf\_hdf5parallel} have to be loaded
+      \vspace{2mm}
+      \item<3-> cpp-switches \texttt{-D\_\_netcdf}, \texttt{-D\_\_netcdf4}, \texttt{-D\_\_netcdf4\_parallel} have to be set
+      \vspace{2mm}
+      \item<4-> Both is done in the default HLRN-III block of the configuration file (\texttt{lccrayh})
+      \vspace{2mm}
+      \item<5-> \texttt{d3par}-parameter \texttt{netcdf\_data\_format=5} has to be set in the parameter file
+      \vspace{2mm}
+      \item<6-> \texttt{combine\_plot\_fields.x} is not required in this case
+   \end{itemize}
+\end{frame}
+
+%Folie 15
+\begin{frame}
    \frametitle{Performance Examples (I)} 
    \begin{itemize}
@@ -520,5 +544,5 @@
 \end{frame}
 
-%Folie 15
+%Folie 16
 \begin{frame}
    \frametitle{Performance Examples (II)} 
@@ -535,5 +559,5 @@
          \begin{column}{0.5\textwidth}
             \vspace{35mm}
-            \onslide<2-> currently largest simulation feasible on that system:\\
+            \onslide<2-> largest simulation feasible on that system:\\
             \ \\
             $4096^3$ grid points
@@ -542,5 +566,5 @@
 \end{frame}
 
-%Folie 16
+%Folie 17
 \begin{frame}
    \frametitle{Performance Examples (III)} 
Index: palm/trunk/TUTORIAL/SOURCE/particle_model_cloud_physics.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/particle_model_cloud_physics.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/particle_model_cloud_physics.tex	(revision 1515)
@@ -6,5 +6,4 @@
 \usepackage{ngerman}
 \usepackage{pgf}
-\usetheme{Dresden}
 \usepackage{subfigure}
 \usepackage{units}
@@ -28,5 +27,6 @@
         \ttfamily,showstringspaces=false,captionpos=b}
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -48,5 +48,5 @@
 
 \title[PALM's Lagrangian Particle Model]{PALM's Lagrangian Particle Model}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 \begin{document}
@@ -80,5 +80,4 @@
 	      \item Particle transport by the subgrid-scale (SGS) turbulence can be included by switching on a stochastic SGS model for the particle transport (parameter: \texttt{use\underline{ }sgs\underline{ }for\underline{ }particles})
 	      \item Particles can be given a mass and thus an \textbf{inertia} and a \textbf{radius} which affects their \textbf{flow resistance} (parameter: \texttt{density\underline{ }ratio}, \texttt{radius})
-	      \item Tails can be added to the particles (showing the particle trajectories) for visualization purpose using the special visualization package \textbf{dvrp}
       \end{itemize}   
    \end{itemize}   
@@ -166,5 +165,5 @@
       
       % Add Labels
-      \node at (1,-0.25) {\scriptsize \texttt{ps1} (default 0.0)}; 
+      \node at (1,-0.25) {\scriptsize \texttt{psl} (default 0.0)}; 
       \node at (4.25,-0.25) {\scriptsize \texttt{psr} (default \texttt{nx*dx})}; 
       \node at (7,0) {\scriptsize \texttt{pss} (default 0.0)}; 
@@ -212,5 +211,5 @@
       \draw[dashed, ultra thick, color=blue] (rd1) -- (rd2);
       \node at (2,0) {2};
-      \node at (1,-0.25) {\scriptsize \texttt{pdx}};
+      \node at (1,-0.25) {\footnotesize \texttt{pdx}};
       \onslide<3->
       \node[circle, draw, thick, fill=red!90, scale=1.1] (rd3) at (4,0) {};
@@ -225,5 +224,5 @@
       \draw[dashed, ultra thick, color=darkgreen] (rd1) -- (rd4);      
       \node at (1.5,1.125) {4};  
-      \node at (1.1,0.43) {\scriptsize \texttt{pdy}};
+      \node at (1.1,0.43) {\footnotesize \texttt{pdy}};
       \onslide<7->
       \node[circle, draw, thick, fill=red!90, scale=1.1] (rd5) at (3.5,1.125) {};
@@ -242,5 +241,5 @@
       \draw[dashed, ultra thick, color=darkred] (rd1) -- (rd7);
       \node at (0,2.2) {7};
-      \node at (0.3,1.3) {\scriptsize \texttt{pdz}};
+      \node at (0.32,1.3) {\footnotesize \texttt{pdz}};
       \onslide<11->
       \node[circle, draw, thick, fill=red!90, scale=1.1] (rd8) at (2,2.2) {};
@@ -281,7 +280,7 @@
       
       % Add text
-      \node at (9.0,3) [scale=0.8] {%
+      \node at (9.2,3) [scale=0.99] {%
       \begin{tikzpicture}
-         \node[text width=11em] {\scriptsize \texttt{maximum\underline{ }number\underline{ }of\underline{ }particles} number of particles (per PE) for that memory must be allocated at the beginning of a run; this number must be $\ge$ the initial number of particles \textbf{per subdomain(!)}.\\ \ \\ \textbf{Attention:} If netCDF output of particle data is switched on, \texttt{maximum\underline{ }number\underline{ }of\underline{ }particles} must be $\ge$ the maximum number of particles per subdomain observed throughout the complete run!\\ \ \\ Choosing a too large value may cause memory problems!\\};
+         \node[text width=11em] {\footnotesize Choosing a too large number of particles may cause memory problems!\\};
       \end{tikzpicture}
       };      
@@ -487,247 +486,7 @@
 \end{frame}
 
-% Folie 9
+% Folie 12
 \begin{frame}[t]
    \frametitle{Basic Particle Parameters (VI)}
-   \small
-   \vspace{-2mm}
-   Parameter \texttt{dt\underline{ }sort\underline{ }particles} that improves the performance of a simulation with (many) particles:
-
-   \onslide<2->
-   \begin{tikzpicture}[remember picture, overlay]
-      \node [shift={(1 cm,2.5cm)}]  at (current page.south west)
-         {%
-         \begin{tikzpicture}[remember picture, overlay]
-            \node at (2.5,4.2) {$t=t_0$:};
-            \draw[-] (0,0) -- (5,0);
-            \draw[-] (0,1) -- (5,1);
-            \draw[-] (0,2) -- (5,2);
-            \draw[-] (0,3) -- (5,3);
-            \draw[-] (0,0) -- (0,4);
-            \draw[-] (1,0) -- (1,4);            
-            \draw[-] (2,0) -- (2,4);             
-            \draw[-] (3,0) -- (3,4); 
-            \draw[-] (4,0) -- (4,4);            
-            \draw[-] (5,4) -- (5,0);
-            \draw[-] (0,4) -- (5,4);
-            
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd1) at (0.25,0.5) {};
-            \node[scale=0.8] at (rd1) {1};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd2) at (0.75,0.5) {};
-            \node[scale=0.8] at (rd2) {2};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd3) at (1.25,0.5) {};
-            \node[scale=0.8] at (rd3) {3};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd4) at (1.75,0.5) {};
-            \node[scale=0.8] at (rd4) {4};      
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd5) at (2.25,0.5) {};
-            \node[scale=0.8] at (rd5) {5};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd6) at (2.75,0.5) {};
-            \node[scale=0.8] at (rd6) {6};   
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd7) at (3.25,0.5) {};
-            \node[scale=0.8] at (rd7) {7};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd8) at (3.75,0.5) {};
-            \node[scale=0.8] at (rd8) {8};      
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd9) at (4.25,0.5) {};
-            \node[scale=0.8] at (rd9) {9};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd10) at (4.75,0.5) {};
-            \node[scale=0.8] at (rd10) {10};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd11) at (0.25,2.5) {};
-            \node[scale=0.8] at (rd11) {11};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd12) at (0.75,2.5) {};
-            \node[scale=0.8] at (rd12) {12};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd13) at (1.25,2.5) {};
-            \node[scale=0.8] at (rd13) {13};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd14) at (1.75,2.5) {};
-            \node[scale=0.8] at (rd14) {14};      
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd15) at (2.25,2.5) {};
-            \node[scale=0.8] at (rd15) {15};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd16) at (2.75,2.5) {};
-            \node[scale=0.8] at (rd16) {16};   
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd17) at (3.25,2.5) {};
-            \node[scale=0.8] at (rd17) {17};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd18) at (3.75,2.5) {};
-            \node[scale=0.8] at (rd18) {18};      
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd19) at (4.25,2.5) {};
-            \node[scale=0.8] at (rd19) {19};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd20) at (4.75,2.5) {};
-            \node[scale=0.8] at (rd20) {20};  
-                   
-            \node[text width=14em] at (2.5,-0.9) {\scriptsize Particles are sorted in a way that their order follows the order in which the grid point values are stored (beneficial as the code contains many loops over all particles)\\};
-
-         \end{tikzpicture}
-         };
-      \uncover<3->{
-      \node [shift={(7 cm,2.5cm)}]  at (current page.south west)
-         {%
-         \begin{tikzpicture}[remember picture, overlay]
-
-            \node at (2.5,4.2) {$t>t_0$:};
-            \draw[-] (0,0) -- (5,0);
-            \draw[-] (0,1) -- (5,1);
-            \draw[-] (0,2) -- (5,2);
-            \draw[-] (0,3) -- (5,3);
-            \draw[-] (0,0) -- (0,4);
-            \draw[-] (1,0) -- (1,4);            
-            \draw[-] (2,0) -- (2,4);             
-            \draw[-] (3,0) -- (3,4); 
-            \draw[-] (4,0) -- (4,4);            
-            \draw[-] (5,4) -- (5,0);
-            \draw[-] (0,4) -- (5,4);
-            
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd1) at (1.75,1.3) {};
-            \node[scale=0.8] at (rd1) {1};
-         
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd2) at (1.2,2.3) {};
-            \node[scale=0.8] at (rd2) {2};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd3) at (2.3,2.3) {};
-            \node[scale=0.8] at (rd3) {3};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd4) at (3.25,1.21) {};
-            \node[scale=0.8] at (rd4) {4};      
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd5) at (3.2,2.7) {};
-            \node[scale=0.8] at (rd5) {5};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd6) at (3.25,1.7) {};
-            \node[scale=0.8] at (rd6) {6};   
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd7) at (1.25,1.6) {};
-            \node[scale=0.8] at (rd7) {7};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd8) at (3.7,0.5) {};
-            \node[scale=0.8] at (rd8) {8};      
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd9) at (3.77,1.8) {};
-            \node[scale=0.8] at (rd9) {9};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd10) at (2.6,1.3) {};
-            \node[scale=0.8] at (rd10) {10};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd11) at (2.7,0.7) {};
-            \node[scale=0.8] at (rd11) {11};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd12) at (0.21,1.3) {};
-            \node[scale=0.8] at (rd12) {12};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd13) at (0.3,2.5) {};
-            \node[scale=0.8] at (rd13) {13};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd14) at (1.75,2.5) {};
-            \node[scale=0.8] at (rd14) {14};      
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd15) at (2.3,1.7) {};
-            \node[scale=0.8] at (rd15) {15};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd16) at (2.4,2.8) {};
-            \node[scale=0.8] at (rd16) {16};   
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd17) at (4.23,0.7) {};
-            \node[scale=0.8] at (rd17) {17};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd18) at (3.77,2.6) {};
-            \node[scale=0.8] at (rd18) {18};      
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd19) at (4.23,3.3) {};
-            \node[scale=0.8] at (rd19) {19};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd20) at (3.75,1.23) {};
-            \node[scale=0.8] at (rd20) {20};  
-            
-            \node[text width=14em] at (2.5,-1.05) {\scriptsize By default, particles are not sorted after every time step, particles with subsequent numbers will need information from quite different LES grid points\\ \textcolor{red}{Bad cache utilization}\\};
-            \node at (-0.2,-1.9) {$\rightarrow$};
-         \end{tikzpicture}
-         };}
-   \end{tikzpicture} 
-\end{frame}
-
-% Folie 10
-\begin{frame}[t]
-   \frametitle{Basic Particle Parameters (VI)}
-   \small
-   \vspace{-2mm}
-   Parameter \texttt{dt\underline{ }sort\underline{ }particles} that improves the performance of a simulation with (many) particles:
-
-   \begin{tikzpicture}[remember picture, overlay]
-      \node [shift={(1 cm,2.5cm)}]  at (current page.south west)
-         {%
-         \begin{tikzpicture}[remember picture, overlay]
-            \node[text width=14em] at (2.5,3.8) {Higher performance with\\ resorting of particles:\\};
-            \uncover<2->{\node[text width=14em] at (2.5,1.6) {\scriptsize Temporal interval between the\\ sorting of particles determined\\ by the parameter\\ \ \\ \texttt{dt\underline{ }sort\underline{ }particles}\\ \ \\ (default value 0.0, i.e. particles are resorted at every time step)};}  
-            \uncover<3->{\node[text width=28em] at (5,-0.9) {Keep in mind that resorting of particles is time consuming itself, so that using the default value of \texttt{dt\underline{ }sort\underline{ }particles} probably wonât yield the best performance that is possible.\\};}
-         \end{tikzpicture}
-         };
-      \node [shift={(7 cm,2.5cm)}]  at (current page.south west)
-         {%
-         \begin{tikzpicture}[remember picture, overlay]
-
-            \node at (2.5,4.2) {$t>t_0$:};
-            \draw[-] (0,0) -- (5,0);
-            \draw[-] (0,1) -- (5,1);
-            \draw[-] (0,2) -- (5,2);
-            \draw[-] (0,3) -- (5,3);
-            \draw[-] (0,0) -- (0,4);
-            \draw[-] (1,0) -- (1,4);            
-            \draw[-] (2,0) -- (2,4);             
-            \draw[-] (3,0) -- (3,4); 
-            \draw[-] (4,0) -- (4,4);            
-            \draw[-] (5,4) -- (5,0);
-            \draw[-] (0,4) -- (5,4);
-            
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd1) at (1.75,1.3) {};
-            \node[scale=0.8] at (rd1) {1};
-         
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd2) at (1.2,2.3) {};
-            \node[scale=0.8] at (rd2) {2};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd3) at (2.3,2.3) {};
-            \node[scale=0.8] at (rd3) {3};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd4) at (3.25,1.21) {};
-            \node[scale=0.8] at (rd4) {4};      
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd5) at (3.2,2.7) {};
-            \node[scale=0.8] at (rd5) {5};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd6) at (3.25,1.7) {};
-            \node[scale=0.8] at (rd6) {6};   
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd7) at (1.25,1.6) {};
-            \node[scale=0.8] at (rd7) {7};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd8) at (3.7,0.5) {};
-            \node[scale=0.8] at (rd8) {8};      
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd9) at (3.77,1.8) {};
-            \node[scale=0.8] at (rd9) {9};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd10) at (2.6,1.3) {};
-            \node[scale=0.8] at (rd10) {10};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd11) at (2.7,0.7) {};
-            \node[scale=0.8] at (rd11) {11};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd12) at (0.21,1.3) {};
-            \node[scale=0.8] at (rd12) {12};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd13) at (0.3,2.5) {};
-            \node[scale=0.8] at (rd13) {13};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd14) at (1.75,2.5) {};
-            \node[scale=0.8] at (rd14) {14};      
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd15) at (2.3,1.7) {};
-            \node[scale=0.8] at (rd15) {15};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd16) at (2.4,2.8) {};
-            \node[scale=0.8] at (rd16) {16};   
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd17) at (4.23,0.7) {};
-            \node[scale=0.8] at (rd17) {17};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd18) at (3.77,2.6) {};
-            \node[scale=0.8] at (rd18) {18};      
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd19) at (4.23,3.3) {};
-            \node[scale=0.8] at (rd19) {19};
-            \node[circle, draw, thick, fill=red!90, scale=1.1] (rd20) at (3.75,1.23) {};
-            \node[scale=0.8] at (rd20) {20};  
-         \end{tikzpicture}
-         };
-   \end{tikzpicture} 
-\end{frame}
-
-% Folie 11
-\begin{frame}[t]
-   \frametitle{Basic Particle Parameters (VI)}
-   \small
-   Example for the beneficial effect of resorting on the consumption of CPU time \texttt{(dt\underline{ }sort\underline{ }particles = 0.0)}:\\
-   \scriptsize \ \\
-   Release of 3.200.000 particles into a convective boundary layer.\\
-   Extract from CPU time measurement file.\\
-   \ \\
-
-   \begin{tabular}{|p{1.8cm}|p{1.5cm}|p{1.3cm}|p{1.5cm}|p{1.3cm}|p{1.3cm}|}
-      \hline
-	   Part of PALM & Consumed CPU time in s \textbf{without resorting} & Percentage of totally consumed CPU time \textbf{(without)} & Consumed CPU time in s \textbf{with resorting}  & Percentage of totally consumed CPU time \textbf{(with)} & Saved CPU time \textbf{with resorting} in \%\\
-      \hline
-	   total & 50027.225 & 100.0 & 47805.635  & 100.0 & \textcolor{red}{4.4}\\
-      \hline
-	   lpm & 22049.711 & 44.08 & 19926.364  & 41.68  & \textcolor{red}{9.6}\\
-      \hline
-	   lpm\underline{ }advec & 13640.729 & 27.27 & 11424.540  & 23.90  & \textcolor{red}{16.2}\\
-      \hline
-   \end{tabular}
-
-\end{frame}
-
-% Folie 12
-\begin{frame}[t]
-   \frametitle{Basic Particle Parameters (VII)}
    \small
    \vspace{-2mm}
@@ -846,9 +605,25 @@
 
 % Folie 14
-\begin{frame}
+\begin{frame}[fragile]
    \frametitle{An Example of a Particle NAMELIST}
-   \includegraphics[scale=0.3]{particle_model_figures/namelist.png}
-   \begin{itemize}
-      \item<2-> \small Several (up to 10) so called particle groups with different density ratio, radius, and starting positions can be defined by setting parameter number\underline{ }of\underline{ }particle\underline{ }groups to the required number of groups, and by assigning values for each particle groups to the respective parameters (e.g. density\underline{ }ratio = 0.001, 0.0, etc.)
+   \tikzstyle{yellow} = [rectangle, draw, fill=yellow!30, text width=0.7\textwidth, font=\Tiny,scale=1.2]
+   \begin{tikzpicture}
+   \node [yellow] {\begin{lstlisting}  
+&inipar          cloud_droplets = .TRUE., ................ /
+
+&particles_par   dt_dopts = 25.0,
+                 bc_par_b = 'absorb',
+                 density_ratio = 0.001, radius = 1.0E-6,
+                 initial_weighting_factor = 1.0E10,
+                 psb = 35.0, pst = 255.0,
+                 psl = 935.0, psr = 1065.0,
+                 pss = -5.0,
+                 pdx = 20.0, pdy = 20.0, pdz = 20.0,
+                 random_start_position = .TRUE., /
+\end{lstlisting}
+   };
+   \end{tikzpicture}
+   \begin{itemize}
+      \item<2-> \small Several (up to 10) so called particle groups with different density ratio, radius, and starting positions can be defined by setting parameter number\underline{ }of\underline{ }particle\underline{ }groups to the required number of groups, and by assigning values for each particle groups to the respective parameters (e.g. \texttt{density\_ratio = 0.001, 0.0}, etc.)
    \end{itemize}
 \end{frame}
@@ -957,12 +732,12 @@
    $\dfrac{dV_i}{dt} = \dfrac{1}{\tau_p} (u_i - V_i) - \delta_{i3}( 1 - \rho_0 / \rho_l ) g$\\
       \vspace{2mm}
-   with $\tau_p^{-1} = \dfrac{9 v \rho_0}{2 r^2 \rho_l} \left( 1 + 0.15 \text{Re}^{0.687} \right)$ and $\text{Re} = \dfrac{2r \left| \vec{u}_i - \vec{V}_i \right|}{v} $\\
+   with $\tau_p^{-1} = \dfrac{9 v \rho_0}{2 r^2 \rho_l} \left( 1 + 0.15 \text{Re}^{0.687} \right)$ and $\text{Re} = \dfrac{2r \left| \vec{u}_i - \vec{V}_i \right|}{\nu} $\\
    \vspace{5mm}
    \onslide<1->
    \begin{tabular}{llll}
 	   $g$   & = gravitational acceleration & $\rho_l$ & = density of water\\
-	   Re    & = Reynolds number            & $\rho_0$ & = density of air\\
-	   $u_i$ & = velocity of the fluid      & $\tau_p$ & = response time with respect to inertia\\
-	   $V_i$ & = particle velocity          & \\
+	   Re    & = particle Reynolds number            & $\rho_0$ & = density of air\\
+	   $u_i$ & = velocity of the fluid      & $\tau_p$ & = inertia response time\\
+	   $V_i$ & = particle velocity          & $\nu$    & = molecular viscosity of air\\
    \end{tabular}
 
@@ -976,7 +751,7 @@
    \small
    \begin{itemize}
-      \item This feature is switched on by setting the initial parameter cloud\underline{ }droplets = \textit{.TRUE.}.
+      \item This feature is switched on by setting the initial parameter \texttt{cloud\_droplets = .TRUE.}.
       \item In this case, the change in particle radius by condensation/evaporation and collision is calculated for every timestep.
-      \item In case of condensation or evaporation, the potential temperature and the specific humidity has to be adjusted in the respective grid volumes. This is done within the subroutine interaction\underline{ }droplets\underline{ }ptq.
+      \item In case of condensation or evaporation, the potential temperature and the specific humidity has to be adjusted in the respective grid volumes. This is done within the subroutine \texttt{interaction\_droplets\_ptq}.
    \end{itemize}
 \end{frame}
@@ -995,5 +770,5 @@
          \item Every simulated droplet stands for a very high number\\ of real droplets
          \vspace{1mm}
-         \item Concept of weighting factor: $A_i=\dfrac{\text{Real volume of droplets}}{\text{Simulated volume of droplets}}$
+         \item Concept of weighting factor: $A_i=$ real number of droplets represented by one simulated droplet
          \vspace{2mm}
          \item Initial weighting factor can be assigned with the parameter \texttt{initial\underline{ }weighting\underline{ }factor}
@@ -1023,5 +798,5 @@
    \scriptsize
    \begin{itemize}
-      \item \textbf{Condensation/evaporation} is calculated following an approach of Mason, 1971\\
+      \item \textbf{Condensation/evaporation}\\
       \vspace{1mm}
       $ r_i \dfrac{dr_i}{dt} = \dfrac{(S - ar^{-1} + br^{-3})}{F_k + F_d}$\\
@@ -1030,17 +805,18 @@
       \vspace{2mm}
       \qquad $a = 2 \sigma/(\rho_l R_v T) \qquad \rightarrow$  Curvature effect\\
-      \qquad $b = 6 m_v M / (4 \pi \rho_l m_s) \rightarrow$ Solution effect
-      \vspace{3mm}
+      \qquad $b = 3 i_\text{s} m_v M / (4 \pi \rho_l m_s) \rightarrow$ Solution effect
+      \vspace{1.5mm}
       \item<2-> For $r > \unit{1}{\mu m}$  solution and curvature effects are neglected: \\
       $ r_i \dfrac{dr_i}{dt} = \dfrac{S}{F_k + F_d} \rightarrow r_i(t) = \sqrt{ r_{i,0}^2 + 2 \cdot \Delta t \cdot \left( \dfrac{S}{F_k + F_d} \right)}$
    \end{itemize}
-   \vspace{1mm}
+   \vspace{0mm}
    \begin{tabular}{llll}
-	   $D$   & = Coefficient of diffusion   & $L$ & = Latent heat\\
-	   $e$    & = Vapor pressure            & $r$ & = Droplet radius\\
+	   $D$   & = Coefficient of diffusion   & $L$   & = Latent heat\\
+	   $e$    & = Vapor pressure            & $r$   & = Droplet radius\\
 	   $e_s$ & = Saturation vapor pressure  & $R_v$ & = Gas constant for water vapor\\ 
-	   $F_k$ & = Effect of heat conduction  & $S$ & = Supersaturation\\
-	   $F_d$ & = Effect of vapor diffusion  & $T$ & = Temperature\\
+	   $F_k$ & = Effect of heat conduction  & $S$   & = Supersaturation\\
+	   $F_d$ & = Effect of vapor diffusion  & $T$   & = Temperature\\
 	   $K$ & = Coefficient of thermal conductivity  & $\rho_L$ & = Density of water\\
+	   	 &                                & $i_\text{s}$  & = van't Hoff factor\\
    \end{tabular}
 
@@ -1091,37 +867,21 @@
    \scriptsize   
    \begin{itemize}
-      \item Calculation of droplet growth due to \textbf{collisions} follows approach from Rogers and Yau, 1989:
-      \begin{itemize}
+      \item Calculation of droplet growth due to \textbf{collisions} follows a statistical approach (e.\,g., Rogers and Yau, 1989)
+      \item Two prognostic quantities: Weighting factor $A_n$ and mass of super-droplet expressed as volume averaged droplet radius $r_n=(m_n / (4/3 \pi \rho_\text{l} A_n))^{1/3}$:
          \scriptsize
-         \item The increase in volume of a drop with radius $R$ falling at terminal speed through a population of smaller droplets is:
-      \end{itemize}
-      \vspace{2mm}
-      $\dfrac{dV}{dt} = \int\limits_0^R \pi (R + r)^2 \cdot \dfrac{4}{3} \pi r^3 \cdot E(R,r) n(r) \cdot \left[ U(R) - u(r) \right] dr$\\
-      \vspace{2mm}
-      $\rightarrow \dfrac{dR}{dt} = \dfrac{1}{3 R^2} \int\limits_0^R r^3 \cdot K(R,r) n(r) dr$\\
-      \vspace{2mm}
-      \qquad with $K(R,r) = \pi(R+r)^2 \cdot E(R,r) \cdot [u(R) - u(r)] dr$\\
-      \vspace{2mm}
-      \hspace{10mm}$\rightarrow R^* = R + \dfrac{\Delta t}{3R^2} \sum\limits_{n=1}^{N_R} r^3_n n(r) K(R,r)$\\
-      \vspace{2mm}
-      \hspace{14mm}$A_r^* = A_r [ 1 - \alpha K(R,r) ]$
-   \end{itemize}
-   \vspace{2mm}
-   \begin{tabular}{|ll|}
-      \hline
-	   $E$   & = collection efficiency \\
-	   $M$   & = $LWC$ in g/m$^3$ \\
-      \hline
-   \end{tabular}
-   
-   \begin{tikzpicture}[remember picture, overlay]
-      \node [shift={(11 cm,3.5cm)}]  at (current page.south west)
-         {%
-         \begin{tikzpicture}[remember picture, overlay]
-            \node at (0.0,0.0) {\includegraphics[scale=0.20]{particle_model_figures/droplet_falling.png}};
-         \end{tikzpicture}
-         };
-   \end{tikzpicture}  
-
+\begin{alignat*}{3}
+A_n^{\ast}&=A_n &&-  K(r_n,\, r_n) \, \frac{1}{2} \, \frac{A_n (A_n - 1)}{\Delta V} \, \Delta t - \sum \limits_{m=n+1}^{N_\text{p}} K(r_m,\, r_n) \frac{A_n \, A_m}{\Delta V} \, \Delta t\\
+ r_n^{\ast}&=\left(\vphantom{\sum \limits_{m=1}^{n-1}} \right. &&\left[ \vphantom{\sum \limits_{m=1}^{n-1}}\right. r_n^3 + \sum \limits_{m=1}^{n-1} K(r_\text{n}, \, r_\text{m}) \frac{A_m}{\Delta V} \, r_m^3 \, \Delta t -\sum \limits_{m=n+1}^{N_\text{p}} K(r_\text{m}, \, r_\text{n}) \frac{A_m}{\Delta V} \, r_n^3 \, \Delta t \left.\vphantom{\sum \limits_{m=1}^{n-1}}\right] \left/\vphantom{\sum \limits_{m=1}^{n-1}}\right. \notag \\
+&  && \left[\vphantom{\sum \limits_{m=1}^{n-1}}\right.\ 1 -  K(r_n,\, r_n) \, \frac{1}{2} \, \frac{A_n - 1}{\Delta V} \, \Delta t -\left. \left. \sum \limits_{m=n+1}^{N_\text{p}} K(r_m,\, r_n) \frac{A_m}{\Delta V} \, \Delta t \right] \right)^{1/3}
+\end{alignat*}
+\end{itemize}
+%   \begin{tikzpicture}[remember picture, overlay]
+%      \node [shift={(11 cm,3.5cm)}]  at (current page.south west)
+%         {%
+%         \begin{tikzpicture}[remember picture, overlay]
+%            \node at (0.0,0.0) {\includegraphics[scale=0.20]{particle_model_figures/droplet_falling.png}};
+%         \end{tikzpicture}
+%         };
+%   \end{tikzpicture}  
 \end{frame}
 
@@ -1144,5 +904,5 @@
 	   $\eta_E$ & = turbulent enhancement factor for collision efficiency \\
 	   $E^g$ & = collection efficiency \\
-      $\langle| w_r |\rangle$ & = radial relativ velocity \\
+      $\langle| w_r |\rangle$ & = radial relative velocity \\
       $g_{Rr}$ & = radial distribution function \\
    \end{tabular}
@@ -1195,6 +955,6 @@
       \coordinate[below=4.2cm of init3d] (G) ;      
       \coordinate[below=4.8cm of init3d] (H) ;      
-      \coordinate[below=7cm of init3d] (I) ;   
-      \coordinate (J) at (0,-8.6);
+      \coordinate[below=6cm of init3d] (I) ;   
+      \coordinate (J) at (0,-8);
             
       \node[gelb1, right=0.5cm of B, text width=17em] (init1d) {init\underline{ }1d\underline{ }model (\textit{calls various subroutines})};
@@ -1225,15 +985,7 @@
       
       \coordinate[below=0.1cm of initparticles] (O);
-      \coordinate[below=0.6cm of O] (P);
-      \coordinate[below=0.6cm of P] (Q);
       
       \node[orange, right=1.5cm of O] (userinitparticles) {user\underline{ }lpm\underline{ }init}; 
-      \node[orange, right=1.5cm of P] (sortparticles) {lpm\underline{ }sort\underline{ }arrays}; 
-      \node[orange, right=1.5cm of Q] (dataoutputdvrp) {data\underline{ }output\underline{ }dvrp}; 
-      
-      \coordinate[right=1.5cm of dataoutputdvrp] (R);
-
-      \node[orange, below=0.3cm of R] (userdvrp) {user\underline{ }dvrp\underline{ }coltab};
-   
+    
       % Draw lines  
       \draw[dotted, thick] (PALM) -- (0,-0.5);
@@ -1256,11 +1008,6 @@
       \draw[-, thick] (M) -- (sor.north);      
       \draw[-, thick] (N) -- (poismg.north);        
-      \draw[-, thick] (initparticles.south) -- (P);
-      \draw[dashed, thick] (P) -- (Q);
+      \draw[-, thick] (initparticles.south) -- (O);
       \draw[-, thick] (O) -- (userinitparticles.west);
-      \draw[-, thick] (P) -- (sortparticles.west);
-      \draw[dashed, thick] (Q) -- (dataoutputdvrp.west);            
-      \draw[-, thick] (dataoutputdvrp.east) -- (R);
-      \draw[-, thick] (R) -- (userdvrp.north);
       
    \end{tikzpicture}
@@ -1378,14 +1125,16 @@
    \begin{tikzpicture}[scale=0.87, transform shape] 
       \node (0) at (0,0) {};
-      {\node[draw, right=0.0cm of 0, text width=29em] {write particle data on file (subroutine \texttt{lpm\underline{ }data\underline{ }output\underline{ }particles})\\ \qquad binary (\texttt{PARTICLE\underline{ }DATA/})\\ \quad + NetCDF (\texttt{DATA\underline{ }PRT\underline{ }NETCDF/})};}
-      \uncover<1->{\node[draw, right=0.0cm of 0, yshift=-0.9cm] {calculate exponential terms for particles groups with inertia};}
-      \uncover<1->{\node[draw, right=0.0cm of 0, yshift=-1.65cm, text width=30em] {particle growth by condensation/evaporation and collision\\ (subroutines \texttt{lpm\underline{ }droplet\underline{ }condensation} and \texttt{lpm\underline{ }droplet\underline{ }collision})};}
-      \uncover<1->{\node[draw, right=0.0cm of 0, yshift=-2.4cm] {If SGS-velocities are used: calculate gradients of TKE (subroutine \texttt{lpm\underline{ }init\underline{ }sgs\underline{ }tke})};}
-      \uncover<1->{\node[draw, right=0.0cm of 0, yshift=-3.15cm, text width=29em] {timestep loop\\ (repeated, unless each particle has reached the LES timestep \texttt{dt\underline{ }3d})};}
-      \uncover<1->{\node[draw, right=0.5cm of 0, yshift=-4.2cm, text width=36em] {for each particle:\\ - interpolate velocities and SGS quantities (SGS-velocities, Lagrangian timescale, etc.\\ - calculate the particle advection (subroutine \texttt{lpm\underline{ }advec})};}
-      \uncover<1->{\node[draw, right=0.5cm of 0, yshift=-5.1cm] {calculate particle reflection from walls (subroutine \texttt{lpm\underline{ }boundary\underline{ }conds})};}
-      \uncover<1->{\node[draw, right=0.5cm of 0, yshift=-5.7cm] {user defined actions (subroutine \texttt{user\underline{ }lpm\underline{ }advec})};}     
-      \uncover<1->{\node[draw, right=0.5cm of 0, yshift=-6.3cm] {if necessary, release a new set of particles (subroutine \texttt{lpm\underline{ }release\underline{ }set})};}
-      \uncover<1->{\node[draw, right=0.5cm of 0, yshift=-6.9cm] {particle exchange between the subdomains (subroutine \texttt{lpm\underline{ }exchange\underline{ }horiz})};}    
+      {\node[draw, right=0.0cm of 0, text width=29em] {write particle data on file (subroutine \texttt{lpm\underline{ }data\underline{ }output\underline{ }particles})\\ \qquad binary (\texttt{PARTICLE\underline{ }DATA/}) };}
+      \uncover<1->{\node[draw, right=0.0cm of 0, yshift=-0.75cm] {calculate exponential terms for particles groups with inertia};}
+      \uncover<1->{\node[draw, right=0.0cm of 0, yshift=-1.35cm] {if necessary, release a new set of particles (subroutine \texttt{lpm\underline{ }release\underline{ }set})};}
+      \uncover<1->{\node[draw, right=0.0cm of 0, yshift=-2.1cm, text width=30em] {particle growth by condensation/evaporation and collision\\ (subroutines \texttt{lpm\underline{ }droplet\underline{ }condensation} and \texttt{lpm\underline{ }droplet\underline{ }collision})};}
+      \uncover<1->{\node[draw, right=0.0cm of 0, yshift=-2.85cm] {If SGS-velocities are used: calculate gradients of TKE (subroutine \texttt{lpm\underline{ }init\underline{ }sgs\underline{ }tke})};}
+      \uncover<1->{\node[draw, right=0.0cm of 0, yshift=-3.6cm, text width=29em] {timestep loop\\ (repeated, unless each particle has reached the LES timestep \texttt{dt\underline{ }3d})};}
+      \uncover<1->{\node[draw, right=0.5cm of 0, yshift=-4.65cm, text width=36em] {for each particle:\\ - interpolate velocities and SGS quantities (SGS-velocities, Lagrangian timescale, etc.\\ - calculate the particle advection (subroutine \texttt{lpm\underline{ }advec})};}
+      \uncover<1->{\node[draw, right=0.5cm of 0, yshift=-5.55cm] {calculate particle reflection from walls (subroutine \texttt{lpm\underline{ }boundary\underline{ }conds})};}
+      \uncover<1->{\node[draw, right=0.5cm of 0, yshift=-6.15cm] {user defined actions (subroutine \texttt{user\underline{ }lpm\underline{ }advec})};}     
+      \uncover<1->{\node[draw, right=0.5cm of 0, yshift=-6.75cm] {boundary conditions at bottom and top (subroutine \texttt{lpm\underline{ }boundary\underline{ }conds})};}
+      \uncover<1->{\node[draw, right=0.5cm of 0, yshift=-7.36cm] {particle exchange between gridpoints (subroutine \texttt{lpm\underline{ }move\underline{ }particle})};}   
+      \uncover<1->{\node[draw, right=0.5cm of 0, yshift=-7.9cm] {particle exchange between the subdomains (subroutine \texttt{lpm\underline{ }exchange\underline{ }horiz})};}    
    \end{tikzpicture}
 \end{frame}
@@ -1397,15 +1146,13 @@
    \begin{tikzpicture}[auto, node distance=0] 
       \node (0) at (0,0) {};
-      \node[draw, right=0.5cm of 0] {boundary conditions at bottom and top (subroutine \texttt{lpm\underline{ }boundary\underline{ }conds})};
-      \uncover<1->{\node[draw, right=0.5cm of 0, yshift=-0.7cm, text width=25em] {delete, pack, and sort particles\\ (subroutines \texttt{lpm\underline{ }pack\underline{ }arrays} and \texttt{lpm\underline{ }sort\underline{ }arrays} )};}  
+      \uncover<1->{\node[draw, right=0.5cm of 0, yshift=-0.7cm, text width=25em] {delete and pack particles\\ (subroutines \texttt{lpm\_pack\_all\_arrays})};}  
       \uncover<1->{\node[draw, right=0.0cm of 0, yshift=-1.6cm, text width=29em] {In case of cloud droplets: calculate the liquid water content\\ (subroutine \texttt{lpm\underline{ }calc\underline{ }liquid\underline{ }water\underline{ }content})};}
       \uncover<1->{\node[draw, right=0.0cm of 0, yshift=-2.3cm] {user defined setting of particle attributes (subroutine \texttt{user\underline{ }lpm\underline{ }set\underline{ }attributes})};}
-      \uncover<1->{\node[draw, right=0.0cm of 0, yshift=-2.85cm] {if necessary, add actual positions to the particle tails (subroutine \texttt{lpm\underline{ }extend\underline{ }tails})};}
-      \uncover<1->{\node[draw, right=0.0cm of 0, yshift=-3.6cm, text width=29em] {write particle statistics on file \texttt{PARTICLE\underline{ }INFOS} (ASCII format)\\ (subroutine \texttt{lpm\underline{ }write\underline{ }exchange\underline{ }statistics})};  }    
+      \uncover<1->{\node[draw, right=0.0cm of 0, yshift=-3.0cm, text width=29em] {write particle statistics on file \texttt{PARTICLE\underline{ }INFOS} (ASCII format)\\ (subroutine \texttt{lpm\underline{ }write\underline{ }exchange\underline{ }statistics})};  }    
    \end{tikzpicture}
 \end{frame}
 
 % Folie 28
-\begin{frame}
+\begin{frame}[fragile]
    \frametitle{The Data Type Used for Particles}
    \small
@@ -1413,20 +1160,247 @@
       \item Particle data are stored in a FORTRAN derived data type:
    \end{itemize}
-   \includegraphics[scale=0.3]{particle_model_figures/data_type.png}
-\end{frame}
+   \tikzstyle{yellow} = [rectangle, draw, fill=yellow!30, text width=0.9\textwidth, font=\Tiny,scale=1.0]
+   \begin{tikzpicture}
+   \node [yellow] {\begin{lstlisting}  
+MODULE particle_attributes
+    :
+    TYPE particle_type
+        SEQUENCE
+        REAL(wp)     ::  radius, age, age_m, dt_sum, dvrp_psize, e_m,          &
+                         origin_x, origin_y, origin_z, rvar1, rvar2, rvar3,    &
+                         speed_x, speed_y, speed_z, weight_factor, x, y, z
+        INTEGER(iwp) ::  class, group, tailpoints, tail_id
+        LOGICAL      ::  particle_mask
+        INTEGER(iwp) ::  block_nr
+    END TYPE particle_type
+
+    TYPE(particle_type), DIMENSION(:), POINTER             ::  particles
+    TYPE(particle_type)                                    ::  zero_particle
+
+    TYPE particle_groups_type
+        SEQUENCE
+        REAL(wp) ::  density_ratio, radius, exp_arg, exp_term
+    END TYPE particle_groups_type
+
+    TYPE(particle_groups_type), DIMENSION(max_number_of_particle_groups) ::    &
+       particle_groups
+\end{lstlisting}
+   };
+   \end{tikzpicture}
+\end{frame}
+
+\begin{frame}[fragile]
+   \frametitle{Storing Lagrangian particles (I)}
+   \begin{itemize}
+   \item the easiest method for storing Lagrangian particles is an one-dimensional array
+   \item most applications demand particles located at a certain location (e.\,g., collision process)
+   \item finding this particles demands \texttt{N}$^2$ operations:
+      \scriptsize
+\begin{lstlisting}
+DO  n = 1, N
+   DO  k = 1, N
+      IF ( k /= n )  THEN
+         IF ( ABS( particles(k)%x - particles(n)%x )   &
+              < threshold )  THEN
+            ...
+         ENDIF
+      ENDIF
+   ENDDO
+ENDDO
+\end{lstlisting}
+   \end{itemize}
+\end{frame}
+
+\begin{frame}[fragile]
+   \frametitle{Storing Lagrangian particles (I)}
+   \begin{itemize}
+      \item sorting the particles by their respective grid-box reduces the operations to \texttt{N}:
+         \scriptsize
+\begin{lstlisting}
+DO  n = n_start(k,j,i), n_end(k,j,i)
+   ...
+ENDDO
+\end{lstlisting}
+\normalsize
+\item reducing CPU time of LPM by 9.6\,\%
+\item sorting increases CPU time and demands a second one-dimensional array for efficient sorting
+\item this was done in the previous version of PALM
+\item \textbf{new approach} in the current PALM version: 
+
+a four-dimensional array
+   \end{itemize}
+\end{frame}
+
+
+% Folie 9
+\begin{frame}[t]
+   \frametitle{Storing Lagrangian particles (III)}
+   \small
+   \begin{tikzpicture}[scale=0.6]
+      \definecolor{darkgreen}{rgb}{0.2,0.7,0.2}
+      
+      % Coordinates
+      \coordinate (OL) at (-4,4);     
+      \coordinate (OC) at (0,4);
+      \coordinate (OR) at (4,4);
+      \coordinate (ML) at (-4,0);
+      \coordinate (MC) at (0,0);
+      \coordinate (MR) at (4,0);
+      \coordinate (UL) at (-4,-4);     
+      \coordinate (UC) at (0,-4);
+      \coordinate (UR) at (4,-4);
+      
+      \coordinate (OL2) at (-2,2);
+      \coordinate (OR2) at (2,2);
+      \coordinate (UR2) at (2,-2);
+      \coordinate (UL2) at (-2,-2);
+      
+      \coordinate (P1) at (-1,1);
+      \coordinate (P2) at (1.8,-1.3);
+      \coordinate (P3) at (0.4,-0.9);
+      \coordinate (P4) at (1,0.7);
+      \coordinate (P5) at (-1.3,-1.4);
+      \coordinate (P6) at (-1.8,1.6);
+      \coordinate (part_box) at (6,2);
+    
+      % Draw Boxes
+      \draw[-] (OL) -- (OR) -- (UR) -- (UL) -- cycle;
+      \draw[-] (OC) -- (UC);
+      \draw[-] (ML) -- (MR);      
+      \draw[-,dashed] (OL2) -- (OR2) -- (UR2) -- (UL2) -- cycle;
+      
+      \draw[-, thick] (MC) -- (part_box);
+      
+      % Draw dots
+      \node[circle, draw, fill, color=black, ultra thick, scale=0.3] at (OL) {};      
+      \node[circle, draw, fill, color=black, ultra thick, scale=0.3] at (OC) {};
+      \node[circle, draw, fill, color=black, ultra thick, scale=0.3] at (OR) {};
+      \node[circle, draw, fill, color=black, ultra thick, scale=0.3] at (ML) {};
+      \node[circle, draw, fill, color=black, ultra thick, scale=0.3] at (MC) {};
+      \node[circle, draw, fill, color=black, ultra thick, scale=0.3] at (MR) {};
+      \node[circle, draw, fill, color=black, ultra thick, scale=0.3] at (UL) {};
+      \node[circle, draw, fill, color=black, ultra thick, scale=0.3] at (UC) {};
+      \node[circle, draw, fill, color=black, ultra thick, scale=0.3] at (UR) {};
+
+      \uncover<1>{\node[circle, draw, fill, color=red, ultra thick, scale=0.5] at (P1) {};}
+      \uncover<1-2>{\node[circle, draw, fill, color=yellow, ultra thick, scale=0.5] at (P2) {};}
+      \uncover<1-3>{\node[circle, draw, fill, color=green, ultra thick, scale=0.5] at (P3) {};}
+      \uncover<1-4>{\node[circle, draw, fill, color=blue, ultra thick, scale=0.5] at (P4) {};}
+      \uncover<1-5>{\node[circle, draw, fill, color=violet, ultra thick, scale=0.5] at (P5) {};}
+      \uncover<1-6>{\node[circle, draw, fill, color=magenta, ultra thick, scale=0.5] at (P6) {};}
+      
+      \node[yshift=6.0, xshift=-15.0] at (OL) {\tiny \texttt{i-1,j+1}};
+      \node[yshift=6.0, xshift=-15.0] at (OC) {\tiny \texttt{i,j+1}};
+      \node[yshift=6.0, xshift=-15.0] at (OR) {\tiny \texttt{i+1,j+1}};
+      \node[yshift=6.0, xshift=-15.0] at (ML) {\tiny \texttt{i-1,j}};
+      \node[yshift=6.0, xshift=-15.0] at (MC) {\tiny \texttt{i,j}};
+      \node[yshift=6.0, xshift=-15.0] at (MR) {\tiny \texttt{i+1,j}};
+      \node[yshift=6.0, xshift=-15.0] at (UL) {\tiny \texttt{i-1,j-1}};
+      \node[yshift=6.0, xshift=-15.0] at (UC) {\tiny \texttt{i,j-1}};
+      \node[yshift=6.0, xshift=-15.0] at (UR) {\tiny \texttt{i+1,j-1}};
+      
+      
+      % draw particle box
+      \node at (part_box) [scale=1.0] {%
+      \begin{tikzpicture}
+         \draw[-, thick, fill=white] (-0.2,0.2) -- (0.2,0.2) -- (0.2,-1.7) -- (-0.2,-1.7) -- cycle;
+         \uncover<2->{\node[circle, draw, fill, color=red, ultra thick, scale=0.5] at (0,0) {};}
+         \uncover<3->{\node[circle, draw, fill, color=yellow, ultra thick, scale=0.5] at (0,-0.3) {};}
+         \uncover<4->{\node[circle, draw, fill, color=green, ultra thick, scale=0.5] at (0,-0.6) {};}
+         \uncover<5->{\node[circle, draw, fill, color=blue, ultra thick, scale=0.5] at (0,-0.9) {};}
+         \uncover<6->{\node[circle, draw, fill, color=violet, ultra thick, scale=0.5] at (0,-1.2) {};}
+         \uncover<7->{\node[circle, draw, fill, color=magenta, ultra thick, scale=0.5] at (0,-1.5) {};}
+         
+      \end{tikzpicture}
+      };
+      
+      \uncover<1->{\node[text width=10em] at (10,0) {\scriptsize - all particles located in a certain grid box are stored in a \textit{small} one-dimensional particle array permanently assigned to this grid-box\\
+      \ \\
+      - LPM CPU time decreases by 22\,\% \\
+      \ \\
+      - available memory doubles since no additional arrays are needed
+      };}
+   \end{tikzpicture}
+   
+
+
+   
+\end{frame}
+
+\begin{frame}[fragile]
+   \frametitle{Storing Lagrangian particles (IV)}
+   \small
+   \begin{itemize}
+   \item particles stored in another FORTRAN derived data type:
+
+   \tikzstyle{yellow} = [rectangle, draw, fill=yellow!30, text width=0.9\textwidth, font=\Tiny,scale=1.0]
+   \begin{tikzpicture}
+   \node [yellow] {\begin{lstlisting}  
+MODULE particle_attributes
+
+    :
+
+    TYPE  grid_particle_def
+        :
+        TYPE(particle_type), POINTER, DIMENSION(:) ::  particles 
+    END TYPE grid_particle_def
+
+    TYPE(grid_particle_def), DIMENSION(:,:,:), ALLOCATABLE, TARGET ::  grid_particles
+
+\end{lstlisting}
+   };
+   \end{tikzpicture}
+   \item particles are called at every grid-box:
+   \Tiny
+    \begin{lstlisting}
+DO  i = nxl, nxr
+   DO  j = nys, nyn
+      DO  k = nzb+1, nzt
+         n_par = prt_count(k,j,i)
+         particles => grid_particles(k,j,i)%particles(1:n_par)
+         IF ( n_par <= 0 )  CYCLE
+         DO  n = 1, n_par
+            ...
+         ENDDO
+      ENDDO
+   ENDDO
+ENDDO
+\end{lstlisting}
+      \end{itemize}
+   
+\end{frame}
+
 
 % Folie 29
-\begin{frame}
+\begin{frame}[fragile]
    \frametitle{How to Read netCDF Particle Data from an External Program}
-   \footnotesize
+   \scriptsize
    \begin{itemize}
       \item An example program for reading netCDF particle data (from file DATA\underline{ }PRT\underline{ }NETCDF/) can be found in the PALM repository under \texttt{...../trunk/UTIL/analyze\underline{ }particle\underline{ }netcdf\underline{ }data.f90}
-       \item<1-> \textbf{Attention:}\\ The particle feature \grqq density\underline{ }ratio\grqq\, is stored in variable particle\underline{ }groups which (so far) is \textbf{not} contained in the netCDF file.\\ Also, informations about particle tails (history of particle positions) are \textbf{not} on the netCDF file!\\
+       \item<1-> \textbf{Attention:}\\ The particle feature \grqq density\underline{ }ratio\grqq\, is stored in variable particle\underline{ }groups which (so far) is \textbf{not} contained in the netCDF file.\\
        \vspace{1mm}
        Both informations can only be found on file PARTICLE\underline{ }DATA/.\\
        \vspace{1mm}
-       For the format of this file (one per PE, i.e. filenames \underline{ }0000, \underline{ }0001, etc.) see beginning of subroutine advec\underline{ }particles.
-   \end{itemize}
-   \onslide<1->\hspace{4mm}\includegraphics[scale=0.27]{particle_model_figures/particle_data.png}
+       For the format of this file (one per PE, i.e. filenames \underline{ }0000, \underline{ }0001, etc.) see beginning of subroutine \texttt{lpm\_data\_output\_particles}.
+   \end{itemize}
+   \tikzstyle{yellow} = [rectangle, draw, fill=yellow!30, text width=0.9\textwidth, font=\Tiny,scale=1.0]
+   \begin{tikzpicture}
+   \node [yellow] {\begin{lstlisting}  
+    WRITE ( 85 )  simulated_time
+    WRITE ( 85 )  prt_count
+          
+    DO  ip = nxl, nxr
+       DO  jp = nys, nyn
+          DO  kp = nzb+1, nzt
+             number_of_particles = prt_count(kp,jp,ip)
+             particles => grid_particles(kp,jp,ip)%particles(1:number_of_particles)
+             IF ( number_of_particles <= 0 )  CYCLE
+             WRITE ( 85 )  particles
+          ENDDO
+       ENDDO
+    ENDDO
+\end{lstlisting}
+   };
+   \end{tikzpicture}
 \end{frame}
 
@@ -1440,17 +1414,17 @@
    \textbf{Why investigating clouds?}
    \begin{itemize}
-      \item Clouds are very important e.g. for climate, precipitation 
+      \item Clouds are very important, e.g., for climate, precipitation 
          \begin{itemize}
             \footnotesize
             \item Problem: many microphysic processes are still not sufficiently known but determine the macroscopic properties of clouds
-            \item Open Issues: growth of cloud droplets in range $\unit{10-50}{\mu m}$, influence of in-cloud turbulence effects on droplet growth, ...
+            \item Open Issues: production of rain in sufficiently short period of time, activation of aerosols,...
       \end{itemize}
    \end{itemize}
-   \vspace{2mm}
+   \vspace{1.5mm}
    \textbf{What is our goal?}
    \begin{itemize}
       \item Analyze in-cloud turbulence effects on droplet growth and precipitation formation using an LCM
    \end{itemize}
-   \vspace{2mm}
+   \vspace{1.5mm}
    \textbf{What are the advantages?}
    \begin{itemize}
@@ -1460,52 +1434,46 @@
 \end{frame}
 
-% Folie 31
-\begin{frame}[t]
+% Folie 32
+\begin{frame}[fragile]
    \frametitle{Application Example: Simulation of a Convective Cloud with LCM (II)}
    \footnotesize
-   \textbf{Simulation setup for idealized case}
-   \begin{itemize}
-      \item Domain size: $\unit{4}{km}$ x $\unit{4}{km}$ x $\unit{4}{km}$, resolution: $\unit{20}{m}$
-      \item Cloud is initialized with the help of a warm air bubble near the bottom
-      \item Bubble size: $\unit{4000}{m}$ x $\unit{100}{m}$ x $\unit{100}{m}$, $\Delta T = \unit{0.4}{K}$
-      \item Particles are released every $\unit{4.5}{m}$ in whole model domain
-      \item Initial particles size: $\unit{1}{\mu m}$
-      \item Initial weighting factor: $9 \cdot 10^9$ 
-   \end{itemize}
-   \vspace{15mm}
-   Total number of particles: $\sim$ 425 Million\\
-   Particle concentration:  $\unit{100}{cm^{-3}}$
-   
-   \begin{tikzpicture}[remember picture, overlay]
-      \node [shift={(9.5 cm,2.85cm)}]  at (current page.south west)
-         {%
-         \begin{tikzpicture}[remember picture, overlay]
-            \node at (0.0,0.0) {\includegraphics[scale=0.30]{particle_model_figures/profil_pt_q.png}};
-         \end{tikzpicture}
-         };
-   \end{tikzpicture}  
-   
-\end{frame}
-
-% Folie 32
+   \textbf{Extract from the corresponding parameter file:}
+   \tikzstyle{yellow} = [rectangle, draw, fill=yellow!30, text width=0.9\textwidth, font=\tiny,scale=1.0]
+   \begin{tikzpicture}
+   \node [yellow] {\begin{lstlisting}  
+&inipar          humidity = .TRUE., cloud_droplets = .TRUE., ... /
+
+&d3par           end_time = 1800.0, ... /
+
+&particles_par   dt_write_particle_data = 100.0,
+                 bc_par_b = 'absorb',
+                 density_ratio = 0.001,
+                 
+                 initial_weighting_factor = 9.0E9,
+                 radius = 1.0E-6,
+                 
+                 psb = 20.0, pst = 2800.0,
+                 pdx = 4.5, pdy = 4.5, pdz = 4.5,
+                 
+                 random_start_position = .TRUE.,
+                 number_of_particle_groups = 1,
+                 dt_dopts = 100.0, dt_prel = 9000.0,/ n
+\end{lstlisting}
+   };
+   \end{tikzpicture}
+\end{frame}
+
+% Folie 33
 \begin{frame}[t]
    \frametitle{Application Example: Simulation of a Convective Cloud with LCM (III)}
    \footnotesize
-   \textbf{Extract from the corresponding parameter file:}
-   \includegraphics[scale=0.3]{particle_model_figures/particles_par.png}
-\end{frame}
-
-% Folie 33
+   \centering 
+   \includegraphics[scale=0.4]{particle_model_figures/snapshot.png}\\
+   Snapshot of cloud droplet evolution% using\\ visualization tool DVRP\\
+\end{frame}
+
+% Folie 34
 \begin{frame}[t]
    \frametitle{Application Example: Simulation of a Convective Cloud with LCM (IV)}
-   \footnotesize
-   \centering 
-   \includegraphics[scale=0.4]{particle_model_figures/snapshot.png}\\
-   Snapshot of cloud droplet evolution using\\ visualization tool DVRP\\
-\end{frame}
-
-% Folie 34
-\begin{frame}[t]
-   \frametitle{Application Example: Simulation of a Convective Cloud with LCM (V)}
    \footnotesize
    
@@ -1527,5 +1495,5 @@
 % Folie 35
 \begin{frame}[t]
-   \frametitle{Application Example: Simulation of a Convective Cloud with LCM (VI)}
+   \frametitle{Application Example: Simulation of a Convective Cloud with LCM (V)}
    \footnotesize
       \begin{tikzpicture}[remember picture, overlay]
Index: palm/trunk/TUTORIAL/SOURCE/program_control.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/program_control.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/program_control.tex	(revision 1515)
@@ -6,5 +6,4 @@
 \usepackage{ngerman}
 \usepackage{pgf}
-\usetheme{Dresden}
 \usepackage{subfigure}
 \usepackage{units}
@@ -16,4 +15,5 @@
 \usetikzlibrary{shapes,arrows,positioning,decorations.pathreplacing}
 \def\Tiny{\fontsize{4pt}{4pt}\selectfont}
+\def\Tinytwo{\fontsize{3pt}{3pt}\selectfont}
 
 %---------- neue Pakete
@@ -22,6 +22,10 @@
 \usepackage{multicol}
 \usepackage{pdfcomment}
-
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\usepackage{listings}
+\lstset{showspaces=false,language=fortran,basicstyle=
+        \ttfamily,showstringspaces=false, captionpos=b,aboveskip=0pt,belowskip=0pt}
+
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -42,5 +46,5 @@
 
 \title[Program Control by Physical Parameters]{Program Control by Physical Parameters}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 % Notes:
@@ -52,4 +56,7 @@
 \titlepage
 \end{frame}
+
+\section{Program Control by Physical Parameters}
+\subsection{Program Control by Physical Parameters}
 
 % Folie 2
@@ -270,4 +277,5 @@
    \end{tikzpicture}
    \footnotesize
+   \vspace{-3mm}
    \begin{itemize}
       \item<2->{There are two NAMELIST groups ({\tt \&inipar} and {\tt \&d3par}).} 
@@ -279,5 +287,6 @@
 
 % Folie 7
-\begin{frame}
+\begin{frame}[fragile]
+   \tikzstyle{green} = [rectangle, draw, fill=green!30, text width=2.1\textwidth, font=\Tinytwo]
    \frametitle{The Run Control File}
    \scriptsize
@@ -290,10 +299,37 @@
       errors have occurred!}}
    \par\bigskip
-   \includegraphics[width=1.08\textwidth]{program_control_figures/run_control_file.png}
-   \normalsize
+   \begin{tikzpicture}[scale=0.51, every node/.style={scale=0.51}]
+      \node [green]{\begin{lstlisting}  
+ ******************************      ------------------------------------------
+ * PALM 3.10  Rev: 1443       *      atmosphere - 3D - run without 1D - prerun
+ ******************************      ------------------------------------------
+
+ Date:                 30-07-14      Run:       example_cbl         
+ Time:                 14:41:23      Run-No.:   00
+ Run on host:           lccrayh
+ Number of PEs:               8      Processor grid (x,y): (  2,  4) calculated
+ ------------------------------------------------------------------------------
+.
+.
+.
+Run-control output:
+------------------
+
+RUN  ITER. HH:MM:SS.SS    DT(E)     UMAX     VMAX     WMAX     U*    W*      THETA*     Z_I     ENERG.   DISTENERG    DIVOLD     DIVNEW     UMAX(KJI)    VMAX(KJI)    WMAX(KJI)   ADVECX   ADVECY   MGCYC
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+  0      0 00:00:00.00  20.0000A  -0.2192D -0.2169D -0.1214  0.000  1.38   0.000E+00    800.  0.106E-02  0.000E+00  0.000E+00  0.000E+00   11  32   5    5  37  29    4  26   0    0.000    0.000       0
+  0      1 00:00:20.00  20.0000A  -0.2192  -0.2169  -0.1214  0.001  0.69  -0.124E+03    100.  0.105E-02  0.948E-03  0.491E-05  0.355E-15   11  32   5    5  37  29    4  26   0    0.000    0.000       0
+  0      2 00:00:40.00  20.0000D  -0.2151  -0.2176  -0.1209  0.001  0.69  -0.125E+03    100.  0.104E-02  0.940E-03  0.802E-05  0.359E-15   11  32   5    5  37  29    4  26   0    0.000    0.000       0
+.
+.
+
+\end{lstlisting}
+      };
+   \end{tikzpicture}
 \end{frame}
 
 % Folie 8
-\begin{frame}
+\begin{frame}[fragile]
+   \tikzstyle{green} = [rectangle, draw, fill=green!30, text width=0.9\textwidth, font=\Tiny]
    \frametitle{The Header File}
    \scriptsize
@@ -305,5 +341,31 @@
    \end{itemize}
    \begin{center}
-   \includegraphics[width=0.9\textwidth]{program_control_figures/header_file.png}
+   \begin{tikzpicture}[scale=1, every node/.style={scale=1}]
+      \node [green]{\begin{lstlisting}
+.
+.
+.
+ Run time and time step information:
+ ----------------------------------
+
+ Timestep:             variable     maximum value: 20.000 s    CFL-factor: 0.90
+ Start time:              0.000 s
+ End time:             3600.000 s
+
+ Time reached:         3601.930 s
+ CPU-time used:           4.391 s     per timestep:                     0.017 s
+                                      per second of simulated time:     0.001 s
+
+
+ Computational grid and domain size:
+ ----------------------------------
+
+ Grid length:      dx =     50.000 m    dy =     50.000 m    dz =     50.000 m
+.
+.
+.
+\end{lstlisting}
+      };
+   \end{tikzpicture}
    \end{center}
    \normalsize
@@ -311,5 +373,6 @@
 
 % Folie 9
-\begin{frame}
+\begin{frame}[fragile]
+   \tikzstyle{green} = [rectangle, draw, fill=green!30, text width=1.4\textwidth, font=\Tiny]
    \frametitle{CPU Measurements File}
    \begin{columns}[c]
@@ -320,10 +383,61 @@
          \item<2->{It should be inspected regularly in order to find out, if the code is still well optimized (e.g. load balance).} 
          \item<3->{Prognostic-equations and pressure solver ({\tt pres}) should be the main consumer.}
-         \item<4->{For larger grids ($400^3$ points), {\tt pres} may need up to 50\% of the total time.}
+         \item<4->{For larger grids ($1024^3$ points), {\tt pres} may need up to 50\% of the total time or more.}
          \item<5->{Time needed for communication (sum of {\tt exchange\_horiz}({\tt \_2d}) and {\tt mpi\_alltoall}) should not exceed about 10-15\% of the total time.}
       \end{itemize}
       \normalsize
    \column{0.58\textwidth}
-      \includegraphics[width=1.1\textwidth]{program_control_figures/cpu_measurements_file.png}
+      \vspace{-5mm}
+   \begin{tikzpicture}[scale=0.75, every node/.style={scale=0.75}]
+      \node [green]{\begin{lstlisting}
+PALM 3.10  Rev: 1443  run: example_cbl.00  host: lccrayh  30-07-14 14:41:23
+-----------
+
+CPU measures for     8 PEs (    2(x) *     4(y) tasks *    1 threads):
+
+gridpoints (x/y/z):                        40 *    40 *    40
+nr of timesteps:                          253
+cpu time per grid point and timestep:       0.27546 * 10**-6 s
+----------------------------------------------------------------------
+
+place:                        mean        counts      min       max       rms
+                           sec.      %                sec.      sec.      sec.
+------------------------------------------------------------------------------
+total                     4.460   100.00       1     4.460     4.460     0.001
+all progn.equations       2.943    65.98     759     2.905     2.982     0.028
+pres                      0.611    13.70     760     0.611     0.611     0.000
+diffusivities             0.338     7.59     759     0.338     0.339     0.001
+exchange-horiz-progn      0.146     3.28     759     0.108     0.185     0.028
+calculate_timestep        0.118     2.64     253     0.070     0.125     0.018
+flow_statistics           0.103     2.31     254     0.102     0.104     0.001
+prandtl_fluxes            0.062     1.40     759     0.062     0.063     0.000
+initialisation            0.062     1.39       1     0.061     0.061     0.001
+data_output_2d            0.028     0.62      10     0.021     0.028     0.002
+sum_up_3d_data            0.004     0.10     146     0.004     0.005     0.000
+disturb_field             0.004     0.08      10     0.003     0.007     0.001
+run_control               0.003     0.07     254     0.000     0.000     0.008
+last actions              0.003     0.07       1     0.003     0.003     0.000
+data_output_tseries       0.003     0.06     253     0.000     0.000     0.007
+data_output_profiles      0.001     0.02       4     0.000     0.000     0.002
+swap_timelevel            0.000     0.01     759     0.000     0.000     0.000
+user_actions              0.000     0.01     759     0.000     0.000     0.000
+average_3d_data           0.000     0.00       2     0.000     0.000     0.000
+
+special measures:
+-------------------------------------------------------------------------------
+timesteps                 4.391    98.45     253     4.391     4.391     0.000
+poisfft                   0.441     9.90     760     0.440     0.443     0.001
+exchange_horiz            0.233     5.22    6866     0.193     0.275     0.029
+fft_y                     0.122     2.73     760     0.121     0.122     0.000
+fft_x                     0.121     2.71     760     0.121     0.121     0.000
+transpo invers            0.084     1.89     760     0.084     0.085     0.000
+transpo forward           0.077     1.72     760     0.075     0.078     0.001
+mpi_alltoall              0.063     1.42    4560     0.060     0.065     0.002
+divergence                0.043     0.97    1520     0.043     0.044     0.000
+tridia                    0.036     0.81     760     0.036     0.036     0.000
+exchange_horiz_2d         0.021     0.47    3795     0.019     0.022     0.001
+\end{lstlisting}
+      };
+   \end{tikzpicture}
    \end{columns}
 \end{frame}
@@ -339,5 +453,5 @@
             For a first look, {\tt ncview} is a convenient tool.}
       \item<2->{{\tt ncdump} can be used to display the netCDF file contents in ASCII format ({\tt ncdump -c} displays only header informations).}
-      \item<3->{The simple viewer for netCDF-data - {\tt ncview} - as well as ncl graphic software is available on the IMUK-cluster.}
+      \item<3->{The simple viewer for netCDF-data - {\tt ncview} - as well as ncl graphic software is available on the notebooks and on the IMUK-cluster.}
    \end{itemize}
 \end{frame}
Index: palm/trunk/TUTORIAL/SOURCE/program_structure.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/program_structure.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/program_structure.tex	(revision 1515)
@@ -6,5 +6,4 @@
 \usepackage{ngerman}
 \usepackage{pgf}
-\usetheme{Dresden}
 \usepackage{subfigure}
 \usepackage{units}
@@ -25,5 +24,6 @@
 
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -45,5 +45,5 @@
 
 \title[PALM Program Structure]{PALM Program Structure}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 
@@ -61,11 +61,4 @@
 
 %Folie 01
-\begin{frame}
-   \begin{center}
-      PALM - Program Structure
-   \end{center}
-\end{frame}
-
-%Folie 02
 \begin{frame}
    \frametitle{Contents}
@@ -80,27 +73,29 @@
 \end{frame}
 
-%Folie 03
+%Folie 02
 \begin{frame}[fragile]
    \frametitle{PALM Code: General Features}
    \begin{itemize}
-      \item<2->{PALM is written in FORTRAN90. Current version number is 3.9.}
-      \item<3->{With some very minor exceptions, the code is using the FORTRAN standard, so it should compile without error on any FORTRAN90/95 compiler.}
+      \item<2->{PALM is written in FORTRAN90. Current version number is 3.10.}
+      \vspace{2.5mm}
+      \item<3->{With some very minor exceptions, the code is using the FORTRAN standard, so it should compile without error on any FORTRAN 2003/2008 compiler. (90/95 may give problems)}
+      \vspace{2.5mm}
       \item<4->{Data handling between subroutines is mostly done using FORTRAN90-modules instead of using parameter lists.
-      \begin{minipage}{0.45\textwidth}
+      \begin{minipage}{0.5\textwidth}
          \centering
          \begin{lstlisting}
 SUBROUTINE parin
-   USE control_parameters
-   USE grid_variables
+   USE control_parameters, ONLY: ...
+   USE grid_variables, ONLY: ...
    .
    .
          \end{lstlisting}
       \end{minipage}
-      \begin{minipage}{0.45\textwidth}
+      \begin{minipage}{0.4\textwidth}
          \centering
          \begin{lstlisting}
 SUBROUTINE parin( a, b, c, ... )
-   INTEGER ::  a, b
-   REAL    ::  c, ...
+   INTEGER(iwp) ::  a, b
+   REAL(wp)     ::  c, ...
    .
    .
@@ -111,16 +106,17 @@
 \end{frame}
 
-%Folie 04
+%Folie 03
 \begin{frame}
    \frametitle{PALM Code: General Features}
+   \small
    \begin{itemize}
-      \item<2->{Machine dependent code segments, e.g. calls for flushing of buffers (CALL FLUSH / CALL FLUSH\_), or calls of special software (e.g. netCDF or dvrp), which are available on some machines only, are activated using preprocessor directives.}
-      \item<3->{The serial and parallel PALM version is also activated by preprocessor directives.}
+      \item<2->{Machine dependent code segments, e.g. calls of routines from external libraries (e.g. NetCDF or FFTW), which may not be available on some machines, are activated using preprocessor directives.}
+      \item<3->{The serial and parallel (MPI) PALM version is also activated by preprocessor directives.}
       \item<4->{The code is splitted into several files, most of them containing just one subroutine, e.g. file ``parin.f90'' contains ``SUBROUTINE parin''.}
-      \item<5->{The code includes an interface which can be used by users to add their own code extensions. Advantage: These code extensions can be reused (normally) for future PALM releases without requiring any changes.}
+      \item<5->{The code includes an interface which can be used to add your own code extensions. Advantage: These code extensions can be reused (normally) for future PALM releases without requiring any changes.}
    \end{itemize}
 \end{frame}
 
-%Folie 05
+%Folie 04
 \begin{frame}
    \frametitle{PALM Flow Chart (I)}
@@ -177,5 +173,5 @@
 \end{frame}
 
-%Folie 06
+%Folie 05
 \begin{frame}
    \frametitle{PALM Flow Chart (II)}
@@ -231,5 +227,8 @@
          \path<4-> [line,dashed] (init3d.south) |- (userinit3d.west);
 
-         \uncover<4->{\node [yellow, below=0.05cm of userinit3d] (disturbh) {disturb\_heatflux};}
+         \uncover<4->{\node [yellow, below=0.05cm of userinit3d] (randomfuncini) {random\_function\_ini};}
+         \path<4-> [line] (init3d.south) |- (randomfuncini.west);
+
+         \uncover<4->{\node [yellow, below=0.05cm of randomfuncini] (disturbh) {disturb\_heatflux};}
          \path<4-> [line,dashed] (init3d.south) |- (disturbh.west);
 
@@ -253,6 +252,6 @@
          \path<4-> [line,dashed] (init3d.south) |- (initpt.west);
 
-         \uncover<4->{\node [yellow, below=0.05cm of initpt] (randomfuncini) {random\_function\_ini};}
-         \path<4-> [line] (init3d.south) |- (randomfuncini.west);
+         \uncover<4->{\node [yellow, below=0.05cm of initpt] (readpart) {read\_part\_of\_varlist};}
+         \path<4-> [line] (init3d.south) |- (readpart.west);
 
       \uncover<1->{\node [white2, below=6.6cm of PALM] (continu2) {};}
@@ -271,5 +270,5 @@
 \end{frame}
 
-%Folie 07
+%Folie 06
 \begin{frame}
    \frametitle{PALM Flow Chart (III)}
@@ -364,5 +363,5 @@
 \end{frame}
 
-%Folie 08
+%Folie 07
 \begin{frame}
    \frametitle{PALM Flow Chart (IV)}
@@ -406,41 +405,44 @@
                \path<7-> [line] (dataoutpdvrp.south) |- (userdataoutdvrp.west);
 
-       \uncover<8->{\node [green, below=1cm of lpminit] (userinit) {user\_init};}
-       \path<8-> [line] (init3d.south) |- (userinit.west);
-
-       \uncover<9->{\node [yellow, below=2.3cm of init3d] (header) {header};}
-       \path<9-> [line] (PALM.south) |- (header.west);
-
-          \uncover<10->{\node [green, right=0.05cm of header] (userheader) {user\_header};}
-          \path<10-> [line] (header.east) |- (userheader.west);
-
-       \uncover<11->{\node [yellow, below=0.05cm of header] (dataoutput2d) {data\_output\_2d};}
-       \path<11-> [line,dashed] (PALM.south) |- (dataoutput2d.west);
-
-          \uncover<12->{\node [green, right=0.05cm of dataoutput2d] (userdataoutput2d) {user\_data\_output\_2d};}
-          \path<12-> [line] (dataoutput2d.east) |- (userdataoutput2d.west);
-
-       \uncover<13->{\node [yellow, below=0.05cm of dataoutput2d] (dataoutput3d) {data\_output\_3d};}
-       \path<13-> [line,dashed] (PALM.south) |- (dataoutput3d.west);
-
-          \uncover<14->{\node [green, right=0.05cm of dataoutput3d] (userdataoutput3d) {user\_data\_output\_3d};}
-          \path<14-> [line] (dataoutput3d.east) |- (userdataoutput3d.west);
-
-       \uncover<15->{\node [yellow, below=0.05cm of dataoutput3d] (timeintegr) {time\_integration};}
-       \path<15-> [line] (PALM.south) |- (timeintegr.west);
-       \uncover<15->{\node [white, right=0.2cm of timeintegr] (timeintspace) {};}
-
-          \uncover<16->{\node [yellow, below=0.05cm of timeintspace] (runcontr) {run\_control};}
-          \path<16-> [line] (timeintegr.south) |- (runcontr.west);
-          \uncover<16->{\node [white, right=0.2cm of runcontr] (runcontrspace) {};}
-
-             \uncover<17->{\node [yellow, below=0.05cm of runcontrspace] (flowstat1) {flow\_statistics};}
-             \path<17-> [line,dashed] (runcontr.south) |- (flowstat1.west);
-
-                \uncover<18->{\node [green, right=0.05cm of flowstat1] (userstat1) {user\_statistics};}
-                \path<18-> [line] (flowstat1.east) |- (userstat1.west);
-
-          \uncover<19->{\node [yellow, below=0.5cm of runcontr] (surfcoup) {surface\_coupler};}
-          \path<19-> [line,dashed] (timeintegr.south) |- (surfcoup.west);
+       \uncover<8->{\node [yellow, below=1cm of lpminit] (wsinit) {ws\_init};}
+       \path<8-> [line] (init3d.south) |- (wsinit.west);
+
+       \uncover<9->{\node [green, below=0.05cm of wsinit] (userinit) {user\_init};}
+       \path<9-> [line] (init3d.south) |- (userinit.west);
+
+       \uncover<10->{\node [yellow, below=2.5cm of init3d] (header) {header};}
+       \path<10-> [line] (PALM.south) |- (header.west);
+
+          \uncover<11->{\node [green, right=0.05cm of header] (userheader) {user\_header};}
+          \path<11-> [line] (header.east) |- (userheader.west);
+
+       \uncover<12->{\node [yellow, below=0.05cm of header] (dataoutput2d) {data\_output\_2d};}
+       \path<12-> [line,dashed] (PALM.south) |- (dataoutput2d.west);
+
+          \uncover<13->{\node [green, right=0.05cm of dataoutput2d] (userdataoutput2d) {user\_data\_output\_2d};}
+          \path<13-> [line] (dataoutput2d.east) |- (userdataoutput2d.west);
+
+       \uncover<14->{\node [yellow, below=0.05cm of dataoutput2d] (dataoutput3d) {data\_output\_3d};}
+       \path<14-> [line,dashed] (PALM.south) |- (dataoutput3d.west);
+
+          \uncover<15->{\node [green, right=0.05cm of dataoutput3d] (userdataoutput3d) {user\_data\_output\_3d};}
+          \path<15-> [line] (dataoutput3d.east) |- (userdataoutput3d.west);
+
+       \uncover<16->{\node [yellow, below=0.05cm of dataoutput3d] (timeintegr) {time\_integration};}
+       \path<16-> [line] (PALM.south) |- (timeintegr.west);
+       \uncover<16->{\node [white, right=0.2cm of timeintegr] (timeintspace) {};}
+
+          \uncover<17->{\node [yellow, below=0.05cm of timeintspace] (runcontr) {run\_control};}
+          \path<17-> [line] (timeintegr.south) |- (runcontr.west);
+          \uncover<17->{\node [white, right=0.2cm of runcontr] (runcontrspace) {};}
+
+             \uncover<18->{\node [yellow, below=0.05cm of runcontrspace] (flowstat1) {flow\_statistics};}
+             \path<18-> [line,dashed] (runcontr.south) |- (flowstat1.west);
+
+                \uncover<19->{\node [green, right=0.05cm of flowstat1] (userstat1) {user\_statistics};}
+                \path<19-> [line] (flowstat1.east) |- (userstat1.west);
+
+          \uncover<20->{\node [yellow, below=0.5cm of runcontr] (surfcoup) {surface\_coupler};}
+          \path<20-> [line,dashed] (timeintegr.south) |- (surfcoup.west);
 
 
@@ -455,5 +457,5 @@
 
 
-%Folie 09
+%Folie 08
 \begin{frame}
    \frametitle{PALM Flow Chart (V)}
@@ -510,8 +512,11 @@
             \uncover<1->{\node [yellowLarge, below=0.4cm of timestepscheme] (prognosticequve) {prognostic\_equations\_vector};}
             \uncover<1->{\node [yellowLarge, right=0.05cm of prognosticequve] (prognosticequca) {prognostic\_equations\_cache};}
+            \uncover<1->{\node [yellowLarge, below=0.025cm of prognosticequca] (prognosticequacc) {prognostic\_equations\_acc};}
+            \coordinate [right=0.2cm of prognosticequacc] (testdummyhaha);
 %            \uncover<1->{\node [yellowLarge, below=0.05cm of prognosticequca] (prognosticequve) {prognostic\_equations\_vector};}
             \uncover<1->{\node [boxinfo, below=-0.025cm of prognosticequve] (Boxinfo) {For details, see \\ PALM Flow Chart (VIII).};}
             \path<1-> [line] (boxlinespace.north) -| (prognosticequca.north);
             \path<1-> [line] (boxlinespace.north) -| (prognosticequve.north);
+            \path<1-> [line] (boxlinespace.north) -| (testdummyhaha) -- (prognosticequacc.east);
 %            \uncover<1->{\node [redsmall, above=0.3cm of prognosticequca] (redadv) {standard\\advection};}
 
@@ -545,5 +550,5 @@
 \end{frame}
 
-%Folie 10
+%Folie 09
 \begin{frame}
    \frametitle{PALM Flow Chart (VI)}
@@ -638,5 +643,5 @@
 \end{frame}
 
-%Folie 11
+%Folie 10
 \begin{frame}
    \frametitle{PALM Flow Chart (VII)}
@@ -699,5 +704,5 @@
 
 
-%Folie 12
+%Folie 11
 \begin{frame}
    \frametitle{PALM Flow Chart (VIII)}
@@ -718,10 +723,10 @@
    \tikzstyle{boxinfo} = [rectangle, align=center, text width=0.3\textwidth, minimum size=12pt, font=\tiny]
    \tikzstyle{whitebox} = [rectangle, text width=0.2\textwidth, minimum size=12pt, font=\tiny]
-   \tikzstyle{bigbox} = [rectangle, draw, fill=white!100, text width=0.21\textwidth, minimum size=12pt, font=\tiny]
+   \tikzstyle{bigbox} = [rectangle, draw, fill=white!100, text width=0.22\textwidth, minimum size=12pt, font=\tiny]
    \tikzstyle{bigbox2} = [rectangle, draw, align=center, fill=white!100, text width=0.29\textwidth, minimum size=12pt, font=\tiny]
    
    \tikzstyle{framebox} = [rectangle, draw, text width=0.2\textwidth, minimum size=104pt, font=\tiny]
    \tikzstyle{Endbox} = [rectangle, draw, fill=gray!20, text width=0.21\textwidth, minimum size=12pt, font=\tiny]
-
+   \tikzstyle{Endbox2} = [rectangle, draw, fill=gray!20, text width=0.23\textwidth, minimum size=12pt, font=\tiny]
    
    %"align=center" hinzufÃŒgen, um in den boxen zu zentrieren.
@@ -736,5 +741,5 @@
       \uncover<1->{\node [yellowLarge, left=0.5cm of calcmeanptprofile] (prognosticequationscache) {prognostic\_equations\_cache};}
       \uncover<1->{\node [yellowLarge, right=0.5cm of calcmeanptprofile] (prognosticequationsvector) {prognostic\_equations\_vector};}
-
+      \uncover<1->{\node [yellowLarge, below=0.1cm of prognosticequationsvector] (prognosticequationsacc) {prognostic\_equations\_acc};}
       \uncover<1->{\node [yellow, below=-0.05cm of calcmeanptprofile] (calcradiation) {calc\_radiation};}
       \uncover<1->{\node [yellow, below=-0.05cm of calcradiation] (impactoflatentheat) {impact\_of\_latent\_heat};}
@@ -749,10 +754,11 @@
             DO i=nxl,nxr\\
             \quad DO j=nys,nyn\\
-            \quad \quad CALL \textcolor{blue}{u-subr}\\
-            \quad \quad CALL \textcolor{blue}{v-subr}\\
-            \quad \quad CALL \textcolor{blue}{w-subr}\\
-            \quad \quad CALL \textcolor{blue}{pt-subr}\\
-            \quad \quad CALL \textcolor{blue}{q or s-subr}\\
-            \quad \quad CALL \textcolor{blue}{e-subr}\\
+            \quad \quad CALL \textcolor{blue}{u-subr(i,j)}\\
+            \quad \quad CALL \textcolor{blue}{v-subr(i,j)}\\
+            \quad \quad CALL \textcolor{blue}{w-subr(i,j)}\\
+            \quad \quad CALL \textcolor{blue}{pt-subr(i,j)}\\
+            \quad \quad CALL \textcolor{blue}{q or }\\
+            \quad \quad \hphantom{CALL} \textcolor{blue}{s-subr(i,j)}\\
+            \quad \quad CALL \textcolor{blue}{e-subr(i,j)}\\
             \quad ENDDO\\
             ENDDO\\
@@ -760,5 +766,5 @@
       };}
       
-      \uncover<1->{\node [bigbox, below=0.05cm of prognosticequationsvector] (listingsvector) {
+      \uncover<1->{\node [bigbox, below=0.05cm of prognosticequationsacc] (listingsvector) {
          \texttt{\linespread {0.7}\selectfont\noindent
             CALL \textcolor{blue}{u-subr}\\
@@ -816,10 +822,10 @@
             !within subroutines:\\
             DO k=nzb+1,nzt\\
-            \quad \quad \textcolor{blue}{...}\\
+            \quad \quad \textcolor{blue}{tend(k,j,i)=...}\\
             ENDDO\\
          }
       };}
 
-      \uncover<2->{\node [Endbox, below=2.5cm of listingsvector] (endboxvec) {
+      \uncover<2->{\node [Endbox2, below=2.0cm of listingsvector] (endboxvec) {
          \texttt{\linespread {0.7}\selectfont\noindent
             !within subroutines:\\
@@ -827,5 +833,5 @@
             \quad DO j = nys, nyn \\
             \quad \quad DO k=nzb+1,nzt\\
-            \quad \quad \quad \textcolor{blue}{...}\\
+            \quad \quad \quad \textcolor{blue}{tend(k,j,i)=...}\\
             \quad \quad ENDDO \\
             \quad ENDDO \\
@@ -840,5 +846,5 @@
 \end{frame}
 
-%Folie 13
+%Folie 12
 \begin{frame}
    \frametitle{PALM Flow Chart (IX)}
@@ -906,9 +912,10 @@
 \end{frame}
 
-%Folie 14
+%Folie 13
 \begin{frame}[fragile]
    \frametitle{Important Variables and Their Declaration}
    \begin{itemize}
-      \item<2->{3D-arrays of prognostic variables are named $\Psi_m$, $\Psi$, and $\Psi_p$ for time level $t-\Delta t$, $t$, and $t+\Delta T$, respectively, with $\Psi = u$, $v$, $w$, $pt$, $q$, $e$, $sa$}
+      \item<2->{3D-arrays of prognostic variables are named $\Psi$, and $\Psi_p$ for time level $t$, and $t+\Delta t$, respectively, with $\Psi = u$, $v$, $w$, $pt$, $q$, $e$, $sa$}
+      \vspace{2.5mm}
       \item<3->{They are by default declared as $\Psi$($z$,$y$,$x$) or $\Psi$($k$,$j$,$i$), e.g.\\
       \begin{minipage}{0.2\textwidth}
@@ -921,6 +928,6 @@
 
 
-nysg = nys - ngl,  nyng = nyn + ngl
-nxlg = nxl - ngl,  nxrg = nxr + ngl
+nysg = nys - nbgp,  nyng = nyn + nbgp
+nxlg = nxl - nbgp,  nxrg = nxr + nbgp
 nzb, nzt (bottom, top)
 nys, nyn (south, north)
@@ -928,14 +935,14 @@
          \end{lstlisting}
       \end{minipage}\\
-      as the index limits of the (sub-)domain. ngl is the number of ghost layers which depends on the advection scheme ( ngl = 3 for the default Wicker-Skamarock scheme)
+      as the index limits of the (sub-)domain.\\ nbgp is the number of ghost points which depends on the advection scheme (nbgp = 3 for the default Wicker-Skamarock scheme).
       }
    \end{itemize}
 \end{frame}
 
-%Folie 15
+%Folie 14
 \begin{frame}[fragile]
    \frametitle{Important Variables and Their Declaration}
    \begin{itemize}
-      \item<1->{If only one processor is used, then\\
+      \item<1->{If only one process/core is used, then\\
       \begin{minipage}{0.2\textwidth}
          \quad \\\\
@@ -956,13 +963,14 @@
          \centering
          \begin{lstlisting}
-REAL, DIMENSION(:,:,:), POINTER ::  u, u_p, v, v_p, ...
+REAL(wp), DIMENSION(:,:,:), POINTER ::  u, u_p, v, v_p, ...
          \end{lstlisting}
       \end{minipage}\\
-      This does not affect the usage of these variables in the code in (almost) any way.
-      }
+      This does not affect the usage of these variables in the code in (almost) any way.}
+      \vspace{1.0mm}
+      \item<3->{A pointer free version can be activated with preprocessor-option \texttt{-D\_\_nopointer}.}
    \end{itemize}
 \end{frame}
 
-%Folie 16
+%Folie 15
 \begin{frame}[fragile]
    \frametitle{Some Other Frequently Used Variables}
@@ -998,43 +1006,43 @@
 
 
-%Folie 17
+%Folie 16
 \begin{frame}[fragile]
    \frametitle{Preprocessor Directives (I)}
    \begin{itemize}
       \item<1->{Preprocessor directives are special lines in the code which allows to compile alternative parts of the code depending on so-called \textbf{define-string} switches.\\ Code example:\\
-      \begin{minipage}{0.2\textwidth}
+      \begin{minipage}{0.01\textwidth}
          \quad \\\\
       \end{minipage}
-      \begin{minipage}{0.7\textwidth}
+      \begin{minipage}{0.8\textwidth}
          \centering
          \begin{lstlisting}
-#if defined( __abc )
-CALL FLUSH( 9 )
+#if defined( __nopointer )
+REAL(wp), DIMENSION(:,:,:), ALLOCATABLE, TARGET :: e, e_p, ...
 #else
-CALL FLUSH_( 9 )
+REAL(wp), DIMENSION(:,:,:), POINTER :: e, e_p, ...
 #endif
          \end{lstlisting}
       \end{minipage}\\
-      If now the compiler is called e.g.\\
-      \begin{minipage}{0.2\textwidth}
+      \onslide<2->If now the compiler is called e.g.\\
+      \begin{minipage}{0.01\textwidth}
          \quad \\\\
       \end{minipage}
-      \begin{minipage}{0.7\textwidth}
+      \begin{minipage}{0.8\textwidth}
          \centering
-         \begin{lstlisting}
-ifort -cpp -D __abc ... (other options)
+         \begin{lstlisting}[basicstyle=\ttfamily \scriptsize]
+ifort -cpp -D __nopointer ... (other options)
          \end{lstlisting}
       \end{minipage}\\
-      then the line containing ``\texttt{\tiny CALL FLUSH( 9 )}'' is compiled. \\If the compiler call is\\
-      \begin{minipage}{0.2\textwidth}
+      then the line containing ``\texttt{\tiny ..., ALLOCATABLE, TARGET :: ...}'' is compiled. \\If the compiler call is\\
+      \begin{minipage}{0.01\textwidth}
          \quad \\\\
       \end{minipage}
-      \begin{minipage}{0.7\textwidth}
+      \begin{minipage}{0.8\textwidth}
          \centering
-         \begin{lstlisting}
+         \begin{lstlisting}[basicstyle=\ttfamily \scriptsize]
 ifort -cpp ... (other options)
          \end{lstlisting}
       \end{minipage}\\
-      the line containing ``\texttt{\tiny CALL FLUSH\_( 9 )}'' is compiled.
+      the line containing ``\texttt{\tiny ..., POINTER :: ...}'' is compiled.
       }
    \end{itemize}
@@ -1042,5 +1050,5 @@
 
 
-%Folie 18
+%Folie 17
 \begin{frame}[fragile]
    \frametitle{Preprocessor Directives (II)}
@@ -1055,5 +1063,5 @@
       \begin{minipage}{0.7\textwidth}
          \centering
-         \begin{lstlisting}
+         \begin{lstlisting}[basicstyle=\ttfamily \scriptsize]
 #if defined ( __abc  &&  __def )
          \end{lstlisting}
@@ -1064,5 +1072,5 @@
 
 
-%Folie 19
+%Folie 18
 \begin{frame}[fragile]
    \frametitle{Preprocessor Directives (III)}
@@ -1072,8 +1080,8 @@
       \begin{itemize}
          \item<2->{\texttt{\scriptsize \_\_ibm}} \quad IBM-Regatta systems\\
-         \item<2->{\texttt{\scriptsize \_\_lc}}\;\: \quad Linux clusters (using Intel compiler ifort)\\
+         \item<2->{\texttt{\scriptsize \_\_lc}}\;\: \quad Linux clusters\\
          \item<2->{\texttt{\scriptsize \_\_nec}} \quad NEC-SX systems\\
       \end{itemize}
-      Switches are set automatically depending on mrun-option ``\texttt{\scriptsize-h}'', eg. ``\texttt{\scriptsize-h lcmine}'' sets ``\texttt{\scriptsize-D \_\_lc}''}
+      Switches are set automatically depending on the host identifier string given with mrun-option ``\texttt{\scriptsize-h}'',\\ eg. ``\texttt{\scriptsize-h lclocal}'' sets ``\texttt{\scriptsize-D \_\_lc}''}
       \item<3->{To switch between the serial and the parallel code:\\
       \begin{itemize}
@@ -1085,15 +1093,22 @@
 
 
-%Folie 20
+%Folie 19
 \begin{frame}[fragile]
    \frametitle{Preprocessor Directives (IV)}
-   In the PALM code, define-string switches are used for following reasons:
+   \small
+   In the PALM code, define-string switches are additionally used for following reasons:
    \begin{itemize}
       \item<1->{To enable usage of special software packages which are not included in the compilation process by default\\
       \begin{itemize}
-         \item<1->{\texttt{\scriptsize \_\_dvrp\_graphics}} \quad 3D visualization system\\
-         \item<1->{\texttt{\scriptsize \_\_spectra}} \quad \quad \quad \quad calculation and output of power spectra\\
+         \item<1->{\texttt{\scriptsize \_\_dvrp\_graphics}} \quad 3D visualization system (currently out of\\ \hspace{24.5mm} order)\\
+         \item<1->{\texttt{\scriptsize \_\_spectra}} \hspace{10.7mm} calculation and output of power spectra\\
       \end{itemize}
       Switches are activated with mrun-option ``\texttt{\scriptsize-p}'', \mbox{eg. ``\texttt{\scriptsize-p} ``\texttt{\scriptsize spectra dvrp\_graphics}''''}}
+      \item<2->{To enable special features
+      \begin{itemize}
+         \item<1->{\texttt{\scriptsize \_\_openacc}} \quad activates call of external routines required for\\ \hspace{15.7mm} OpenACC programming\\
+         \item<1->{\texttt{\scriptsize \_\_netcdf, \_\_netcdf4, \_\_netcdf\_parallel}} \quad NetCDF I/O with\\ \hspace{15.7mm} different NetCDF versions\\
+      \end{itemize}
+      }
    \end{itemize}
     {\small \quad\\ \quad\\ \quad}\\ \quad  \\ \quad %nicht fragen, was das soll!! Mir ist leider nichts bsseres eingefallen um den Satz unter der Ãberschrift deckungsgleich auf beiden Folien zu haben.
@@ -1101,9 +1116,19 @@
 
 
-%Folie 21
+\lstset{language=[90]Fortran,
+  basicstyle=\ttfamily \scriptsize,
+  keywordstyle=\color{black},
+  commentstyle=\color{black},
+  morecomment=[l]{!\ }% Comment only with space after !
+}
+
+%Folie 20
 \begin{frame}[fragile]
    \frametitle{Preprocessor Directives (V)}
+   \small
    \begin{itemize}
-      \item<1->{Preprocessor directives are also used for string replacement in the code.\\ Example:\\A compiler call with preprocessor option\\
+      \item<1->{Preprocessor directives are also used for string replacement in the code.\\ 
+      \ \\
+      Example:\\A compiler call with preprocessor option\\
       \begin{minipage}{0.2\textwidth}
          \quad \\\\
@@ -1116,6 +1141,7 @@
       \end{minipage}
       will replace all strings ``\texttt{\scriptsize abcd}'' in the code with ``\texttt{\scriptsize efgh}'' \textbf{before} the code is compiled.\\
-      This is used in PALM to change the MPI\_REAL datatypes (which are 4 Byte long by default), to 8 Bytes. The respective cpp-directives are given in the configuration file \texttt{\scriptsize .mrun.config.}:\\
-      \begin{minipage}{0.2\textwidth}
+      \ \\
+      This is used in PALM to change the MPI\_REAL datatypes (which are 4 byte long by default), to 8 bytes. The respective cpp-directives are given in the configuration file \texttt{\scriptsize .mrun.config.}:\\
+      \begin{minipage}{0.01\textwidth}
          \quad \\\\
       \end{minipage}
Index: palm/trunk/TUTORIAL/SOURCE/restarts_with_mrun.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/restarts_with_mrun.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/restarts_with_mrun.tex	(revision 1515)
@@ -6,5 +6,4 @@
 \usepackage{ngerman}
 \usepackage{pgf}
-\usetheme{Dresden}
 \usepackage{subfigure}
 \usepackage{units}
@@ -27,5 +26,6 @@
         \ttfamily,showstringspaces=false,captionpos=b}
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -47,5 +47,5 @@
 
 \title[Carrying out restart runs with mrun]{Carrying out restart runs with \texttt{mrun}}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 \begin{document}
@@ -67,5 +67,5 @@
    \begin{itemize}
       \item<1-> A \textbf{ârestart runâ} is a model run, which starts with an initial condition given by the simulated flow at the end of a previous (restart or initial) run.
-      \item<2-> In order to carry out a restart run, a file has to be written at the end of the previous run, which contains the values of all flow variables at the necessary time steps (Runge-Kutta: $t$, leap-frog: $t$, $t-\Delta t$). This file has to be read at the beginning of the restart run.
+      \item<2-> In order to carry out a restart run, a file has to be written at the end of the previous run, which contains the values of all flow variables at the last time step. This file has to be read at the beginning of the restart run.
       \item<3-> Initial and respective restart runs form a so called \textbf{job chain}.
    \end{itemize}  
@@ -121,5 +121,5 @@
             \quad \texttt{mrun -d test ... -r \dq d3f restart\dq}\\
             \vspace{1mm}
-            on the \textbf{local host}. Options of this command are nearly the same as of the initial run, but every sharp symbol (\grqq\#\grqq) in the activating strings is replaced by an \grqq f\grqq.
+            on the \textbf{local host}. Options of this command are nearly the same as of the initial run, but every sharp character (\grqq\#\grqq) in the activating strings is replaced by an \grqq f\grqq.
          \end{itemize}
          \scriptsize
@@ -190,9 +190,9 @@
       \vspace{-1mm}
       \begin{itemize}
-         \item<1-> Typically, the binary restart files are very large, so that they cannot be stored in the user's home-directory because of limited file quotas. Also, hard disks where \texttt{/home} is stored are typically very slow, so that the copy process needs very long time.
+         \item<1-> Typically, the binary restart files are very large, so that they cannot be stored in the user's home-directory because of limited disk quotas. Also, hard disks where \texttt{/home} is stored are typically very slow, so that the copy process needs very long time.
          \vspace{1mm}
          \item<2-> Using the file attribute \texttt{fl} (abbreviation for german \grqq Fortsetzungslauf\grqq) in the output file connection statement causes \texttt{mrun} to copy the local file to a special directory, which can be defined in the configuration file by the environment variable \texttt{tmp\underline{ }data\underline{ }catalog}. The permanent file described in the connection statement is also created, but it is \textbf{empty}.
          \vspace{1mm}
-         \item<3-> At the end of the job, the second last cycle of the respective file with attribute \texttt{fl} is automatically deleted by \texttt{mrun} from the \texttt{tmp\underline{ }data\underline{ }catalog} in order to spare disc space. This can be prevented by setting the \texttt{mrun}-option \grqq\texttt{-k}\grqq (keep data from previous run).
+         \item<3-> At the end of the job, the second last cycle of the respective file with attribute \texttt{fl} is automatically deleted by \texttt{mrun} from the \texttt{tmp\underline{ }data\underline{ }catalog} in order to save disk space. This can be switched off with \texttt{mrun}-option \grqq\texttt{-k}\grqq (keep data from previous run).
       \end{itemize}
    \end{columns}
@@ -200,13 +200,13 @@
       \onslide<4-> \textbf{Example:}\\
       \tiny \quad \texttt{\%base\underline{ }data\hspace{4.5em}\~{}/palm/current\underline{ }version/JOBS}\\
-      \tiny \quad \texttt{\%tmp\underline{ }data\underline{ }catalog\hspace{1.0em}/gfs2/work/niksiraa/palm\underline{ }restart\underline{ }data}\\
+      \tiny \quad \texttt{\%tmp\underline{ }data\underline{ }catalog\hspace{1.0em}/gfs1/work/niksiraa/palm\underline{ }restart\underline{ }data}\\
       \vspace{1mm}
       \tiny \quad \texttt{BINOUT\hspace{1.0em}out:loc:flpe\hspace{1.0em}restart\hspace{1.0em}\$base\underline{ }data/\$fname/RESTART\hspace{1.0em}\underline{ }d3d}\\
       \ \\
       \onslide<5-> \scriptsize \textbf{Files (directories) created when using \texttt{-d example\underline{ }cbl}:}  \\
-      \tiny \quad \texttt{/gfs2/work/niksiraa/palm\underline{ }restart\underline{ }data/example\underline{ }cbl\underline{ }d3d}\\
+      \tiny \quad \texttt{/gfs1/work/niksiraa/palm\underline{ }restart\underline{ }data/example\underline{ }cbl\underline{ }d3d}\\
       \tiny \quad \texttt{\~{}/palm/current\underline{ }version/JOBS/example/RESTART/example\underline{ }cbl\underline{ }d3d \# empty file (directory)}\\
    \vspace{2mm}
-   \onslide<6-> \scriptsize \textcolor{red}{Concerning input files, \texttt{mrun} always determines the current cycle number to be \underline{used from the contents of the directory defined by the file connection}\\ \underline{statement!}}
+   \onslide<6-> \scriptsize \textcolor{red}{Concerning input files, \texttt{mrun} always determines the current cycle number to be \underline{used from the contents of the directory given by the file connection}\\ \underline{statement!}}
 
 \end{frame}
@@ -214,15 +214,63 @@
 
 % Folie 8
-\begin{frame}
+\begin{frame}[fragile]
    \frametitle{Checking the Restart Job Execution}
-   \scriptsize
+   \tikzstyle{yellow} = [rectangle, draw, fill=yellow!30, text width=1.2\textwidth, font=\Tiny,scale=0.8]
+   \scriptsize
+   \vspace{-40mm}
    \begin{itemize}
       \item essentially by looking at the messages in the job protocol file:
    \end{itemize} 
-   
    \centering
-   \includegraphics[width=0.93\textwidth]{restarts_with_mrun_figures/checking.png}
    \begin{tikzpicture}[remember picture, overlay]
-      \node[rectangle, draw,text width=0.29\textwidth, fill=white] at (-18mm,62mm) {\noindent \scriptsize In this example, restart time has been set 
+   \node [yellow] (terminal)  at (0mm,-30mm) {\begin{lstlisting}  
+  *** execution starts in directory
+      "/gfs1/work/nikleboe/nikleboe.21239"
+  ----------------------------------------------------------------------------
+.
+.
+    run will be terminated due to user settings of
+    restart_time / dt_restart
+    new restart time is:  3600.  s
+.
+.
+  ----------------------------------------------------------------------------
+  *** execution finished 
+.
+.
+ ----------------------------------------------------------------------------
+  *** all OUTPUT-files saved 
+
+
+  *** initiating restart-run on "130.75.105.111" using command:
+      mrun -c.mrun.config -dexample_cbl -hlccrayh -Hlcmuk -m1500 -t3600 -qmpp1testq -R130.75.105.111 -Uboeske ...
+
+  ----------------------------------------------------------------------------
+*** ssh will be used to initiate restart-runs!
+.
+.
+*** MRUN  2.1 Rev: 1358 $ 
+    will be executed.     Please wait ...
+#------------------------------------------------------------------------# 
+| MRUN  2.1 Rev: 1358 $                    Thu Jun 31 14:09:30 CEST 2014 | 
+|                                                                        | 
+| called on:               vaudaire                                      | 
+.
+.
+| Files to be compiled:                                                  | 
+| palm.f90 user_example.f90                                              | 
+#------------------------------------------------------------------------#
+.
+.
+  ----------------------------------------------------------------------------
+  *** restart-run initiated 
+
+
+ --> all actions finished
+
+     Bye, bye nikleboe !!
+\end{lstlisting}
+         };
+      \node[rectangle, draw,text width=0.29\textwidth, fill=white] at (35mm,-5mm) {\noindent \scriptsize In this example, restart time has been set 
       
       manually by the user.};
@@ -239,8 +287,8 @@
       \column{1.07\textwidth}
       \begin{itemize}
-         \item<1-> By default, PALM checks after every timestep, if enough time remains from the job cpu limit to carry out the next timestep:\\
-         \vspace{1mm}
-         (\quad \grqq\texttt{total job time}\grqq\, - \grqq\texttt{time already consumed}\grqq\,) \texttt{<=} \texttt{termination\underline{ }time\underline{ }needed}\\
-         (as given by \texttt{mrun}-option \texttt{-t} ...) \hspace{5mm}  (as given by parameter in \texttt{\&d3par}-NAMELIST)\\
+         \item<1-> By default, PALM checks after every timestep, if enough time remains from the job's cpu limit to carry out the next timestep:\\
+         \vspace{1mm}
+         (\quad \textcolor{red}{\grqq\texttt{total job time}\grqq\,} - \grqq\texttt{time already consumed}\grqq\,) \texttt{<=} \textcolor{blue}{\texttt{termination\underline{ }time\underline{ }needed}}\\
+         (\textcolor{red}{as given by \texttt{mrun}-option \texttt{-t} ...}) \hspace{5mm}  (\textcolor{blue}{as given by parameter in \texttt{\&d3par}-NAMELIST})\\
          \vspace{3mm}
          \item<2-> \texttt{termination\underline{ }time\underline{ }needed} has to include the cpu time needed before running PALM (e.g. for compilation, copying of input data, etc.; default value: 300 s)!\\
@@ -249,5 +297,5 @@
          \vspace{1mm}
          \quad \quad \grqq\texttt{total job time}\grqq\, \texttt{<=} \texttt{termination\underline{ }time\underline{ }needed},\\
-         \quad forces a restart after the first timestep!
+         \quad forces a restart after every timestep!
          \vspace{3mm}
          \item<4-> \texttt{\&d3par}-parameters \texttt{restart\underline{ }time} and \texttt{dt\underline{ }restart} can be used to set restart time(s) manually.\\
Index: palm/trunk/TUTORIAL/SOURCE/runs_with_mrun.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/runs_with_mrun.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/runs_with_mrun.tex	(revision 1515)
@@ -6,5 +6,4 @@
 \usepackage{ngerman}
 \usepackage{pgf}
-\usetheme{Dresden}
 \usepackage{subfigure}
 \usepackage{units}
@@ -23,7 +22,8 @@
 \usepackage{listings}
 \lstset{showspaces=false,language=fortran,basicstyle=
-        \ttfamily,showstringspaces=false,captionpos=b}
-
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+        \ttfamily,showstringspaces=false,captionpos=b,aboveskip=0pt,belowskip=0pt}
+
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -46,5 +46,5 @@
 
 \title[Carrying out runs using mrun]{Carrying out runs using \texttt{mrun}}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 \begin{document}
@@ -61,19 +61,20 @@
 \begin{frame}
    \frametitle{What is \texttt{mrun}?}
+   \footnotesize
    \begin{itemize}
       \item<1-> \texttt{mrun} (\textbf{m}odel \textbf{run}) is a shell script (using 
-      \texttt{ksh}-syntax) which can be used to compile and run programs, including 
+      \texttt{bash}/\texttt{ksh}-syntax) which can be used to compile and run programs, including 
       the handling of input/output files.
       \vspace{3mm}
       \item<2-> The \texttt{mrun}-command has a number of options to control the 
       program execution\\
-         \vspace{2mm}
-         \quad \footnotesize \texttt{mrun -d example\underline{ }cbl -h lcsgih -K parallel -X8 -T2 ...}\\
-         \vspace{2mm}
-         \normalsize All options including a short description can be displayed by entering\\
-         \vspace{2mm}
-         \quad \footnotesize \texttt{mrun ?}
-      \vspace{3mm}
-      \item<3-> \normalsize The shellscript execution is also controlled by a configuration file with default name \texttt{.mrun.config} 
+         \vspace{3mm}
+         \quad \texttt{mrun -d example\underline{ }cbl -h lcsgih -K parallel -X8 -T2 ...}\\
+         \vspace{3mm}
+         All options including a short description can be displayed by entering\\
+         \vspace{3mm}
+         \quad \texttt{mrun ?}
+      \vspace{4mm}
+      \item<3-> The shellscript execution is also controlled by a configuration file with default name \texttt{.mrun.config} 
    \end{itemize}
 \end{frame}
@@ -94,5 +95,5 @@
    \vspace{1mm}
    \quad 1. compilation\\
-   \qquad \texttt{f90  ...  file1.f90 file2.f90 ...}\\
+   \qquad \texttt{f95  ...  file1.f90 file2.f90 ...}\\
    \vspace{1mm}
    \onslide<2->\quad 2. execution\\
@@ -143,20 +144,24 @@
    \tikzstyle{yellowsmall} = [rectangle, draw, fill=yellow!20, text width=0.10\textwidth, font=\scriptsize]
    \tikzstyle{dummy} = [rectangle, text width=0.01\textwidth, font=\tiny]
-   
+   \scriptsize
    \frametitle{\texttt{mrun}: Principal Mode of Operation (I)}
-   \scriptsize \texttt{mrun} \textbf{runs a program (in our case the PALM model) by carrying out the following principle tasks in a sequential order:}\\
-   \vspace{1mm}
+   \texttt{mrun} \textbf{runs a program (in our case the PALM model) by carrying out the following principle tasks in a sequential order:}\\
    \begin{enumerate}
+      \tiny
       \item<2-> Create a temporary working directory and change into this directory:\\
-      \quad \texttt{mkdir <tmpdir>/<username>.<randomnumber>}\\
+      \vspace{1.5mm}
+      \scriptsize \quad \texttt{mkdir <tmpdir>/<username>.<randomnumber>}\\
       \quad \texttt{cd <tmpdir>/<username>.<randomnumber>}\\
-      \ \\
+      \tiny \ \\
       The path of \texttt{<tmpdir>} is given in the configuration file 
       \texttt{.mrun.config} by the environment variable \texttt{tmp\underline{ }user\underline{ }catalog}, e.g.:\\
-	   \quad \texttt{\%tmp\underline{ }user\underline{ }catalog  /tmp \hspace{30mm} <hi>  parallel}\\
-	   \ \\
-	   \onslide<3-> On SGI-ICE: \\
-	   \quad \texttt{\%tmp\underline{ }user\underline{ }catalog  /gfs2/work/<username> 
+      \vspace{1.5mm}
+	   \scriptsize \quad \texttt{\%tmp\underline{ }user\underline{ }catalog  /tmp \hspace{30mm} <hi>  parallel}\\
+	   \tiny \ \\
+	   \onslide<3-> On Cray-XC30: \\
+      \vspace{1.5mm}
+	   \scriptsize \quad \texttt{\%tmp\underline{ }user\underline{ }catalog  /gfs1/work/<username> 
 	   \hspace{5mm} lcsgih parallel}
+      \vspace{1mm}
 	   \begin{center}
 	      \begin{tikzpicture}[auto, node distance=0] 
@@ -165,5 +170,5 @@
 	   \end{center}
 	   \vspace{2mm}
-	   \item<5-> Copy the input files from a directory of the user into this working directory:\\
+	   \item<5-> \fontsize{7}{1} Copy the input files from a directory of the user into this working directory:\\
 	   \vspace{1mm}
 	   \onslide<6-> \tiny \quad \texttt{cp <user\underline{ }input\underline{ }file1> 
@@ -234,5 +239,5 @@
 	   
 	   \item<5-> Compile the main program and use pre-compiled object files:\\
-     \quad \texttt{f90 palm.f90 *.o ...   ( make Makefile)}
+     \quad \texttt{f95 palm.f90 *.o ...   ( make Makefile)}
       \item<6-> Execute the program:\\
      \quad \texttt{a.out}
@@ -303,5 +308,5 @@
    \scriptsize
    \textbf{Copying of files is controlled by so called} \textit{file connection statements}. \textbf{They connect local files in the temporary working directory with permanent files residing in the directory of the user.}\\
-   \vspace{1mm}
+   \vspace{3mm}
    Principle example of a file connection statement (for the PALM parameter file):
    \vspace{-3mm}
@@ -338,30 +343,78 @@
 	\end{center}
    
-   \onslide<8->The full name of the permanent file results from the directory name, the suffix and the value of \texttt{mrun}-Option \texttt{-d}, which defines the so-called \textbf{base name} of all files handled by \texttt{mrun}:\\
-   \quad \texttt{mrun -d \textcolor{blue}{example\underline{ }cbl} ...}\\
-   gives the filename\\
-   \quad \texttt{\~{}/palm/current\underline{ }version/JOB/INPUT/\textcolor{blue}{example\underline{ }cbl}\underline{ }p3d}\\
-   \quad \texttt{( ... /\textcolor{blue}{example\underline{ }cbl}\underline{ }p3d\textcolor{red}{.nc} )}
-   
-\end{frame}
+\end{frame}
+
 
 % Folie 8
 \begin{frame}
+   \tikzstyle{small} = [rectangle, text width=0.08\textwidth, font=\scriptsize]
+   \tikzstyle{large} = [rectangle, text width=0.45\textwidth, font=\scriptsize]
+   \tikzstyle{box} = [rectangle, draw, text width=0.2\textwidth, font=\scriptsize]
+   \tikzstyle{boxbig} = [rectangle, draw, text width=0.4\textwidth, font=\scriptsize]
+   \tikzstyle{dummy} = [rectangle, text width=0.0\textwidth, font=\scriptsize, minimum height=0.5cm]
+   
    \frametitle{Steering File Copy by the Configuration File (II)}
    \scriptsize
+   \begin{center}
+	   \begin{tikzpicture}[auto, node distance=0] 
+         \uncover<1->{\node [small] (part1) {\texttt{PARIN}};}
+         \uncover<1->{\node [dummy, left=-0.2cm of part1] (dummy1) {};}
+         \uncover<1->{\node [dummy, below=1.25cm of dummy1] (dummy3) {};}
+         \uncover<1->{\node [small, right=0.0cm of part1] (part2) {\quad \texttt{in}};}
+         \uncover<1->{\node [dummy, right=0.0cm of part2] (dummy2) {};}
+         \uncover<1->{\node [small, right=0.2cm of part2] (part3) {\texttt{d3\#}};}
+	      \uncover<1->{\node [large, right=0.0cm of part3] (part4) {\texttt{\~{}/palm/current\underline{ }version/JOB/INPUT}};}
+	      \uncover<1->{\node [small, right=0.0cm of part4] (part5) {\texttt{\underline{ }p3d}};}
+	      \uncover<1->{\node [small, right=0.2cm of part5] (part6) {\texttt{( \textcolor{red}{nc} )}};}
+	            
+         \uncover<1->{\node [boxbig, below=1.25cm of dummy2] (box1) {local filename in the working directory (must correspond to the filename in the \texttt{OPEN} statement of the program)};}
+	      \draw<1-> [->] (dummy3.north) -- (dummy1.south);
+	      
+	      \uncover<1->{\node [box, below=0.7cm of part2] (box2) {file attributes};}
+	      \draw<1-> [->] (box2.north) -- (part2.south);
+	      
+	      \uncover<1->{\node [box, below=0.2cm of part3] (box3) {activating string};}
+	      \draw<1-> [->] (box3.north) -- (part3.south);
+	      	      
+	      \uncover<1->{\node [box, below=0.2cm of part4] (box4) {directory in which the permanent user file resides};}
+	      \draw<1-> [->] (box4.north) -- (part4.south);
+	      
+         \uncover<1->{\node [box, below=0.2cm of part5] (box5) {suffix of the permanent filename};}
+	      \draw<1-> [->] (box5.north) -- (part5.south);
+	      
+         \uncover<1->{\node [box, below=1.0cm of part6] (box6) {additional suffix for netCDF files};}
+	      \draw<1-> [->] (box6.north) -- (part6.south);    
+	   \end{tikzpicture}
+	\end{center}
+   \vspace{3mm}
+   \onslide<2->The full name of the permanent file results from the directory name, the suffix and the value of \texttt{mrun}-Option \texttt{-d}, which defines the so-called \textbf{base name} of all files handled by \texttt{mrun}:\\
+   \footnotesize \quad \texttt{mrun -d \textcolor{blue}{example\underline{ }cbl} ...}\\
+   \vspace{1mm}
+   \scriptsize gives the filename\\
+   \vspace{1mm}
+   \footnotesize \quad \texttt{\~{}/palm/current\underline{ }version/JOB/INPUT/\textcolor{blue}{example\underline{ }cbl}\underline{ }p3d}\\
+   \quad \texttt{( ... /\textcolor{blue}{example\underline{ }cbl}\underline{ }p3d\textcolor{red}{.nc} )}
+   
+\end{frame}
+
+
+% Folie 9
+\begin{frame}
+   \frametitle{Steering File Copy by the Configuration File (III)}
+   \tiny
    \onslide<1-> The \textbf{base name} can additionally be a part of the directory name 
    by using \textcolor{blue}{\texttt{\$fname}} in the directory column of the file connection statement:\\
    \vspace{1mm}
-   \quad \texttt{PARIN in d3\# \~{}/palm/current\underline{ }version/JOBS/\textcolor{blue}{\$fname}/INPUT \underline{ }p3d}\\
-   \vspace{1mm}
-   \onslide<2-> Using the call\\
-   \vspace{1mm}
-   \quad \texttt{mrun -d \textcolor{blue}{abcde} ...}\\
-   \vspace{1mm}
-   the input file will be expected under\\
-   \vspace{1mm}
-   \quad \texttt{\~{}/palm/current\underline{ }version/JOBS/\textcolor{blue}{abcde}/INPUT/\textcolor{blue}{abcde}\underline{ }p3d }\\
-   \vspace{1mm}
-   \onslide<3-> In this way, all files handled by the \texttt{mrun}-call are stored in 
+   \scriptsize\quad \texttt{PARIN in d3\# \~{}/palm/current\underline{ }version/JOBS/\textcolor{blue}{\$fname}/INPUT \underline{ }p3d}\\
+   \vspace{4mm}
+   \onslide<2-> \tiny Using the call\\
+   \vspace{1mm}
+   \scriptsize \quad \texttt{mrun -d \textcolor{blue}{abcde} ...}\\
+   \vspace{1mm}
+   \tiny the input file will be expected under\\
+   \vspace{1mm}
+   \scriptsize \quad \texttt{\~{}/palm/current\underline{ }version/JOBS/\textcolor{blue}{abcde}/INPUT/\textcolor{blue}{abcde}\underline{ }p3d }\\
+   \vspace{4mm}
+   \onslide<3-> \tiny In this way, all files handled by the \texttt{mrun}-call are stored in 
    the same subdirectory (\textcolor{blue}{abcde/}) and will have the same string (\texttt{\textcolor{blue}{abcde}}) as 
    part of their names, so they can be easily identified as \grqq belonging\grqq\, to the model 
@@ -373,71 +426,79 @@
    connection statements:\\
    \vspace{1mm}
-   \quad \texttt{\%base\underline{ }data  \~{}/palm/current\underline{ }version/JOBS}\\
+   \scriptsize \quad \texttt{\%base\underline{ }data  \~{}/palm/current\underline{ }version/JOBS}\\
    \quad \texttt{PARIN in d3\#  \textcolor{blue}{\$base\underline{ }data}/\textcolor{blue}{\$fname}/INPUT \underline{ }p3d}\\
    \ \\
-   \onslide<5-> This easily allows to change the directories for all input/output files 
+   \onslide<5-> \tiny This easily allows to change the directories for all input/output files 
    by just changing the value of \texttt{base\underline{ }data}.
    
 \end{frame}
 
-% Folie 9
-\begin{frame}
-   \frametitle{Steering File Copy by the Configuration File (III)}
-   \scriptsize
+% Folie 10
+\begin{frame}
+   \frametitle{Steering File Copy by the Configuration File (IV)}
+   \tiny
    \onslide<1-> File connection statements which shall be carried out, 
    have to be activated by giving their activation string in the 
    \texttt{mrun}-option \texttt{-r}:\\
    \vspace{1mm}
-   \quad \texttt{PARIN in d3\# \~{}/palm/current\underline{ }version/JOBS/\$fname/INPUT \underline{ }p3d}\\
-   \ \\
-   \onslide<2-> The permanent file 
-   \vspace{1mm}
-   \texttt{\~{}/palm/current\underline{ }version/JOBS/example\underline{ }cbl/INPUT/example\underline{ }cbl\underline{ }p3d} 
-   \vspace{1mm}
-   will only be copied to the local file PARIN by using the call:\\
-   \vspace{1mm}
-   \quad \texttt{mrun -d example\underline{ }cbl -r \dq d3\#\dq\, ...}\\
-   \ \\
-   \onslide<3-> \textbf{Example for an output file:}\\
+   \scriptsize \quad \texttt{PARIN in d3\# \~{}/palm/current\underline{ }version/JOBS/\$fname/INPUT \underline{ }p3d}\\
+   \ \\
+   \onslide<2-> \tiny The permanent file\\
+   \vspace{1mm}
+   \scriptsize \texttt{\~{}/palm/current\underline{ }version/JOBS/example\underline{ }cbl/INPUT/example\underline{ }cbl\underline{ }p3d} \\
+   \vspace{2mm}
+   \tiny will only be copied to the local file PARIN by using the call:\\
+   \vspace{1mm}
+   \scriptsize \quad \texttt{mrun -d example\underline{ }cbl -r \dq d3\#\dq\, ...}\\
+   \ \\
+   \onslide<3-> \tiny \textbf{Example for an output file:}\\
    The file connection statement\\
    \vspace{1mm}
-   \quad \texttt{DATA\underline{ }1D\underline{ }PR\_NETCDF out:loc pr\# \textbackslash} \\
+   \scriptsize \quad \texttt{DATA\underline{ }1D\underline{ }PR\_NETCDF out:loc pr\# } \\
    ~~~~~~\texttt{\~{}/palm/current\underline{ }version/JOBS/\$fname/OUTPUT \underline{ }pr nc}s\\
-   \vspace{1mm}
-   \onslide<4-> will copy (after program execution) the local file 
-   \texttt{DATA\underline{ }1D\underline{ }PR\underline{ }NETCDF} to the permanent file 
-   \vspace{1mm}
-   \texttt{\~{}/palm/current\underline{ }version/JOBS/example\underline{ }cbl/OUTPUT/example\underline{ }cbl\underline{ }pr.nc} if
-   \texttt{mrun} is called with the options\\
-   \vspace{1mm}
-   \quad \texttt{mrun -d example\underline{ }cbl -r \dq d3\# pr\#\dq\, ...}
-   
-\end{frame}
-
-% Folie 10
-\begin{frame}
-   \frametitle{Steering File Copy by the Configuration File (IV)}
-   \scriptsize
+   \vspace{2mm}
+   \onslide<4-> \tiny will copy (after program execution) the local file \\
+   \texttt{DATA\underline{ }1D\underline{ }PR\underline{ }NETCDF} to the permanent file \\
+   \vspace{1mm}
+   \scriptsize \texttt{\~{}/palm/current\underline{ }version/JOBS/example\underline{ }cbl/OUTPUT/example\underline{ }cbl\underline{ }pr.nc}\\
+   \vspace{1mm}
+   \tiny if \texttt{mrun} is called with the options\\
+   \vspace{1mm}
+   \scriptsize \quad \texttt{mrun -d example\underline{ }cbl -r \dq d3\# pr\#\dq\, ...}
+   
+\end{frame}
+
+% Folie 11
+\begin{frame}
+   \frametitle{Steering File Copy by the Configuration File (V)}
+   \scriptsize 
    \onslide<1-> \texttt{mrun} never replaces/overwrites existing files!\\
    \ \\
-   Instead, new, so-called file cycles are created.\\
+   \tiny Instead, new, so-called file cycles are created.\\
    If an output file, e.g.\\
-   \quad \texttt{\~{}/palm/current\underline{ }version/JOBS/example\underline{ }cbl/MONITORING/example\underline{ }cbl\underline{ }rc}\\
-   \ \\
-   has been created from a first call of \texttt{mrun} and if the same \texttt{mrun} 
+   \vspace{1mm}
+   \scriptsize \quad \texttt{\~{}/palm/current\underline{ }version/JOBS/example\underline{ }cbl/MONITORING/example\underline{ }cbl\underline{ }rc}\\
+   \ \\
+   \ \\
+   \tiny has been created from a first call of \texttt{mrun} and if the same \texttt{mrun} 
    call is submitted again, the second call will not replace the file 
    \texttt{example\underline{ }cbl\underline{ }rc}, but will create a new file with name:\\
-   \quad \texttt{\~{}/palm/current\underline{ }version/JOBS/example\underline{ }cbl/MONITORING/example\underline{ }cbl\underline{ }rc.1}\\
-   \ \\
-   \onslide<2->In case of netCDF-files, the file cycle number is inserted before 
+   \vspace{1mm}
+   \scriptsize \quad \texttt{\~{}/palm/current\underline{ }version/JOBS/example\underline{ }cbl/MONITORING/example\underline{ }cbl\underline{ }rc.1}\\
+   \ \\
+   \ \\
+   \onslide<2-> \tiny In case of netCDF-files, the file cycle number is inserted before 
    the netCDF-suffix .nc, e.g.\\
-   \quad \texttt{example\underline{ }cbl\underline{ }pr.1.nc}\\
-   \ \\
-   \onslide<3->The implemented file cycle mechanism does not allow to use 
+   \vspace{1mm}
+   \scriptsize \quad \texttt{example\underline{ }cbl\underline{ }pr.1.nc}\\
+   \ \\
+   \ \\
+   \onslide<3-> \tiny The implemented file cycle mechanism does not allow to use 
    any other dots "'."'  in the path or filename:\\
-   \quad \texttt{\~{}/palm/version\underline{ }3.6/JOBS/example.sbl/MONITORING/example.sbl\underline{ }rc}
-\end{frame}
-
-% Folie 11
+   \vspace{1mm}
+   \scriptsize \quad \texttt{\~{}/palm/version\underline{ }3.6/JOBS/example.sbl/MONITORING/example.sbl\underline{ }rc}\\
+\end{frame}
+
+% Folie 12
 \begin{frame}[fragile]
    \frametitle{\normalsize File Connection Statements From the Default \texttt{.mrun.config} file}
@@ -452,4 +513,6 @@
 PARIN                    in:job        d3f      $base_data/$fname/INPUT    _p3df
 TOPOGRAPHY_DATA          in:locopt     d3#:d3f  $base_data/$fname/INPUT    _topo
+NUDGING_DATA             in:locopt     d3#:d3f  $base_data/$fname/INPUT    _nudge
+LSF_DATA                 in:locopt     d3#:d3f  $base_data/$fname/INPUT    _lsf
 BININ                    in:loc:flpe   d3f      $base_data/$fname/RESTART  _d3d
 PARTICLE_RESTART_DATA_IN in:loc:flpe   prtf     $base_data/$fname/RESTART  _rprt
@@ -475,76 +538,16 @@
 HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
 HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
+CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
+CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
       \end{lstlisting}
    \end{columns}
-% CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
-% CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
-% #
-% DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr     nc
-% DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp     nc
-% DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts     nc
-% DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts    nc
-% DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy     nc
-% DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av  nc
-% DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz     nc
-% DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av  nc
-% DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz     nc
-% DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av  nc
-% DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d     nc
-% DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av  nc
-% DATA_MASK_01_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01     nc
-% DATA_MASK_01_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m01_av  nc
-% DATA_MASK_02_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02     nc
-% DATA_MASK_02_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m02_av  nc
-% DATA_MASK_03_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03     nc
-% DATA_MASK_03_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m03_av  nc
-% DATA_MASK_04_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04     nc
-% DATA_MASK_04_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m04_av  nc
-% DATA_MASK_05_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05     nc
-% DATA_MASK_05_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m05_av  nc
-% DATA_MASK_06_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06     nc
-% DATA_MASK_06_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m06_av  nc
-% DATA_MASK_07_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07     nc
-% DATA_MASK_07_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m07_av  nc
-% DATA_MASK_08_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08     nc
-% DATA_MASK_08_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m08_av  nc
-% DATA_MASK_09_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09     nc
-% DATA_MASK_09_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m09_av  nc
-% DATA_MASK_10_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10     nc
-% DATA_MASK_10_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m10_av  nc
-% DATA_MASK_11_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11     nc
-% DATA_MASK_11_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m11_av  nc
-% DATA_MASK_12_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12     nc
-% DATA_MASK_12_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m12_av  nc
-% DATA_MASK_13_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13     nc
-% DATA_MASK_13_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m13_av  nc
-% DATA_MASK_14_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14     nc
-% DATA_MASK_14_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m14_av  nc
-% DATA_MASK_15_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15     nc
-% DATA_MASK_15_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m15_av  nc
-% DATA_MASK_16_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16     nc
-% DATA_MASK_16_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m16_av  nc
-% DATA_MASK_17_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17     nc
-% DATA_MASK_17_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m17_av  nc
-% DATA_MASK_18_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18     nc
-% DATA_MASK_18_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m18_av  nc
-% DATA_MASK_19_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19     nc
-% DATA_MASK_19_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m19_av  nc
-% DATA_MASK_20_NETCDF    out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20     nc
-% DATA_MASK_20_AV_NETCDF out:loc:tr ma#:maf   $base_data/$fname/OUTPUT  _m20_av  nc
-% DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
-% DATA_DVR             out:loc:trpe dvr       $base_data/$fname/OUTPUT  _dvr 
-% #
-% DVRP_LOG          out:loc:tr   dv#       $base_data/$fname/MONITORING  _dvrp_log
-% DVRP_LOG          out:loc:tra  dvf       $base_data/$fname/MONITORING  _dvrp_log
-% PARTICLE_INFO     out:loc:tr   pt#       $base_data/$fname/MONITORING  _prt_info
-% PARTICLE_INFO     out:loc:tra  ptf       $base_data/$fname/MONITORING  _prt_info
-% PARTICLE_DATA     out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT      _prt_dat
-
-\end{frame}
-
-% Folie 12
-\begin{frame}
+
+
+\end{frame}
+
+% Folie 13
+\begin{frame}[fragile]
    \frametitle{Additional Features of \texttt{mrun} (I)}
-   \tikzstyle{yellow} = [rectangle, draw, fill=yellow!30, text width=1.15\textwidth, font=\Tiny]
+   \tikzstyle{yellow} = [rectangle, draw, fill=yellow!30, text width=0.975\textwidth, font=\Tiny]
    \begin{itemize}
       \footnotesize
@@ -553,34 +556,28 @@
       \item<3-> Values have to be set in the \texttt{mrun} configuration file \texttt{.mrun.config}:
    \end{itemize}
-   \onslide<4->{\hspace{-0.95cm}\begin{tikzpicture}[auto]
-         \node[yellow]{\texttt{\%sgi\_feature \hspace{0.53cm} ice2 \hspace{2.71cm} lcsgih parallel}\\
-                       \texttt{\%modules \hspace{0.87cm}  intel.compiler/11.1.072:mpt:phdf5/1.8.5-mpt-intel-11.1:pnetcdf/4.1.1-mpt-intel-11.1 \quad\quad lcsgih parallel}\\
-                       \texttt{\%login\_init\_cmd \hspace{0.25cm} .:/usr/share/modules/init/bash  \quad\quad lcsgih parallel}\\
-                       \texttt{\#\%remote\_username \hspace{0.07cm} <replace by your HLRN username> \quad\quad lcsgih parallel}\\
-                       \texttt{\%compiler\_name \hspace{0.35cm} ifort \hspace{2.61cm} lcsgih parallel}\\
-                       \texttt{\%compiler\_name\_ser~ ifort \hspace{2.61cm} lcsgih parallel}\\
-                       \texttt{\%cpp\_options \hspace{0.53cm} -DMPI\_REAL=MPI\_DOUBLE\_PRECISION:-DMPI\_2REAL=MPI\_2DOUBLE\_PRECISION:-D\_\_netcdf:-D\_\_netcdf4:-D\_\_mpi2 \quad lcsgih parallel}\\
-                       \texttt{\%netcdf\_inc \hspace{0.62cm} -I:/sw/dataformats/pnetcdf/netcdf-4.1.1-mpt-intel-11.1/include:-I:/sw/dataformats/phdf5/hdf5-1.8.5-mpt-intel-11.1/in}\\ %clude    lcsgih parallel}\\
-                       \texttt{\%netcdf\_lib \hspace{0.62cm} -L/sw/dataformats/pnetcdf/netcdf-4.1.1-mpt-intel-11.1/lib:-lnetcdf:-lnetcdff:-L/sw/dataformats/phdf5/hdf5-1.8.5-mpt-}\\ %intel-11.1/lib:-lhdf5:-lhdf5\_hl:-lz      lcsgih parallel}\\
-                       \texttt{\%mopts \hspace{1.06cm} -j:4 \hspace{2.71cm} lcsgih parallel}\\
-                       \texttt{\%fopts \hspace{1.06cm} -fpe0:-O3:-cpp:-r8:-fp-model:precise:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:}\\ %-convert:little\_endian:-diag-disable:8290,8291  lcsgih parallel}\\
-                       \texttt{\%lopts \hspace{1.06cm} -fpe0:-O3:-cpp:-r8:-fp-model:precise:-align:all:-ftz:-fno-alias:-no-scalar-rep:-no-prec-div:-no-prec-sqrt:-ip:-nbs:-}\\ %Vaxlib:-lmpi:-limf:-lm           lcsgih parallel}\\
-                       \texttt{\%memory \hspace{0.97cm} 1500 \hspace{2.71cm} lcsgih parallel}\\
-                       \texttt{\#\%tmp\_data\_catalog~  /gfs2/work/<replace by your HLRN username>/palm\_restart\_data \quad\quad lcsgih parallel}\\
-                       \texttt{\#\%tmp\_user\_catalog~  /gfs2/tmp/<replace by your HLRN username> \hspace{2.03cm} lcsgih parallel}};
-   \end{tikzpicture}}
-%  \onslide<4->\hspace{-1cm}\includegraphics[scale=0.3]{mrun_figures/add_feat1.png}
-%    \begin{itemize}
-%       \footnotesize
-%       \item<5-> User-defined unix commands are carried out before or after execution of the model (input/output commands) or in case of errors during the compile- or run-step (error commands).
-%       These commands can also be defined in the \texttt{mrun} configuration file:
-%       \onslide<6-> \includegraphics[scale=0.3]{mrun_figures/add_feat2.png}
-%       \item<7-> Automatic generation of restart jobs.
-%    \end{itemize}
-\end{frame}
-
-\begin{frame}
+   \onslide<4->
+   \begin{center}
+      \begin{tikzpicture}
+        \node [yellow]{\begin{lstlisting}
+%tmp_user_catalog    /gfs1/work/<replace by your HLRN-III username>     lccrayh parallel
+%tmp_data_catalog    /gfs1/work/<replace by your HLRN-III username>     lccrayh parallel
+%compiler_name       ftn                                                lccrayh parallel
+%compiler_name_ser   ftn                                                lccrayh parallel
+%cpp_options         -e:Z:-DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:...
+%mopts               -j:4                                               lccrayh parallel
+%fopts               -em:-O3:-hnoomp:-hfp3:-hdynamic                    lccrayh parallel
+%lopts               -em:-O3:-hnoomp:-hfp3:-hdynamic:-dynamic           lccrayh parallel
+%remote_username     <replace by your HLRN-III username>                lccrayh parallel
+%memory              1500                                               lccrayh parallel
+%modules             fftw:cray-hdf5-parallel:cray-netcdf-hdf5parallel   lccrayh parallel
+\end{lstlisting}};
+      \end{tikzpicture}
+   \end{center}
+\end{frame}
+
+% Folie 14
+\begin{frame}[fragile]
    \frametitle{Additional Features of \texttt{mrun} (II)}
-   \tikzstyle{yellow} = [rectangle, draw, fill=yellow!30, text width=0.75\textwidth, font=\Tiny]
+   \tikzstyle{yellow} = [rectangle, draw, fill=yellow!30, text width=0.9\textwidth, font=\Tiny]
 
    \begin{itemize}
@@ -588,21 +585,22 @@
       \item<1-> User-defined unix commands are carried out before or after execution of the model (input/output commands) or in case of errors during the compile- or run-step (error commands).
       These commands can also be defined in the \texttt{mrun} configuration file:
+      \onslide<2->
       \begin{center}
-         \onslide<2->{\begin{tikzpicture}
-            \node[yellow]{~\texttt{IC:echo ``PALM will soon start to execute in \textbackslash\$PWD'' > /home/h/niksiraa/mrun\_messages}\\
-                          ~\texttt{EC:ls -al}\\
-                          \vspace{0.5mm}
-                          ~\texttt{OC:tar -cf DEBUG.tar DEBUG\_*}};
-         \end{tikzpicture}}
+         \begin{tikzpicture}
+            \node [yellow]{\begin{lstlisting}
+IC:echo ``PALM will soon start to execute in \$PWD'' > /home/h/niksiraa/mrun_messages
+EC:ls -al
+OC:tar -cf DEBUG.tar DEBUG_*
+\end{lstlisting}};
+         \end{tikzpicture}
       \end{center}
-
-%      \onslide<2-> \includegraphics[scale=0.3]{mrun_figures/add_feat2.png}
       \item<3-> Automatic generation of restart jobs.
    \end{itemize}
 
-\end{frame}
-
-% Folie 13
-\begin{frame}
+
+\end{frame}
+
+% Folie 15
+\begin{frame}[fragile]
    \frametitle{PALM \textit{Interactive} Example Run Using \texttt{mrun}: Tracing the Run by the User}
    \tikzstyle{green} = [rectangle, draw, fill=green!20, text width=0.35\textwidth, font=\tiny, minimum height=0.6cm]
@@ -611,9 +609,10 @@
    \tikzstyle{notes} = [rectangle, text width=0.26\textwidth, font=\tiny, minimum height=0.6cm]
    \tikzstyle{dummy} = [rectangle, text width=0.01\textwidth, font=\tiny, minimum height=0.6cm]
+      \tikzstyle{green_term} = [rectangle, draw, fill=green!30, text width=0.83\textwidth, font=\Tiny,scale=0.6]
    \vspace{-1.0cm}
    \begin{center}
 	   \begin{tikzpicture}[auto, node distance=0] 
          \uncover<1->{\node [yellow] (box1) {\textbf{start run on local machine:}\\
-                                            \texttt{mrun -d example\underline{ }cbl -h lcmuk ...}};}
+                                            \texttt{mrun -d example\underline{ }cbl -h lcmuknb ...}};}
          \uncover<1->{\node [dummy, right=1.4cm of box1] (dummy1) {};}
          \uncover<2->{\node [notes, above=-0.3cm of dummy1] (notes1) {temporary working directory is created, all required files are copied there};}
@@ -633,6 +632,6 @@
          \coordinate[below=0.3cm of box3] (A);
          \uncover<1->{\node [dummy, left=0.3cm of box3] (dummy2) {};}
-         \uncover<5->{\node [notes, below=0.0cm of A, text width=0.35\textwidth] (notes2) {results are copied from temporary working directory to the userâs permanent directory};}
-         \uncover<6->{\node [yellow_big, left=2.5cm of A] (box4) {
+         \uncover<6->{\node [notes, below=0.0cm of A, text width=0.35\textwidth] (notes2) {results are copied from temporary working directory to the userâs permanent directory};}
+         \uncover<7->{\node [yellow_big, left=2.5cm of A] (box4) {
          \textbf{check, if the output files have sucessfully been transferred to the permanent directory:}\\
          \texttt{cd \~{}/palm/current\underline{ }version/JOBS/example\underline{ }cbl/MONITORING}\\
@@ -643,11 +642,32 @@
          \draw<2-> [->,color=blue] (box1.east) -- (box2.west);    
          \draw<4-> [->,color=blue] (box2.south) -- (box3.north);  
-         \draw<5-> [-,color=blue] (box3.south) -- (A);  
-         \draw<5-> [->,color=blue] (A) -- (box4.east);   
+         \draw<6-> [-,color=blue] (box3.south) -- (A);  
+         \draw<6-> [->,color=blue] (A) -- (box4.east);  
+         \onslide<5->\node [green_term, left=1.2cm of box3] (terminal) {\begin{lstlisting}  
+  *** running on: laptop laptop
+
+      ... reading environment parameters from ENVPAR      --- finished
+      ... reading NAMELIST parameters from PARIN      --- finished
+      ... creating virtual PE grids + MPI derived data types      --- finished
+      ... checking parameters      --- finished
+      ... allocating arrays      --- finished
+      ... initializing with constant profiles      --- finished
+      ... initializing statistics, boundary conditions, etc.      --- finished
+      ... creating initial disturbances      --- finished
+      ... calling pressure solver      --- finished
+      --- leaving init_3d_model
+      --- start with time-stepping
+
+      [XXXXXXXXXXXXXXXXXXXXXXXXXXXX________________________________]  53.3 left
+\end{lstlisting}
+         };
+         \uncover<5->{\node [notes, above=0.0cm of terminal, text width=0.55\textwidth] (notes_terminal) {Starting from version 3.10 (r 1402), some progress messages and a progress bar for estimating the time required to finish the simulation is output on the terminal};}
+         %\draw<5-> [->,color=blue] (box3.west) -- (terminal.east); 
+         \onslide<1-> 
 	   \end{tikzpicture}
 	\end{center}
 \end{frame}
 
-% Folie 14
+% Folie 16
 \begin{frame}
    \frametitle{PALM \textit{Batch} Example Run (on HLRN, remote) Using \texttt{mrun}: Tracing the Run by the User}
@@ -659,10 +679,10 @@
 \tikzstyle{line} = [draw, -latex']
 \begin{itemize}
-   \item Reminder: Running batch jobs requires a directory \texttt{~/job\underline{ }queue} for the job protocol files on the local \underline{and} remote host.
+   \item \small Reminder: Running batch jobs requires a directory \texttt{~/job\underline{ }queue} for the job protocol files on the local \underline{and} remote host.
 \end{itemize}
 \begin{tikzpicture}[auto, node distance=0]
     \node [yellow] (first) {
        \textbf{start job on local machine:}\\
-       \texttt{mrun -d example\underline{ }cbl -h lcsgih ...}
+       \texttt{mrun -d example\underline{ }cbl -h lccrayh ...}
     };
 \uncover<2->{
@@ -682,5 +702,5 @@
 \uncover<4->{
     \node [green, below=0.2cm of second] (third) {
-       \textbf{if job is running, you may follow its progress by watching the job protocol:} \\ 
+       \textbf{if job is running, you may follow its progress by watching the job protocol (does not work on HLRN-III system!):} \\ 
        \texttt{cd \~{}/job\underline{ }queue \\ tail lcmuk\underline{ }example\underline{ }cbl}
     };
@@ -713,5 +733,5 @@
 \uncover<9->{
      \node [alert, below=0.5cm of first.south east] (alert) {
-        \textcolor{red}{Attention: Commands for submitting jobs and the behaviour of job protocol files are depending on the queueing system! Manual adjustments may be required in the mrun and subjob script!}
+        \textcolor{red}{Attention: Commands for submitting jobs and the behaviour of job protocol files are depending on the queueing system! Manual adjustments may be required in the \textbf{mrun} and \textbf{subjob} script!}
      };
 }
@@ -726,5 +746,5 @@
 
 
-% Folie 15
+% Folie 17
 \begin{frame}
    \tikzstyle{green} = [rectangle, draw, fill=green!20, text width=0.45\textwidth, font=\scriptsize, minimum height=0.6cm]
@@ -795,3 +815,48 @@
 \end{frame}
 
+
+% Folie 17
+\begin{frame}
+ \footnotesize \texttt{mrun}
+   \frametitle{PALM Runs Using \texttt{mrun}: most important \texttt{mrun} options}
+   \begin{itemize}
+      \footnotesize
+      \item<2-> \texttt{-d example\_cbl}
+      \begin{itemize}
+         \item[] \tiny run identifier, basefile/directory name of all data files of this run
+      \end{itemize}
+      \item<3-> \texttt{-h} host identifier
+      \begin{itemize}
+         \item[] \tiny host on which the run shall be performed (reminder: this is not the UNIX hostname):\\ \texttt{lcmuknb, lcmuk, lccrayh...}
+      \end{itemize}
+      \item<4-> \texttt{-K parallel}
+      \begin{itemize}
+         \item[] \tiny run in parallel on several processor cores
+      \end{itemize}
+      \item<5-> \texttt{-X 4}
+      \begin{itemize}
+         \item[] \tiny number of processors to be used
+      \end{itemize}
+      \item<6-> \texttt{-T 4}
+      \begin{itemize}
+         \item[] \tiny number of tasks to be started on one node of the computer
+      \end{itemize}
+      \item<7-> \texttt{-t 100}
+      \begin{itemize}
+         \item[] \tiny CPU time allowed to be used for the batch jobs
+      \end{itemize}
+      \item<8-> \texttt{-b}
+      \begin{itemize}
+         \item[] \tiny run in batch mode
+      \end{itemize}
+      \item<9-> \texttt{-q mpp1q}
+      \begin{itemize}
+         \item[] \tiny batch job queue
+      \end{itemize}
+      \item<10-> \texttt{-r \dq ...\dq}
+      \begin{itemize}
+         \item[] \tiny activation strings
+      \end{itemize}
+   \end{itemize}   
+\end{frame}
 \end{document}
Index: palm/trunk/TUTORIAL/SOURCE/topography.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/topography.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/topography.tex	(revision 1515)
@@ -6,5 +6,4 @@
 \usepackage{ngerman}
 \usepackage{pgf}
-\usetheme{Dresden}
 \usepackage{subfigure}
 \usepackage{units}
@@ -24,5 +23,6 @@
 \usepackage{xcolor}
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -43,5 +43,5 @@
 
 \title[PALM - Using Topography]{PALM - Using Topography}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 % Notes:
@@ -53,4 +53,7 @@
 \titlepage
 \end{frame}
+
+\section{Topography}
+\subsection{Topography}
 
 % Folie 2
@@ -240,5 +243,4 @@
          \item{ArcGIS (commercial)}
          \item{GRASS GIS (freeware)}
-         \item{...? (please report to us)}
       \end{itemize}
    \end{itemize}
@@ -249,5 +251,5 @@
    \frametitle{Realization â \\ Numerical / Technical Implementation (IV)}  
    \small
-   \textbf{Potential issues}
+   \textbf{Potential issue}
    \begin{itemize}
       \item{Load imbalance} 
@@ -259,11 +261,4 @@
          \end{itemize}
       \end{itemize}     
-      \item{\dq 2 $\Delta$x\dq instabilities (only if Piacsek-Williams advection scheme is used)}
-      \begin{itemize}
-         \item{Upstream of obstacle walls}
-         \item{Due to second-order finite difference advection scheme}
-         \item{Model remains stable throughout the simulation}
-         \item{The default Wicker-Skamarock scheme does not show any instabilities}
-      \end{itemize}
    \end{itemize}
 \end{frame}
@@ -280,6 +275,5 @@
       \item[-]{Obstacles must be surface-mounted}
       \item[-]{Grid boxes can only be 100\% fluid or 100\% obstacle \\ \par\smallskip
-              \begin{footnotesize} Obstacle surfaces that do not match the grid are approximated by grid boxes like a step-function, which 
- 	      modifies the real obstacle size \end{footnotesize}}
+              \begin{footnotesize} Obstacle surfaces that do not match the grid are approximated by grid boxes like a step-function, which can modify the real obstacle size or the orientation of the obstacle faces\end{footnotesize}}
       \item[-]{Overhanging structures, holes etc. are not permitted due to the \dq 2.5D\dq format}
    \end{itemize}
@@ -524,5 +518,5 @@
          \item{\textbf{Channel}: {\tt bc\_uv\_t =} \textbf{'dirichlet\_0' (no-slip)}}
          \item{\textbf{Open channel}: {\tt bc\_uv\_t =} \textbf{'neumann' (slip)}}
-         \item{\textbf{\dq Constant flux\dq layer} (not yet published): {\tt bc\_uv\_t =} \textbf{'neumann' (slip)} \\
+         \item{\textbf{\dq Constant flux\dq layer}: {\tt bc\_uv\_t =} \textbf{'neumann' (slip)} \\
                 with set-up E1 where {\tt dp\_level\_b >> 0} and {\tt dp\_smooth = .T.}}
       \end{itemize}
@@ -591,8 +585,5 @@
    \footnotesize
    \par\medskip
-   In most cases, a new parameter is added to PALM for one specific purpose.
-   \par\bigskip
-   Beyond this one purpose, each new parameter normally gives many other new feature/parameter combinations in PALM.
-   We are unable to check all these combinations by ourselves and rely on your help!
+   PALM's topography features have been frequently applied within the last years, but there may be still some parameter combinations which have not been used so far, and which may not work properly.
    \par\bigskip
 %    For example, the combination of topography and non-cyclic lateral boundary conditions has not yet been tested 
@@ -603,10 +594,53 @@
       \item{Please always check your PALM setup carefully. PALM is not a black box.} 
       \item{For example, design a simple case and test your expectation.}
-      \item{Please report potential bugs â thank you!}
-      \begin{itemize}
-         \item{PALM developer team}
-         \item{PALM user community (via trac-system)}
-      \end{itemize}
-   \end{itemize}
+      \item{Please report potential bugs using our trouble ticket system.}
+   \end{itemize}
+\end{frame}
+
+% Folie 22
+\begin{frame}
+   \frametitle{Some recent examples of topography/building applications with PALM}
+   
+   \scriptsize
+   \textbf{Street canyon flows}
+   \par\smallskip
+   \tiny
+   \textbf{Letzel, M.O., M. Krane and S. Raasch 2008}: High resolution urban large-eddy simulation studies from street canyon to neighbourhood scale, Atmos. Env.,
+   \textbf{42}, 8770-8784, doi:10.1016/j.atmosenv.2008.08.001.\\
+   \par\medskip
+
+   \scriptsize
+   \textbf{Turbulence generated by topography}
+   \par\smallskip
+   \tiny
+   \textbf{Esau, I. and I. Repina, 2012}: Wind climate in Kongsfjorden, Svalbard, and attribution of leading wind driving mechanisms through turbulence-resolving simulations. Advances in Meteorology, 
+   \textbf{Volume 2012}, Article ID 568454, 16 pages, doi:10.1155/2012/568454.\\
+   \par\medskip
+   
+   \scriptsize
+   \textbf{Airflow within or over building arrays}
+   \par\smallskip
+   \tiny
+   \textbf{Abd Razak A., A. Hagishima, N. Ikegaya and J. Tanimoto, 2013}: Analysis of airflow over building arrays for assessment of urban wind environment. Building and Environment,
+   \textbf{59}, 56-65, doi:10.1016/j.buildenv.2012.08.007. \\
+   \par\smallskip
+   \textbf{Kanda, M., A. Inagaki, T. Miyamoto, M. Gryschka and S. Raasch 2013}: A New Aerodynamic Parameterization for Real Urban Surfaces, Boundary-Layer Meteorol.,
+    \textbf{148}, 357-377, doi:10.1007/s10546-013-9818-x. \\
+   \par\medskip
+       
+   \scriptsize
+   \textbf{Thermal effects of building walls}
+   \par\smallskip
+   \tiny
+   \textbf{Park, S.B., J.J. Baik, S. Raasch and M.O. Letzel 2012}: A large-eddy simulation study of thermal effects on turbulent flow and dispersion in and above a street canyon., J. Appl. Meteor. Climatol.,
+   \textbf{51}, 829-841, doi:10.1175/JAMC-D-11-0180.1.\\
+   \par\medskip
+
+   \scriptsize
+   \textbf{PALM coupled to a building energy model}
+   \par\smallskip
+   \tiny
+   \textbf{Yaghoobian, N., J. Kleissl and K. T. Paw U, 2014}: An Improved Three-Dimensional Simulation of the Diurnally Varying Street-Canyon Flow, Boundary-Layer Meteorol.,
+   doi:http://dx.doi.org/10.1007/s10546-014-9940-4.\\
 \end{frame}
 
@@ -653,8 +687,8 @@
          \begin{tikzpicture}[remember picture, overlay]
             \uncover<1>{\node at (0,-0.5) {\includegraphics[width=0.7\textwidth]{topography_figures/scenario_ssc_example_1.png}};}
-            \uncover<2>{\node at (0,-0.5) {\includegraphics[width=0.7\textwidth]{topography_figures/scenario_ssc_example_2.png}};}
-            \uncover<3->{\node at (0,-0.5) {\includegraphics[width=0.7\textwidth]{topography_figures/scenario_ssc_example_3.png}};}
-            \uncover<4->{\node at (-3.5,-0.2) {\includegraphics[width=0.48\textwidth]{topography_figures/scenario_ssc_example_4.png}};}
-            \uncover<5->{\node at (3.5,-0.2) {\includegraphics[width=0.38\textwidth]{topography_figures/scenario_ssc_example_5.png}};}
+            \uncover<2->{\node at (0,-0.5) {\includegraphics[width=0.7\textwidth]{topography_figures/scenario_ssc_example_2.png}};}
+            %\uncover<3->{\node at (0,-0.5) {\includegraphics[width=0.7\textwidth]{topography_figures/scenario_ssc_example_3.png}};}
+            \uncover<3->{\node at (-3.5,-0.2) {\includegraphics[width=0.48\textwidth]{topography_figures/scenario_ssc_example_4.png}};}
+            \uncover<4->{\node at (3.5,-0.2) {\includegraphics[width=0.38\textwidth]{topography_figures/scenario_ssc_example_5.png}};}
          \end{tikzpicture}
          };
Index: palm/trunk/TUTORIAL/SOURCE/user_defined_code.tex
===================================================================
--- palm/trunk/TUTORIAL/SOURCE/user_defined_code.tex	(revision 1514)
+++ palm/trunk/TUTORIAL/SOURCE/user_defined_code.tex	(revision 1515)
@@ -6,5 +6,4 @@
 \usepackage{ngerman}
 \usepackage{pgf}
-\usetheme{Dresden}
 \usepackage{subfigure}
 \usepackage{units}
@@ -27,5 +26,6 @@
         \ttfamily,showstringspaces=false,captionpos=b}
 
-\institute{Institut fÃŒr Meteorologie und Klimatologie, Leibniz UniversitÃ€t Hannover}
+\institute{Institute of Meteorology and Climatology, Leibniz UniversitÃ€t Hannover}
+\selectlanguage{english}
 \date{last update: \today}
 \event{PALM Seminar}
@@ -47,5 +47,5 @@
 
 \title[The PALM User-Interface]{The PALM User-Interface}
-\author{Siegfried Raasch}
+\author{PALM group}
 
 \begin{document}
@@ -70,5 +70,5 @@
    \textbf{Problem:}
    \begin{itemize}
-      \item<3-> If a new PALM version is released (current release is 3.9) and the user wants to use it, he would have to add his modifications to the new release again.
+      \item<3-> New releases of PALM (current release is 3.10) would require the user to add his modifications to the new release again.
    \end{itemize}   
    \vspace{3mm}
@@ -76,6 +76,6 @@
    \textbf{Solution:}
    \begin{itemize}
-      \item<4-> PALM offers a \grqq user-interface\grqq, i.e. a set of subroutines, where the user can add his modifications and which can be re-used for future releases of the standard PALM code.
-      \item<5-> By using the user-interface, the standard code does not have to be modified by the user in most of all cases.
+      \item<4-> PALM offers a \grqq user-interface\grqq, i.e. a set of subroutines, where the user can add his modifications, and which can be re-used for future releases of the standard PALM code.
+      \item<5-> By using the user-interface, the standard code does not have to be modified by the user in most of the cases.
       \item<6-> The user-interface subroutines are almost \grqq empty\grqq\, by default. They are called from the standard PALM code but (with some very minor exceptions) do not contain any executable code.
    \end{itemize}   
@@ -105,4 +105,5 @@
                     \par\medskip
                     ~~~~\texttt{USE control\_parameters}\\
+                    ~~~~\texttt{USE kinds}\\
                     ~~~~\texttt{USE user}\\
                     \par\medskip
@@ -497,5 +498,5 @@
 	   \texttt{user\_lpm\_advec} & - - - & \texttt{lpm} & modification of particles after advection \\
 	   \hline
-	   \texttt{user\_lmp\_init} & - - - & \texttt{lpm\_init} & defining initial particle sources \\
+	   \texttt{user\_lpm\_init} & - - - & \texttt{lpm\_init} & defining initial particle sources \\
 	   \hline
 	   \texttt{user\_lpm\_set\_attributes} & - - - & \texttt{lpm} & defining particles attributes \\
@@ -529,5 +530,5 @@
       \begin{itemize}
          \scriptsize
-         \item<3-> by including the respective PALM modules in the user-interface subroutines.\\
+         \item<3-> by including the respective \textcolor{blue}{PALM modules} in the user-interface subroutines.\\
          \begin{center}
 %           \includegraphics[scale=0.3]{user_defined_code_figures/data_access_exchange.png}
@@ -554,5 +555,5 @@
       \begin{itemize}
          \scriptsize
-         \item by the module \texttt{\textcolor{red}{user}} (file \texttt{user\underline{ }module.f90}),  which is used in every subroutine included in the interface.\\ \textbf{This module is (and should be) never used in the standard PALM code, in order to avoid data flow from the user interface to the\\ PALM default code!}
+         \item by the module \texttt{\textcolor{red}{user}} (file \texttt{user\underline{ }module.f90}),  which is used in every subroutine included in the interface.\\ \textbf{This module is (and should be) never used in the standard PALM code (otherwise, the default code would depend on the user\\ interface).}
       \end{itemize}
    \end{itemize}
@@ -570,7 +571,7 @@
       \item<2-> Therefore, several calls of \texttt{user\underline{ }actions} can be found in the default PALM routines \texttt{time\underline{ }integration} and \texttt{prognostic\underline{ }equations}. The place from which it is called is communicated to the routine by a string-argument, e.g.\\
    \ \\
-   \quad \texttt{CALL user\underline{ }actions ( 'u-tendency' )}\\
+   \quad \texttt{CALL user\underline{ }actions( 'u-tendency' )}\\
    \ \\
-	\onslide<3-> It means that this call is from a place within \texttt{prognostic\underline{ }equations}, where the tendencies for the u-component are calculated and integrated:
+	\onslide<3-> It means that this call is from a line within \texttt{prognostic\underline{ }equations}, where the tendencies for the u-component are calculated and integrated:
    \end{itemize}
    \vspace{-3mm}
@@ -648,7 +649,7 @@
          \begin{itemize}
             \item<1-> The different versions of \texttt{prognostic\underline{ }equations} (\texttt{prognostic\underline{ }equations\underline{ }cache}, \texttt{prognostic\underline{ }equations\underline{ }vector}) contain different calls of \texttt{user\underline{ }actions}:
-            \item<2-> From \texttt{prognostic\underline{ }equations\underline{ }vector}: \hspace{0.6em}\texttt{CALL user\underline{ }actions ( 'u-tendency' )}
+            \item<2-> From \texttt{prognostic\underline{ }equations\underline{ }vector}: \hspace{0.6em}\texttt{CALL user\underline{ }actions( 'u-tendency' )}
             \item<3-> From \texttt{prognostic\underline{ }equations},\\
-            \texttt{prognostic\underline{ }equations\underline{ }cache}:\hspace{4em}\texttt{CALL user\underline{ }actions ( i, j, 'u-tendency' )}
+            \texttt{prognostic\underline{ }equations\underline{ }cache}:\hspace{4em}\texttt{CALL user\underline{ }actions( i, j, 'u-tendency' )}
             \vspace{3mm}
             \item<4-> In case that \texttt{prognostic\underline{ }equations}\\
@@ -660,5 +661,5 @@
             \item<5-> Here, only the \texttt{k}-loop (vertical direction)\\
             has to be used, because loops over\\
-            i and j are carried out in\\
+            i and j are executed in\\
             \texttt{prognostic\underline{ }equations\underline{ }cache}.
          \end{itemize}
@@ -678,5 +679,5 @@
                                                                           ~~~\texttt{CHARACTER (LEN=*) ::  location}\\
                                                                           \par\medskip
-                                                                          ~~~\texttt{INTEGER ::  i, idum, j}\\
+                                                                          ~~~\texttt{INTEGER(iwp) ::  i, idum, j}\\
                                                                           \par\medskip
                                                                           \texttt{!}\\
@@ -722,5 +723,5 @@
                              \texttt{...}\\
                              \vspace{0.4mm}
-                             ~\texttt{REAL \hspace{0.4cm}:: ~~\textcolor{blue}{foo = 0.0}}\\
+                             ~\texttt{REAL(wp) \hspace{0.4cm}:: ~~\textcolor{blue}{foo = 0.0}}\\
                              \vspace{0.4mm}
                              \texttt{...}\\
@@ -865,5 +866,5 @@
 \begin{frame}
    \frametitle{Using the User-Interface with \texttt{mrun}}
-   \scriptsize
+   \tiny
    \begin{columns}[T]
       \begin{column}{1.1\textwidth}
@@ -872,5 +873,5 @@
          \begin{enumerate}
             \item<2-> Copy the default (empty) user-interface files that you need (e.g. user\underline{ }module.f90, user\underline{ }parin.f90, user\underline{ }actions.f90) to a directory of your choice, e.g.:\\
-            \tiny
+            \scriptsize
             \par\smallskip
 	         \quad \texttt{cd \~{ }/palm/current\underline{ }version}\\
@@ -879,18 +880,18 @@
 	         \quad \texttt{cp trunk/SOURCE/user\underline{ }parin.f90\hspace{1em}USER\underline{ }CODE/example\underline{ }cbl/user\underline{ }parin.f90}\\
             \quad \texttt{...}
-            \scriptsize
-            \vspace{-1mm}
+            
             \item<3-> Set an additional path in the configuration file \texttt{.mrun.config} to allow \texttt{mrun} to find and include this file:\\
             \tiny
-	         \quad \texttt{\%add\underline{ }source\underline{ }path \hspace{1em} \$base\underline{ }directory/USER\underline{ }CODE/\$fname}
-	         \scriptsize
+            \par\smallskip
+	         \scriptsize \quad \texttt{\%add\underline{ }source\underline{ }path \hspace{1em} \$base\underline{ }directory/USER\underline{ }CODE/\$fname}
+            \par\smallskip
 	         \item<4-> Modify the interface routines according to your needs.
 	         \item<5-> Start a PALM run by executing\\
+            \par\smallskip
+	         \scriptsize \quad	\texttt{mrun -d example\underline{ }cbl ...}\\
+            \par\smallskip
 	         \tiny
-	         \quad	\texttt{mrun -d example\underline{ }cbl ...}\\
-	         \scriptsize
 	         The files user\underline{ }*.f90 will be automatically compiled within the job / interactive run and will replace the respective PALM default user-interface files.
 	      \end{enumerate}
-	      \vspace{-2mm}
          \begin{itemize}
 	         \item<6-> \textbf{The modified user-interface file cannot be pre-compiled by using} \texttt{mbuild}!
