%$Id: atmosphere_ocean_coupling.tex 1515 2015-01-02 11:35:51Z banzhafs $
\input{header_tmp.tex}
%\input{../header_lectures.tex}

%\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage{ngerman}
\usepackage{pgf}
\usetheme{Dresden}
\usepackage{subfigure}
\usepackage{units}
\usepackage{amsmath}
\usepackage{multimedia}
\newcommand{\event}[1]{\newcommand{\eventname}{#1}}
\usepackage{xmpmulti}
\usepackage{tikz}
\usepackage{pdfcomment}
\usetikzlibrary{shapes,arrows,positioning,decorations.pathmorphing,decorations.pathreplacing}
\def\Tiny{\fontsize{4pt}{4pt}\selectfont}
\usepackage{listings}
\lstset{language=[90]Fortran,
  basicstyle=\ttfamily \tiny,
  keywordstyle=\color{black},
  commentstyle=\color{black},
  morecomment=[l]{!\ }% Comment only with space after !
}


\institute{Institute of Meteorology and Climatology, Leibniz Universität Hannover}
\selectlanguage{english}
\date{last update: \today}
\event{PALM Seminar}
\setbeamertemplate{navigation symbols}{}

\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.png}}

\title[PALM Ocean-Atmosphere Coupling]{PALM Ocean-Atmosphere Coupling}
\author{PALM group}


