Skip to content
Snippets Groups Projects
4_externaltools.tex 2.6 KiB
Newer Older
Thomas Fetzer's avatar
Thomas Fetzer committed
\section{External Tools}
\label{sc_externaltools}

\subsection{Eclipse}
There is an Eclipse style file which can be used for \Dumux.
\begin{enumerate}
  \item open in eclipse: \texttt{Window} $\rightarrow$ \texttt{Preferences} $\rightarrow$
        \texttt{C/C++}  $\rightarrow$ \texttt{Code Style} $\rightarrow$ \texttt{Formatter}
  \item press the \texttt{Import} button
  \item choose the file \texttt{eclipse\_profile.xml} from your dumux-devel directory
  \item make sure that now \Dumux is chosen in \texttt{Select a profile}
Thomas Fetzer's avatar
Thomas Fetzer committed
\subsection{Git}
Git is a version control tool which we use.
Thomas Fetzer's avatar
Thomas Fetzer committed
The basic Git commands are:
\begin{itemize}
  \item \texttt{git checkout} receive a specified branch from the repository
  \item \texttt{git clone} clone a repository; creates a local copy
  \item \texttt{git diff} to see the actual changes compared to your last commit
  \item \texttt{git pull} pull changes from the repository; synchronizes the
  repository with your local copy
  \item \texttt{git push} push comitted changes to the repository;  synchronizes
  your local copy with the repository
Thomas Fetzer's avatar
Thomas Fetzer committed
  \item \texttt{git status} to check which files/folders have been changed
  \item \texttt{git gui} graphical user interface, helps selecting changes for
  a commit
Thomas Fetzer's avatar
Thomas Fetzer committed
\end{itemize}


\subsection{Gnuplot}
A gnuplot interface is available to plot or visualize results during a simulation run.
This is achieved with the help of the class provided in \texttt{io/gnuplotinterface.hh}.
Have a look at tests including this header for examples how to use this interface.


\subsection{Gstat}
Gstat is an open source software tool which generates geostatistical random fields (see \url{www.gstat.org}).
In order to use gstat, execute the \texttt{bin/installexternal.sh} from your \Dumux root
directory or donwload, unpack and install the tarball from the gstat-website.
Then rerun cmake (in the second case set \texttt{GSTAT\_ROOT} in your input file to the
path where gstat is installed).

Thomas Fetzer's avatar
Thomas Fetzer committed

\subsection{ParaView}
\paragraph{Reload Button:}
There are scripts to reload \texttt{*.pvd} or series of {\texttt{*.vtu} files since ParaView 4.2.
The scripts can be found
\href{http://markmail.org/message/exxynsgishbvtngg#query:+page:1+mid:rxlwxs7uqrfgibyv+state:results}{\texttt{under this link}}.
Thomas Fetzer's avatar
Thomas Fetzer committed
Just save the specific code portion in a file and load it via \texttt{Macros} $\rightarrow$ \texttt{Add new macro}.

\paragraph{Guide:}
Since ParaView 4.3.1 The ParaView Guide is partly
available for free download, see \url{http://www.paraview.org/documentation/}.
It corresponds to the ParaView book, only without three application chapters.
Attention, its size is 180 MiB.