\begin{frame}
\frametitle{Get the solution}
Here will be presented how to retrieve the solution of a given problem.\\
\end{frame}


\begin{frame}[fragile]
  \frametitle{Get the global solution on one proc}
  \begin{tiny}
    \begin{block}{}
      \begin{type-func-type-mod-var}
        \murgefct{GetGlobalSolution},\\
                              \tmv{COEF}{\st{}}{x},\\
                              \tmv{INTS}{   }{root});\\
      \end{type-func-type-mod-var}
    \end{block}
  \end{tiny}
  The function will set x to the value of the solution on process root.
\end{frame}

\begin{frame}[fragile]
  \frametitle{Get the local solution on each proc}
  \begin{tiny}
    \begin{block}{}
      \begin{type-func-type-mod-var}
        \murgefct{GetLocalSolution},\\
        \tmv{COEF}{\st{}}{x});\\
      \end{type-func-type-mod-var}
    \end{block}
  \end{tiny}
  With this function each process will own its part of the solution, according to the solver distribution.
\end{frame}

\begin{frame}[fragile]
  \frametitle{Get the solution on each proc according to the user distribution}
  \begin{tiny}
    \begin{block}{}
      \begin{type-func-type-mod-var}
        \murgefct{GetSolution},\\
        \tmv{INTS}{   }{n},       \\
        \tmv{INTS}{\st{}}{coefsidx},\\
        \tmv{COEF}{\st{}}{x},       \\
        \tmv{INTS}{   }{mode});   \\
     \end{type-func-type-mod-var}
    \end{block}
  \end{tiny}
  This function allows the user to get the part of the solution he wants.
\end{frame}

\begin{frame}[fragile]
  \frametitle{Reset the right-hand-side member}
  \begin{tiny}
    \begin{block}{}
      \begin{type-func-type-mod-var}
        \murgefct{RHSReset});\\
      \end{type-func-type-mod-var}
    \end{block}
  \end{tiny}
  This function is used to reset the right-hand-side member coefficients.
\end{frame}