% Notes:
% jede subsection bekommt einen punkt im menu (vertikal ausgerichtet.
% jeder frame in einer subsection bekommt einen punkt (horizontal ausgerichtet)
\begin{document}

\begin{frame}
\titlepage
\end{frame}

\section{PALM Ocean-Atmosphere Coupling}
\subsection{PALM Ocean-Atmosphere Coupling}

%Folie 01
\begin{frame}
   \frametitle{PALM - Ocean-Atmosphere Coupling - General Method}

   \tikzstyle{white} = [rectangle, text width=0.46\textwidth, font=\normalsize]
   \tikzstyle{grid} = [rectangle, minimum size=4pt]
   \tikzstyle{w} = [rectangle, draw, color=green, fill=green!50, minimum size=4pt]
   \tikzstyle{u} = [circle, draw, color=gray, fill=gray!50, minimum size=4pt]
   \tikzstyle{scalar} = [diamond, draw, color=red, fill=red!50, minimum size=4pt]
   \tikzstyle{line} = [draw, -]
   
   \tikzstyle{label} = [rectangle, font=\tiny, minimum size=8pt]
   \tikzstyle{2dtextbox} = [rectangle, align=center, fill=white!100, text width=0.42\textwidth, minimum size=35pt, font=\tiny]
   \tikzstyle{plotpoint} = [circle, draw, color=black, fill=black!100, minimum size=2pt]

   \begin{tikzpicture}[auto, node distance=0,inner sep=0mm,>=latex', edge from parent path=
   {(\tikzparentnode.south) .. controls +(-0.2,0) and +(0.2,0) .. (\tikzchildnode.west)}]

      \uncover<1->{\node [white] (itemize) {
         \begin{small}
         \begin{itemize}
            \item<2->{\textcolor{blue}{atmosphere to ocean} coupling through Prandtl- Monin-Obukhov sublayer \mbox{(constant flux layer)}}
            \item<7->{\textcolor{blue}{ocean to atmosphere} coupling through flux conservation}
            \item<9->{variables implemented: momentum, heat, humidity/salinity}
            \item<10->{\textcolor{red}{no precipitation effects}}
            \item<11->{\textcolor{red}{wave effects at the interface are not regarded \mbox{($z_0 \sim u_{*}^{2}$ easy to implement)}}}
         \end{itemize}
         \end{small}

      };}
      \uncover<1->{\node [grid, right=0.25cm of itemize] (grid11) {};}
      \uncover<1->{\node [grid, right=1.0cm of grid11] (grid12) {};}
      \uncover<1->{\node [grid, right=1.0cm of grid12] (grid13) {};}
      \uncover<1->{\node [grid, right=1.0cm of grid13] (grid14) {};}
      \uncover<1->{\node [grid, right=1.0cm of grid14] (grid15) {};}
      \uncover<1->{\node [grid, right=1.0cm of grid15] (grid16) {};}

      \uncover<6->{\node [grid, above=0.3cm of grid12] (eqgrid11) {};}
      \uncover<6->{\node [grid, right=1.3cm of eqgrid11] (eqgrid12) {};}
      \uncover<6->{\node [grid, right=1.3cm of eqgrid12] (eqgrid13) {};}
%layer
      \uncover<1->{\node [grid, above=1.0cm of grid11] (gridtoplayerleft) {};}
      \uncover<1->{\node [grid, above=1.0cm of grid16] (gridtoplayerright) {};}
      
      \uncover<1->{\node [grid, below=1.0cm of grid11] (gridwaterlayerleft) {};}
      \uncover<1->{\node [grid, below=1.0cm of grid16] (gridwaterlayerright) {};}
      
      \path<2-> [line, dashed] (gridtoplayerleft.center) -- (gridtoplayerright.center);
      \uncover<2->{\draw [decorate,decoration={coil,aspect=-0.3,amplitude=0.06cm}, color=blue] (gridwaterlayerleft.center) -- (gridwaterlayerright.center);}
      \uncover<2->{\node [grid, right=0.1cm of grid16] (grid17) {};}
      \uncover<2->{\node[label, rotate=-90, above=-2pt of grid17] (gridlayerlabel) {Prandtl-layer}
         child {node [grid, right=0cm of gridtoplayerright] {}}
         child {node [grid, right=0cm of gridwaterlayerright] {}};}

%path
      \uncover<3->{\node [grid, above=1.3cm of grid12] (gridpathlefttopbase) {};}
      \uncover<3->{\node [grid, left=0.8cm of gridpathlefttopbase] (gridpathlefttop) {};}
      \uncover<4->{\node [plotpoint, below=0.9cm of grid13] (gridpathleftbottom) {};}
      \uncover<4->{\node [plotpoint, below=0.9cm of grid14] (gridpathrightbottom) {};}
      \uncover<3->{\node [grid, above=1.3cm of grid15] (gridpathrighttopbase) {};}
      \uncover<3->{\node [grid, right=0.8cm of gridpathrighttopbase] (gridpathrighttop) {};}
      
      
      \uncover<3->{\draw [color=red] (gridpathleftbottom) to [out=180,in=-85,looseness=1.6, relative=false] (gridpathlefttop) ;}
      \uncover<3->{\draw (gridpathrightbottom) to [out=0,in=-95,looseness=1.0, relative=false] (gridpathrighttop) ;}
      
%label
      \uncover<4->{\node [plotpoint, right=0.105cm of gridtoplayerleft] () {};}
      \uncover<4->{\node [plotpoint, left=0.115cm of gridtoplayerright] () {};}
      
      \uncover<4->{\node [label, right=0.1cm of gridpathlefttop] (gridpathlefttoplabel) {$\theta(z_p)$,$q(z_p)$};}
      \uncover<4->{\node [label, above=0.1cm of gridpathleftbottom] (gridpathleftbottomlabel) {$\theta(z_0)$,$q(z_0)=q_s$};}
      \uncover<4->{\node [label, right=1.1cm of gridpathrightbottom] (gridpathrightbottomlabelbase) {};}
      \uncover<4->{\node [label, above=-0.23cm of gridpathrightbottomlabelbase] (gridpathrightbottomlabel) {$u(z_0)=0$};}
      \uncover<4->{\node [label, right=0.05cm of gridpathrighttop] (gridpathrighttoplabel) {$u(z_p)$};}

      \uncover<5->{\node [label, below=1.6cm of eqgrid12] (gridpathrightbottomoceanlabel) {$\:\theta(top)_{ocean}$};}
      \uncover<5->{\node [label, left=-0.4cm of gridpathleftbottomlabel] (gridpathleftbottomlabelarrowbase) {};}
      \uncover<5->{\draw [|->,color=red] (gridpathleftbottomlabelarrowbase.south) to [out=-90,in=180,looseness=1.4, relative=false] (gridpathrightbottomoceanlabel.west);}

%math label

      \uncover<6->{\node [label, below=0cm of eqgrid11] (eqtop11) {$\overline{w' \theta'}_{atm}$};}
      \uncover<6->{\node [label, below=0cm of eqgrid12] (eqtop12) {$\overline{w' q'}_{atm}$};}
      \uncover<6->{\node [label, below=0cm of eqgrid13] (eqtop13) {$\overline{w' u'}_{atm}$};}

      \uncover<8->{\node [label, below=2.5cm of eqgrid11] (eqbottom11) {$\overline{w' \theta'}_{ocean}$};}
      \uncover<8->{\node [label, below=2.5cm of eqgrid12] (eqbottom12) {$\overline{w' S'}$};}
      \uncover<8->{\node [label, below=2.5cm of eqgrid13] (eqbottom13) {$\overline{w' u'}_{ocean}$};}

      \uncover<8->{\draw [|->,color=green] (eqtop11.south) to (eqbottom11.north);}
      \uncover<8->{\draw [|->,color=gray] (eqtop12.south) to (eqbottom12.north);}
      \uncover<8->{\draw [|->,color=gray] (eqtop13.south) -- (eqbottom13.north);}
      \uncover<8->{\node [label, left=-0.3cm of eqtop12] (eqtop12leftoffset) {};}
      \uncover<8->{\draw [|->,color=green] (eqtop12leftoffset.south) to [out=-90,in=90,looseness=1.4, relative=false] (eqbottom11.north);}
   \end{tikzpicture}
\end{frame}


%Folie 02
\begin{frame}
   \frametitle{PALM - Ocean-Atmosphere Coupling - Flux Equations}

      \begin{small}
      \begin{itemize}
         \item<1->{ocean heat flux depends on atmospheric sensible AND latent heat flux (evaporation)\\
            \begin{align*}
              \overline{w' \theta'}_{ocean} = \frac{\rho_a}{\rho_w}\frac{c_p}{c_{p_w}}\left(\overline{w' \theta'}_{atm} + \frac{l_v}{c_p} \overline{w' q'}_{atm}   \right)
            \end{align*}
         }
         \item<2->{increase of salinity due to evaporation by salinity flux (after Steinhorn, 1991: JPO)\\
            \begin{align*}
              \overline{w' S'}_{ocean} = - \frac{\rho_a}{\rho_w}\frac{S}{1-S}\overline{w' q'}_{atm}
            \end{align*}
         }
         \item<3->{momentum\\
            \begin{align*}
              \overline{w' u'}_{ocean} = - \frac{\rho_a}{\rho_w}\overline{w' u'}_{atm}
            \end{align*}
         }
      \end{itemize}
      \end{small}
\end{frame}

%Folie 03
\begin{frame}
   \frametitle{PALM - Ocean-Atmosphere Coupling \\ Technical Realization (I)}

   \tikzstyle{white} = [rectangle, text width=0.56\textwidth, font=\normalsize]
   \tikzstyle{grid} = [rectangle, minimum size=4pt]
   \tikzstyle{lightbluedot} = [circle, draw, color=black, fill=blue!10, minimum size=4pt]
   \tikzstyle{darkbluedot} = [circle, draw, color=blue!10, fill=blue!90, minimum size=4pt]
   \tikzstyle{blackdot} = [circle, draw, color=black, fill=black!100, minimum size=4pt]
   \tikzstyle{scalar} = [diamond, draw, color=red, fill=red!50, minimum size=4pt]
   \tikzstyle{line} = [draw, -]
   
   \tikzstyle{label} = [rectangle, font=\scriptsize, minimum size=8pt]
   \tikzstyle{2dtextbox} = [rectangle, align=center, fill=white!100, text width=0.42\textwidth, minimum size=35pt, font=\tiny]
   \tikzstyle{plotpoint} = [circle, draw, color=black, fill=black!100, minimum size=2pt]

   \begin{tikzpicture}[auto, node distance=0,inner sep=0mm,>=latex', edge from parent path=
   {(\tikzparentnode.south) .. controls +(-0.2,0) and +(0.2,0) .. (\tikzchildnode.west)}]

      \uncover<1->{\node [white] (itemize) {
         \begin{small}
         \begin{itemize}
            \item<1->{so far, a 1-1 coupling is used}
            \item<3->{boundary information is exchanged after given time intervals (120 s)}
            \item<4->{before the coupling, each model can run seperately in order to allow for development of quasi- steady turbulence (different spin-up times in atmosphere and ocean)}
         \end{itemize}
         \end{small}

      };}
%grid6x base
      \uncover<2->{\node [grid, right=0.75cm of itemize] (grid61base) {};}

      \uncover<2->{\node [grid, below=0.4cm of grid61base] (grid61) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid61] (grid62) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid62] (grid63) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid63] (grid64) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid64] (grid65) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid65] (grid66) {};}

%above grid6x
      \uncover<2->{\node [grid, above=0.3cm of grid61] (grid51) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid51] (grid52) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid52] (grid53) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid53] (grid54) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid54] (grid55) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid55] (grid56) {};}
      
      \uncover<2->{\node [grid, above=0.3cm of grid51] (grid41) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid41] (grid42) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid42] (grid43) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid43] (grid44) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid44] (grid45) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid45] (grid46) {};}
      
      \uncover<2->{\node [grid, above=0.3cm of grid41] (grid31) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid31] (grid32) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid32] (grid33) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid33] (grid34) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid34] (grid35) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid35] (grid36) {};}
      
      \uncover<2->{\node [grid, above=0.3cm of grid31] (grid21) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid21] (grid22) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid22] (grid23) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid23] (grid24) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid24] (grid25) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid25] (grid26) {};}
      
      \uncover<2->{\node [grid, above=0.3cm of grid21] (grid11) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid11] (grid12) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid12] (grid13) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid13] (grid14) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid14] (grid15) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid15] (grid16) {};}
      

%below grid6x

      \uncover<2->{\node [grid, below=0.3cm of grid61] (grid71) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid71] (grid72) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid72] (grid73) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid73] (grid74) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid74] (grid75) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid75] (grid76) {};}
      
      \uncover<2->{\node [grid, below=0.3cm of grid71] (grid81) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid81] (grid82) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid82] (grid83) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid83] (grid84) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid84] (grid85) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid85] (grid86) {};}
      
      \uncover<2->{\node [grid, below=0.3cm of grid81] (grid91) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid91] (grid92) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid92] (grid93) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid93] (grid94) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid94] (grid95) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid95] (grid96) {};}
      
      \uncover<2->{\node [grid, below=0.3cm of grid91] (grid101) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid101] (grid102) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid102] (grid103) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid103] (grid104) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid104] (grid105) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid105] (grid106) {};}
      
      \uncover<2->{\node [grid, below=0.3cm of grid101] (grid111) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid111] (grid112) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid112] (grid113) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid113] (grid114) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid114] (grid115) {};}
      \uncover<2->{\node [grid, right=0.5cm of grid115] (grid116) {};}
      
%3D grid
      \uncover<2->{\node [grid, right=0.25cm of grid11] (3dgrid11base) {};}
      \uncover<2->{\node [grid, above=0.07cm of 3dgrid11base] (3dgrid11) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3dgrid11] (3dgrid12) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3dgrid12] (3dgrid13) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3dgrid13] (3dgrid14) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3dgrid14] (3dgrid15) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3dgrid15] (3dgrid16) {};}
      
      \uncover<2->{\node [grid, below=0.3cm of 3dgrid16] (3dgrid26) {};}
      \uncover<2->{\node [grid, below=0.3cm of 3dgrid26] (3dgrid36) {};}
      \uncover<2->{\node [grid, below=0.3cm of 3dgrid36] (3dgrid46) {};}
      \uncover<2->{\node [grid, below=0.3cm of 3dgrid46] (3dgrid56) {};}
      
      \uncover<2->{\node [grid, right=0.25cm of grid71] (3dgrid71base) {};}
      \uncover<2->{\node [grid, above=0.07cm of 3dgrid71base] (3dgrid71) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3dgrid71] (3dgrid72) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3dgrid72] (3dgrid73) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3dgrid73] (3dgrid74) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3dgrid74] (3dgrid75) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3dgrid75] (3dgrid76) {};}
      
      \uncover<2->{\node [grid, below=0.3cm of 3dgrid76] (3dgrid86) {};}
      \uncover<2->{\node [grid, below=0.3cm of 3dgrid86] (3dgrid96) {};}
      \uncover<2->{\node [grid, below=0.3cm of 3dgrid96] (3dgrid106) {};}
      \uncover<2->{\node [grid, below=0.3cm of 3dgrid106] (3dgrid116) {};}
      
      \uncover<2->{\node [grid, right=0.25cm of 3dgrid11] (3d2grid11base) {};}
      \uncover<2->{\node [grid, above=0.07cm of 3d2grid11base] (3d2grid11) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d2grid11] (3d2grid12) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d2grid12] (3d2grid13) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d2grid13] (3d2grid14) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d2grid14] (3d2grid15) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d2grid15] (3d2grid16) {};}
      
      \uncover<2->{\node [grid, below=0.3cm of 3d2grid16] (3d2grid26) {};}
      \uncover<2->{\node [grid, below=0.3cm of 3d2grid26] (3d2grid36) {};}
      \uncover<2->{\node [grid, below=0.3cm of 3d2grid36] (3d2grid46) {};}
      \uncover<2->{\node [grid, below=0.3cm of 3d2grid46] (3d2grid56) {};}
      
      \uncover<2->{\node [grid, right=0.25cm of 3dgrid71] (3d2grid71base) {};}
      \uncover<2->{\node [grid, above=0.07cm of 3d2grid71base] (3d2grid71) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d2grid71] (3d2grid72) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d2grid72] (3d2grid73) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d2grid73] (3d2grid74) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d2grid74] (3d2grid75) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d2grid75] (3d2grid76) {};}
      
      \uncover<2->{\node [grid, below=0.3cm of 3d2grid76] (3d2grid86) {};}
      \uncover<2->{\node [grid, below=0.3cm of 3d2grid86] (3d2grid96) {};}
      \uncover<2->{\node [grid, below=0.3cm of 3d2grid96] (3d2grid106) {};}
      \uncover<2->{\node [grid, below=0.3cm of 3d2grid106] (3d2grid116) {};}
      
      \uncover<2->{\node [grid, right=0.25cm of 3d2grid11] (3d3grid11base) {};}
      \uncover<2->{\node [grid, above=0.07cm of 3d3grid11base] (3d3grid11) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d3grid11] (3d3grid12) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d3grid12] (3d3grid13) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d3grid13] (3d3grid14) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d3grid14] (3d3grid15) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d3grid15] (3d3grid16) {};}
      
      \uncover<2->{\node [grid, below=0.3cm of 3d3grid16] (3d3grid26) {};}
      \uncover<2->{\node [grid, below=0.3cm of 3d3grid26] (3d3grid36) {};}
      \uncover<2->{\node [grid, below=0.3cm of 3d3grid36] (3d3grid46) {};}
      \uncover<2->{\node [grid, below=0.3cm of 3d3grid46] (3d3grid56) {};}
      
      \uncover<2->{\node [grid, right=0.25cm of 3d2grid71] (3d3grid71base) {};}
      \uncover<2->{\node [grid, above=0.07cm of 3d3grid71base] (3d3grid71) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d3grid71] (3d3grid72) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d3grid72] (3d3grid73) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d3grid73] (3d3grid74) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d3grid74] (3d3grid75) {};}
      \uncover<2->{\node [grid, right=0.5cm of 3d3grid75] (3d3grid76) {};}
      
      \uncover<2->{\node [grid, below=0.3cm of 3d3grid76] (3d3grid86) {};}
      \uncover<2->{\node [grid, below=0.3cm of 3d3grid86] (3d3grid96) {};}
      \uncover<2->{\node [grid, below=0.3cm of 3d3grid96] (3d3grid106) {};}
      \uncover<2->{\node [grid, below=0.3cm of 3d3grid106] (3d3grid116) {};}
      
      \uncover<2->{\node [grid, right=0.19cm of grid61] (labelbasegrid61) {};}
      \uncover<2->{\node [grid, right=0.5cm of labelbasegrid61] (labelbasegrid62) {};}
      \uncover<2->{\node [grid, right=0.5cm of labelbasegrid62] (labelbasegrid63) {};}
      \uncover<2->{\node [grid, right=0.5cm of labelbasegrid63] (labelbasegrid64) {};}
      \uncover<2->{\node [grid, right=0.5cm of labelbasegrid64] (labelbasegrid65) {};}
      
      \uncover<2->{\node [grid, right=0.34cm of labelbasegrid65] (3dlabelbasegrid65base) {};}
      \uncover<2->{\node [grid, above=-0.045cm of 3dlabelbasegrid65base] (3dlabelbasegrid65) {};}
      \uncover<2->{\node [grid, right=0.25cm of 3dlabelbasegrid65] (3d2labelbasegrid65base) {};}
      \uncover<2->{\node [grid, above=0.07cm of 3d2labelbasegrid65base] (3d2labelbasegrid65) {};}
      \uncover<2->{\node [grid, right=0.25cm of 3d2labelbasegrid65] (3d3labelbasegrid65base) {};}
      \uncover<2->{\node [grid, above=0.07cm of 3d3labelbasegrid65base] (3d3labelbasegrid65) {};}

      \uncover<2->{\fill [fill=blue!10] (grid11.center)  -- (3d3grid11.center)  -- (3d3grid16.center) -- (3d3grid56.center) -- (grid56.center) -- (grid51.center) -- (grid11.center);}
      \uncover<2->{\fill [fill=blue!90] (grid71.center)  -- (3d3grid71.center)  -- (3d3grid76.center) -- (3d3grid116.center) -- (grid116.center) -- (grid111.center) -- (grid71.center);}

%horizontal gridlines above
      \path<2-> [line] (grid11.center) -- (grid12.center);
      \path<2-> [line] (grid12.center) -- (grid13.center);
      \path<2-> [line] (grid13.center) -- (grid14.center);
      \path<2-> [line] (grid14.center) -- (grid15.center);
      \path<2-> [line] (grid15.center) -- (grid16.center);
      
      \path<2-> [line] (grid21.center) -- (grid22.center);
      \path<2-> [line] (grid22.center) -- (grid23.center);
      \path<2-> [line] (grid23.center) -- (grid24.center);
      \path<2-> [line] (grid24.center) -- (grid25.center);
      \path<2-> [line] (grid25.center) -- (grid26.center);
      
      \path<2-> [line] (grid31.center) -- (grid32.center);
      \path<2-> [line] (grid32.center) -- (grid33.center);
      \path<2-> [line] (grid33.center) -- (grid34.center);
      \path<2-> [line] (grid34.center) -- (grid35.center);
      \path<2-> [line] (grid35.center) -- (grid36.center);
      
      \path<2-> [line] (grid41.center) -- (grid42.center);
      \path<2-> [line] (grid42.center) -- (grid43.center);
      \path<2-> [line] (grid43.center) -- (grid44.center);
      \path<2-> [line] (grid44.center) -- (grid45.center);
      \path<2-> [line] (grid45.center) -- (grid46.center);
      
      \path<2-> [line] (grid51.center) -- (grid52.center);
      \path<2-> [line] (grid52.center) -- (grid53.center);
      \path<2-> [line] (grid53.center) -- (grid54.center);
      \path<2-> [line] (grid54.center) -- (grid55.center);
      \path<2-> [line] (grid55.center) -- (grid56.center);
      
%horizontal gridlines below
      \path<2-> [line, color=blue!10] (grid71.center) -- (grid72.center);
      \path<2-> [line, color=blue!10] (grid72.center) -- (grid73.center);
      \path<2-> [line, color=blue!10] (grid73.center) -- (grid74.center);
      \path<2-> [line, color=blue!10] (grid74.center) -- (grid75.center);
      \path<2-> [line, color=blue!10] (grid75.center) -- (grid76.center);
      
      \path<2-> [line, color=blue!10] (grid81.center) -- (grid82.center);
      \path<2-> [line, color=blue!10] (grid82.center) -- (grid83.center);
      \path<2-> [line, color=blue!10] (grid83.center) -- (grid84.center);
      \path<2-> [line, color=blue!10] (grid84.center) -- (grid85.center);
      \path<2-> [line, color=blue!10] (grid85.center) -- (grid86.center);
      
      \path<2-> [line, color=blue!10] (grid91.center) -- (grid92.center);
      \path<2-> [line, color=blue!10] (grid92.center) -- (grid93.center);
      \path<2-> [line, color=blue!10] (grid93.center) -- (grid94.center);
      \path<2-> [line, color=blue!10] (grid94.center) -- (grid95.center);
      \path<2-> [line, color=blue!10] (grid95.center) -- (grid96.center);
      
      \path<2-> [line, color=blue!10] (grid101.center) -- (grid102.center);
      \path<2-> [line, color=blue!10] (grid102.center) -- (grid103.center);
      \path<2-> [line, color=blue!10] (grid103.center) -- (grid104.center);
      \path<2-> [line, color=blue!10] (grid104.center) -- (grid105.center);
      \path<2-> [line, color=blue!10] (grid105.center) -- (grid106.center);
      
      \path<2-> [line, color=blue!10] (grid111.center) -- (grid112.center);
      \path<2-> [line, color=blue!10] (grid112.center) -- (grid113.center);
      \path<2-> [line, color=blue!10] (grid113.center) -- (grid114.center);
      \path<2-> [line, color=blue!10] (grid114.center) -- (grid115.center);
      \path<2-> [line, color=blue!10] (grid115.center) -- (grid116.center);
      
%vertival gridlines above
      \path<2-> [line] (grid11.center) -- (grid21.center);
      \path<2-> [line] (grid12.center) -- (grid22.center);
      \path<2-> [line] (grid13.center) -- (grid23.center);
      \path<2-> [line] (grid14.center) -- (grid24.center);
      \path<2-> [line] (grid15.center) -- (grid25.center);
      \path<2-> [line] (grid16.center) -- (grid26.center);
      
      \path<2-> [line] (grid21.center) -- (grid31.center);
      \path<2-> [line] (grid22.center) -- (grid32.center);
      \path<2-> [line] (grid23.center) -- (grid33.center);
      \path<2-> [line] (grid24.center) -- (grid34.center);
      \path<2-> [line] (grid25.center) -- (grid35.center);
      \path<2-> [line] (grid26.center) -- (grid36.center);
      
      \path<2-> [line] (grid31.center) -- (grid41.center);
      \path<2-> [line] (grid32.center) -- (grid42.center);
      \path<2-> [line] (grid33.center) -- (grid43.center);
      \path<2-> [line] (grid34.center) -- (grid44.center);
      \path<2-> [line] (grid35.center) -- (grid45.center);
      \path<2-> [line] (grid36.center) -- (grid46.center);
      
      \path<2-> [line] (grid41.center) -- (grid51.center);
      \path<2-> [line] (grid42.center) -- (grid52.center);
      \path<2-> [line] (grid43.center) -- (grid53.center);
      \path<2-> [line] (grid44.center) -- (grid54.center);
      \path<2-> [line] (grid45.center) -- (grid55.center);
      \path<2-> [line] (grid46.center) -- (grid56.center);
      

%vertival gridlines below
      \path<2-> [line, color=blue!10] (grid71.center) -- (grid81.center);
      \path<2-> [line, color=blue!10] (grid72.center) -- (grid82.center);
      \path<2-> [line, color=blue!10] (grid73.center) -- (grid83.center);
      \path<2-> [line, color=blue!10] (grid74.center) -- (grid84.center);
      \path<2-> [line, color=blue!10] (grid75.center) -- (grid85.center);
      \path<2-> [line, color=blue!10] (grid76.center) -- (grid86.center);
      
      \path<2-> [line, color=blue!10] (grid81.center) -- (grid91.center);
      \path<2-> [line, color=blue!10] (grid82.center) -- (grid92.center);
      \path<2-> [line, color=blue!10] (grid83.center) -- (grid93.center);
      \path<2-> [line, color=blue!10] (grid84.center) -- (grid94.center);
      \path<2-> [line, color=blue!10] (grid85.center) -- (grid95.center);
      \path<2-> [line, color=blue!10] (grid86.center) -- (grid96.center);
      
      \path<2-> [line, color=blue!10] (grid91.center) -- (grid101.center);
      \path<2-> [line, color=blue!10] (grid92.center) -- (grid102.center);
      \path<2-> [line, color=blue!10] (grid93.center) -- (grid103.center);
      \path<2-> [line, color=blue!10] (grid94.center) -- (grid104.center);
      \path<2-> [line, color=blue!10] (grid95.center) -- (grid105.center);
      \path<2-> [line, color=blue!10] (grid96.center) -- (grid106.center);
      
      \path<2-> [line, color=blue!10] (grid101.center) -- (grid111.center);
      \path<2-> [line, color=blue!10] (grid102.center) -- (grid112.center);
      \path<2-> [line, color=blue!10] (grid103.center) -- (grid113.center);
      \path<2-> [line, color=blue!10] (grid104.center) -- (grid114.center);
      \path<2-> [line, color=blue!10] (grid105.center) -- (grid115.center);
      \path<2-> [line, color=blue!10] (grid106.center) -- (grid116.center);
      
%3D grid above

      
      \path<2-> [line] (3dgrid11.center) -- (3dgrid12.center);
      \path<2-> [line] (3dgrid12.center) -- (3dgrid13.center);
      \path<2-> [line] (3dgrid13.center) -- (3dgrid14.center);
      \path<2-> [line] (3dgrid14.center) -- (3dgrid15.center);
      \path<2-> [line] (3dgrid15.center) -- (3dgrid16.center);
      
      \path<2-> [line] (3dgrid16.center) -- (3dgrid26.center);
      \path<2-> [line] (3dgrid26.center) -- (3dgrid36.center);
      \path<2-> [line] (3dgrid36.center) -- (3dgrid46.center);
      \path<2-> [line] (3dgrid46.center) -- (3dgrid56.center);
      
%3D grid below

      \path<2-> [line, color=blue!10] (3dgrid71.center) -- (3dgrid72.center);
      \path<2-> [line, color=blue!10] (3dgrid72.center) -- (3dgrid73.center);
      \path<2-> [line, color=blue!10] (3dgrid73.center) -- (3dgrid74.center);
      \path<2-> [line, color=blue!10] (3dgrid74.center) -- (3dgrid75.center);
      \path<2-> [line, color=blue!10] (3dgrid75.center) -- (3dgrid76.center);
      
      \path<2-> [line, color=blue!10] (3dgrid76.center) -- (3dgrid86.center);
      \path<2-> [line, color=blue!10] (3dgrid86.center) -- (3dgrid96.center);
      \path<2-> [line, color=blue!10] (3dgrid96.center) -- (3dgrid106.center);
      \path<2-> [line, color=blue!10] (3dgrid106.center) -- (3dgrid116.center);
      

%3D2 grid above

      \path<2-> [line] (3d2grid11.center) -- (3d2grid12.center);
      \path<2-> [line] (3d2grid12.center) -- (3d2grid13.center);
      \path<2-> [line] (3d2grid13.center) -- (3d2grid14.center);
      \path<2-> [line] (3d2grid14.center) -- (3d2grid15.center);
      \path<2-> [line] (3d2grid15.center) -- (3d2grid16.center);
      
      \path<2-> [line] (3d2grid16.center) -- (3d2grid26.center);
      \path<2-> [line] (3d2grid26.center) -- (3d2grid36.center);
      \path<2-> [line] (3d2grid36.center) -- (3d2grid46.center);
      \path<2-> [line] (3d2grid46.center) -- (3d2grid56.center);
      
%3D2 grid below

      
      \path<2-> [line, color=blue!10] (3d2grid71.center) -- (3d2grid72.center);
      \path<2-> [line, color=blue!10] (3d2grid72.center) -- (3d2grid73.center);
      \path<2-> [line, color=blue!10] (3d2grid73.center) -- (3d2grid74.center);
      \path<2-> [line, color=blue!10] (3d2grid74.center) -- (3d2grid75.center);
      \path<2-> [line, color=blue!10] (3d2grid75.center) -- (3d2grid76.center);
      
      \path<2-> [line, color=blue!10] (3d2grid76.center) -- (3d2grid86.center);
      \path<2-> [line, color=blue!10] (3d2grid86.center) -- (3d2grid96.center);
      \path<2-> [line, color=blue!10] (3d2grid96.center) -- (3d2grid106.center);
      \path<2-> [line, color=blue!10] (3d2grid106.center) -- (3d2grid116.center);
      

%3D3 grid above

      \path<2-> [line] (3d3grid11.center) -- (3d3grid12.center);
      \path<2-> [line] (3d3grid12.center) -- (3d3grid13.center);
      \path<2-> [line] (3d3grid13.center) -- (3d3grid14.center);
      \path<2-> [line] (3d3grid14.center) -- (3d3grid15.center);
      \path<2-> [line] (3d3grid15.center) -- (3d3grid16.center);
      
      \path<2-> [line] (3d3grid16.center) -- (3d3grid26.center);
      \path<2-> [line] (3d3grid26.center) -- (3d3grid36.center);
      \path<2-> [line] (3d3grid36.center) -- (3d3grid46.center);
      \path<2-> [line] (3d3grid46.center) -- (3d3grid56.center);
      
%3D3 grid below

      \path<2-> [line, color=blue!10] (3d3grid71.center) -- (3d3grid72.center);
      \path<2-> [line, color=blue!10] (3d3grid72.center) -- (3d3grid73.center);
      \path<2-> [line, color=blue!10] (3d3grid73.center) -- (3d3grid74.center);
      \path<2-> [line, color=blue!10] (3d3grid74.center) -- (3d3grid75.center);
      \path<2-> [line, color=blue!10] (3d3grid75.center) -- (3d3grid76.center);
      
      \path<2-> [line, color=blue!10] (3d3grid76.center) -- (3d3grid86.center);
      \path<2-> [line, color=blue!10] (3d3grid86.center) -- (3d3grid96.center);
      \path<2-> [line, color=blue!10] (3d3grid96.center) -- (3d3grid106.center);
      \path<2-> [line, color=blue!10] (3d3grid106.center) -- (3d3grid116.center);
      
%diagonal lines 3D
      \path<2-> [line] (grid11.center) -- (3d3grid11.center);
      \path<2-> [line] (grid12.center) -- (3d3grid12.center);
      \path<2-> [line] (grid13.center) -- (3d3grid13.center);
      \path<2-> [line] (grid14.center) -- (3d3grid14.center);
      \path<2-> [line] (grid15.center) -- (3d3grid15.center);
      \path<2-> [line] (grid16.center) -- (3d3grid16.center);
      
      \path<2-> [line] (grid26.center) -- (3d3grid26.center);
      \path<2-> [line] (grid36.center) -- (3d3grid36.center);
      \path<2-> [line] (grid46.center) -- (3d3grid46.center);
      \path<2-> [line] (grid56.center) -- (3d3grid56.center);

      \path<2-> [line, color=blue!10] (grid71.center) -- (3d3grid71.center);
      \path<2-> [line, color=blue!10] (grid72.center) -- (3d3grid72.center);
      \path<2-> [line, color=blue!10] (grid73.center) -- (3d3grid73.center);
      \path<2-> [line, color=blue!10] (grid74.center) -- (3d3grid74.center);
      \path<2-> [line, color=blue!10] (grid75.center) -- (3d3grid75.center);
      \path<2-> [line, color=blue!10] (grid76.center) -- (3d3grid76.center);

      \path<2-> [line, color=blue!10] (grid86.center) -- (3d3grid86.center);
      \path<2-> [line, color=blue!10] (grid96.center) -- (3d3grid96.center);
      \path<2-> [line, color=blue!10] (grid106.center) -- (3d3grid106.center);
      \path<2-> [line, color=blue!10] (grid116.center) -- (3d3grid116.center);


%labeling
      \uncover<2->{\node[label, rotate=90, above=0pt of grid31] (gridlayerlabel) {Atmosphere};}
      \uncover<2->{\node[label, color=blue!90, rotate=90, above=0pt of grid91] (gridlayerlabel) {Ocean};}
      
      \uncover<2->{\node [label, above=0.45cm of labelbasegrid61] (labelabovegrid1) {1};}
      \uncover<2->{\node [label, above=0.45cm of labelbasegrid62] (labelabovegrid2) {2};}
      \uncover<2->{\node [label, above=0.45cm of labelbasegrid63] (labelabovegrid3) {3};}
      \uncover<2->{\node [label, above=0.45cm of labelbasegrid64] (labelabovegrid4) {4};}
      \uncover<2->{\node [label, above=0.45cm of labelbasegrid65] (labelabovegrid5) {5};}
      \uncover<2->{\node [label, above=0.45cm of 3d2labelbasegrid65] (3d2labelabovegrid5) {};}
      \uncover<2->{\node [label, above=0.45cm of 3d3labelbasegrid65] (3d3labelabovegrid5) {};}
      
      \uncover<2->{\node [label, color=blue!10, below=0.45cm of labelbasegrid61] (labelbelowgrid1) {1};}
      \uncover<2->{\node [label, color=blue!10, below=0.45cm of labelbasegrid62] (labelbelowgrid2) {2};}
      \uncover<2->{\node [label, color=blue!10, below=0.45cm of labelbasegrid63] (labelbelowgrid3) {3};}
      \uncover<2->{\node [label, color=blue!10, below=0.45cm of labelbasegrid64] (labelbelowgrid4) {4};}
      \uncover<2->{\node [label, color=blue!10, below=0.45cm of labelbasegrid65] (labelbelowgrid5) {5};}
      \uncover<2->{\node [label, color=blue!10, below=0.45cm of 3d2labelbasegrid65] (3d2labelbelowgrid5) {};}
      \uncover<2->{\node [label, color=blue!10, below=0.45cm of 3d3labelbasegrid65] (3d3labelbelowgrid5) {};}
      
      \uncover<2->{\draw [<->,line width=2pt] (labelabovegrid1.south) to (labelbelowgrid1.north);}
      \uncover<2->{\draw [<->,line width=2pt] (labelabovegrid2.south) to (labelbelowgrid2.north);}
      \uncover<2->{\draw [<->,line width=2pt] (labelabovegrid3.south) to (labelbelowgrid3.north);}
      \uncover<2->{\draw [<->,line width=2pt] (labelabovegrid4.south) to (labelbelowgrid4.north);}
      \uncover<2->{\draw [<->,line width=2pt] (labelabovegrid5.south) to (labelbelowgrid5.north);}
      \uncover<2->{\draw [<->,line width=2pt] (3d2labelabovegrid5.south) to (3d2labelbelowgrid5.north);}
      \uncover<2->{\draw [<->,line width=2pt] (3d3labelabovegrid5.south) to (3d3labelbelowgrid5.north);}
      
      
%2nd pic
      \uncover<6->{\node [grid, below=0.5cm of grid112] (timelinebaseright1) {};}
      \uncover<6->{\node [grid, below=0.3cm of timelinebaseright1] (timelinebaseright2) {};}
      
      \uncover<5->{\node [blackdot, left=5.0cm of timelinebaseright1] (timelinebaseleft1) {};}
      \uncover<5->{\node [blackdot, left=5.0cm of timelinebaseright2] (timelinebaseleft2) {};}
      
      \uncover<5->{\node [lightbluedot, left=1.0cm of timelinebaseleft1] (pretimelinebaseleft1) {};}
      \uncover<5->{\node [darkbluedot, left=2.0cm of timelinebaseleft2] (pretimelinebaseleft2) {};}
      
      \uncover<6->{\draw [->,line width=1pt] (timelinebaseleft1.east) to (timelinebaseright1.west);}
      \uncover<6->{\draw [->,line width=1pt] (timelinebaseleft2.east) to (timelinebaseright2.west);}
      \uncover<5->{\draw [->,line width=1pt, color=blue!30,] (pretimelinebaseleft1.east) to (timelinebaseleft1.west);}
      \uncover<5->{\draw [->,line width=1pt, color=blue!90,] (pretimelinebaseleft2.east) to (timelinebaseleft2.west);}
      
      \uncover<6->{\node[label, right=1pt of timelinebaseright1] (timelineendlabel1) {Atmosphere};}
      \uncover<6->{\node[label, color=blue!90, right=1pt of timelinebaseright2] (timelinelabel2) {Ocean};}
      
      \uncover<5->{\node [grid, above=0.1cm of timelinebaseleft1] (timelinebaseleft1labelbase) {};}
      \uncover<5->{\node[label, left=1pt of timelinebaseleft1labelbase] (timelinebaseleft1label) {pre-run atmosphere};}
      \uncover<5->{\node [grid, below=0.1cm of timelinebaseleft2] (timelinebaseleft2labelbase) {};}
      \uncover<5->{\node[label, left=1pt of timelinebaseleft2labelbase] (timelinebaseleft2label) {pre-run ocean};}

      \uncover<5->{\node[label, right=0pt of timelinebaseleft2labelbase] (timelinebaseleft2label0) {0};}

      \uncover<6->{\node [grid, below=0.1cm of timelinebaseright2] (timelinebaseright2labelbase) {};}
      \uncover<6->{\node[label, left=1pt of timelinebaseright2labelbase] (timelinebaseright2label) {time};}
      
      \uncover<6->{\node [grid, above=0.05cm of timelinebaseleft2] (timelinebaseleft1labelmiddle) {};}
      \uncover<6->{\node[label, right=10pt of timelinebaseleft1labelmiddle] (timelinebasemiddle1label) {coupled run};}
      
      \path<5-> [line, color=red!100] (timelinebaseleft1labelbase.north) -- (timelinebaseleft2labelbase.south);
   \end{tikzpicture}
\end{frame}

%Folie 04
\begin{frame}
   \frametitle{PALM - Ocean-Atmosphere Coupling \\ Technical Realization (II)}

   \tikzstyle{white} = [rectangle, text width=1\textwidth, font=\normalsize]
   \tikzstyle{grid} = [rectangle, minimum size=4pt]
   \tikzstyle{lightbluedot} = [circle, draw, color=black, fill=blue!10, minimum size=4pt]
   \tikzstyle{darkbluedot} = [circle, draw, color=blue!10, fill=blue!90, minimum size=4pt]
   \tikzstyle{w} = [circle, draw, color=black, fill=black!100, minimum size=4pt]
   \tikzstyle{scalar} = [diamond, draw, color=red, fill=red!50, minimum size=4pt]
   \tikzstyle{line} = [draw, -]
   
   \tikzstyle{block} = [rectangle, draw, fill=blue!20, text width=5em, text centered, rounded corners, minimum height=4em]
   
   \tikzstyle{label} = [rectangle, font=\tiny, minimum size=8pt]
   \tikzstyle{labelred} = [rectangle, color=red, font=\tiny, minimum size=6pt]
   \tikzstyle{2dtextbox} = [rectangle, align=center, fill=white!100, text width=0.42\textwidth, minimum size=35pt, font=\tiny]
   \tikzstyle{plotpoint} = [circle, draw, color=black, fill=black!100, minimum size=2pt]

   \begin{tikzpicture}[node distance = 2cm, auto, decoration=ticks,>=latex']

      \uncover<1->{\node [white] (itemize) {
         \begin{small}
         \begin{itemize}
            \item<1->{communication between the two models is realized with MPI.}
            \item<2->{MPI-2 intercommunicators allow to couple two different executables,}
            \item<3->{however the full MPI-2 standard is hardly available.}
            \item<4->{MPI-1 starts only one executable, splits the total number of processors and calls the different models as subroutines.}
         \end{itemize}
         \end{small}
      };}

      \begin{tiny}
      \uncover<2->{\node [grid, below=0.6cm of itemize] (picbase) {};}
      \uncover<2->{\node [grid, left=2.6cm of picbase] (picbaseleft) {};}



      \uncover<2->{\node [block, left=0.5cm of picbaseleft] (PALMstartatmosphere) {PALM start atmosphere};}
      \uncover<2->{\node [block, right=0.5cm of picbaseleft] (PALMstartocean) {PALM start ocean};}
      
      \uncover<2->{\node [block, below=1.0cm of PALMstartatmosphere] (PALMstartatmosphereend) {PALM end};}
      \uncover<2->{\node [block, below=1.0cm of PALMstartocean] (PALMstartoceanend) {PALM end};}

      \path<2-> [line] (PALMstartatmosphere.south) -- (PALMstartatmosphereend.north);
      \uncover<2->{\draw [decorate, segment length=4pt] (PALMstartatmosphere.south) -- (PALMstartatmosphereend.north);}
      
      \path<2-> [line] (PALMstartocean.south) -- (PALMstartoceanend.north);
      \uncover<2->{\draw [decorate, segment length=4pt] (PALMstartocean.south) -- (PALMstartoceanend.north);}
      
      \uncover<2->{\node [label, below=0.8cm of picbaseleft] (picmiddlelabel) {MPI-2 communicator};}
      \uncover<2->{\node [grid, below=0.62cm of PALMstartatmosphere] (PALMatmospherearrow) {};}
      \uncover<2->{\node [grid, below=0.62cm of PALMstartocean] (PALMoceanarrow) {};}
      \uncover<2->{\draw [<->] (PALMatmospherearrow.east) to (PALMoceanarrow.west);}
      
%2nd pic
      \uncover<4->{\node [block, right=1.7cm of picbase] (PALMstart) {PALM start};}
      \uncover<4->{\node [block, below=1.0cm of PALMstart] (PALMstartend) {PALM end};}
      
      \uncover<4->{\node [grid, left=0.7cm of PALMstart] (atmospherebase) {};}
      \uncover<4->{\node [grid, right=0.7cm of PALMstart] (oceanbase) {};}
      
      \uncover<4->{\node [block, below=0.1cm of atmospherebase] (atmosphere) {atmosphere};}
      \uncover<4->{\node [block, below=0.1cm of oceanbase] (ocean) {ocean};}
      
      \path<4-> [line] (PALMstart.west) -| (atmosphere.north);
%      \uncover<2->{\draw [->] (PALMstart.west) -| (atmosphere.north);}
      \path<4-> [line] (PALMstart.east) -| (ocean.north);
%      \uncover<2->{\draw [->] (PALMstart.east) -| (ocean.north);}
      \uncover<4->{\node [label, below=0.05cm of PALMstart] (PALMstartmiddlelabel) {MPI-1 split};}
      
      \uncover<4->{\node [grid, left=0.7cm of PALMstartend] (atmospherelinebase) {};}
      \uncover<4->{\draw [decorate, segment length=4pt] (atmosphere.south) -- (atmospherelinebase.center);}
      \uncover<4->{\node [grid, right=0.7cm of PALMstartend] (oceanlinebase) {};}
      \uncover<4->{\draw [decorate, segment length=4pt] (ocean.south) -- (oceanlinebase.center);}
      
      \path<4-> [line] (atmosphere.south) |- (PALMstartend.west);
      \path<4-> [line] (ocean.south) |- (PALMstartend.east);
      
      \uncover<4->{\node [label, below=0.65cm of PALMstart] (pic2middlelabel) {MPI-1 communicator};}
      \uncover<4->{\node [grid, below=0.2cm of atmosphere] (atmospherearrow) {};}
      \uncover<4->{\node [grid, below=0.2cm of ocean] (oceanarrow) {};}
      \uncover<4->{\draw [<->] (atmospherearrow.east) to (oceanarrow.west);}
      
%red labels
      \uncover<2->{\node [labelred, above=-0.05cm of PALMstartatmosphere] () {mpiexec -np8 palm};}
      \uncover<2->{\node [labelred, above=-0.05cm of PALMstartocean] () {mpiexec -np8 palm};}
      \uncover<4->{\node [labelred, above=-0.05cm of PALMstart] () {mpiexec -np16 palm};}
      \uncover<4->{\node [labelred, above=-0.1cm of atmospherebase] () {8 processors};}
      \uncover<4->{\node [labelred, above=-0.1cm of oceanbase] () {8 processors};}
      \end{tiny}
   \end{tikzpicture}
\end{frame}

%Folie 05
\begin{frame}
   \frametitle{PALM - Ocean Version - Final Remarks}
   \begin{itemize}
      \item<2->{The atmosphere ocean coupling of PALM has not been tested sufficiently so far! Only some plausibility checks have been done.}
      \item<3->{Please carefully check the results and please also check the code.}
   \end{itemize}
\end{frame}



\end{document}
