Skip to content
Snippets Groups Projects
Commit 619d995c authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Tidied up tutorial, removed empty chapters, added HTML styling.

parent e1649ec1
Branches fix/MC_Detect
No related tags found
No related merge requests found
......@@ -23,6 +23,6 @@ ADD_CUSTOM_TARGET(tutorials-pdf
COMMAND TEXMFOUTPUT=${TUTORIALS} ${BIBTEX} ${TUTORIALS}/tutorials.aux
COMMAND TEXMFOUTPUT=${TUTORIALS} ${MAKEINDEX} ${TUTORIALS}/tutorials.idx
COMMAND ${PDFLATEX} --output-directory ${TUTORIALS}
${USERGUIDESRC}/tutorials.tex
${TUTORIALSSRC}/tutorials.tex
WORKING_DIRECTORY ${TUTORIALSSRC}
)
\Preamble{html}
\Configure{graphics*}
{pdf}
{\Needs{"convert \csname Gin@base\endcsname.pdf
\csname Gin@base\endcsname.png"}%
\Picture[pict]{\csname Gin@base\endcsname.png}%
\special{t4ht+@File: \csname Gin@base\endcsname.png}
}
%% Use HTML for italics and bold
\Configure{emph}{\ifvmode\ShowPar\fi\HCode{<em>}}{\HCode{</em>}}
\Configure{textbf}{\ifvmode\ShowPar\fi\HCode{<b>}}{\HCode{</b>}}
%% Remove div indents
\Configure{HtmlPar}
{\EndP\Tg<p>}
{\EndP\Tg<p>}
{\HCode{</p>\Hnewline}}
{\HCode{</p>\Hnewline}}
\begin{document}
\DeclareGraphicsExtensions{.pdf,.png,.jpg,.mp,.mps}
\Css{
body {
width: 700px;
margin: 0 auto;
background: \#eeeeee;
font-family: "Helvetica Neue", Arial, Freesans, clean, sans-serif;
}
h2 {color: \#000000; text-align: right; font-size: 32pt;}
.chapterHead .titlemark {
font-size: 20pt;
}
a {
color: \#000066;
text-decoration: none;
}
a:hover {
color: \#0000ff;
}
.author {
font-size: 14pt;
}
.lstlisting {
background: \#eeeeee;
margin-left: 20px;
margin-right: 20px;
padding: 5px;
font-family: "Lucida Console", Monaco, monospace;
}
.lstinline {
padding: 2px;
font-family: "Lucida Console", Monaco, monospace;
}
}
\EndPreamble
......@@ -6,17 +6,16 @@
Welcome to the Advection Diffusion Reaction (ADR) Solver tutorial for
the Nektar++ library. This tutorial is intended to show the main
features of the ADR solver in a simple and user-friendly format. If
you do not have already downloaded and installed Nektar++, please do
you have not already downloaded and installed Nektar++, please do
so by visiting \href{http://www.nektar.info}{nektar.info}, where you
can also find the
\href{http://www.nektar.info/downloads/8}{User-Guide} with the
instructions to install the library. This tutorial requires the pre-
and post-processing tools and the ADR solver within Nektar++ and the
open-source mesh generator \href{http://geuz.org/gmsh/}{Gmsh} and the
visualisation tool \href{http://www.paraview.org}{Paraview}. If the
links to Gmsh and Paraview are broken it should be sufficient to
search for them in any web search engine.
instructions to install the library. This tutorial requires:
\begin{itemize}
\item Nektar++ ADRSolver and pre- and post-processing tools,
\item the open-source mesh generator \href{http://geuz.org/gmsh/}{Gmsh},
\item the visualisation tool \href{http://www.paraview.org}{Paraview}.
\end{itemize}
\subsubsection*{Goals}
After the completion of this tutorial, the user will be familiar with:
......
......@@ -176,6 +176,7 @@ openany, % A chapter may start on either a recto or verso page.
}
\definecolor{gray}{rgb}{0.4,0.4,0.4}
\definecolor{darkblue}{rgb}{0.0,0.0,0.6}
\definecolor{darkred}{rgb}{0.6,0.0,0.0}
\definecolor{cyan}{rgb}{0.0,0.6,0.6}
\definecolor{maroon}{rgb}{0.5,0.0,0.0}
\lstdefinelanguage{XML}
......@@ -337,7 +338,7 @@ pdfborder={0 0 0}, % No borders around internal hyperlinks
\vskip2.37\baselineskip
{\huge\bfseries Version \input{../../VERSION}\par}
\vskip4\baselineskip
{\huge\bfseries \textcolor{darkblue}{Tutorials}\par}
{\huge\bfseries \textcolor{darkred}{Tutorials}\par}
\vskip1.0\baselineskip
{\large\bfseries\@date\par}
\vspace{0.3\textheight}
......@@ -355,7 +356,7 @@ pdfborder={0 0 0}, % No borders around internal hyperlinks
%%% Where all the important stuff is included!
%%%-------------------------------------------------------------------------------
\author{Department of Aeronautics, Imperial College London, UK\\
\author{Department of Aeronautics, Imperial College London, UK\newline
Scientific Computing and Imaging Institute, University of Utah, USA}
\title{Nektar++: Spectral/hp Element Framework}
\date{\today}
......@@ -381,28 +382,22 @@ Scientific Computing and Imaging Institute, University of Utah, USA}
\clearpage
\chapter{Introduction}
The tutorials presented in the following aim to show the users of Nektar++ how to
utilise the various solvers available within the library, from the pre-processing steps
to the post-processing, passing through the setup and run of the simulation.
The document is organised such that each solver has at least one tutorial which
explains all the main functionalities.
\begin{warningbox}
This document is still under development and may be incomplete in parts.
\end{warningbox}
The tutorials presented in the following aim to show the users of Nektar++
\cite{CaMoCoBoRo15} how to utilise the various solvers available within the
library, from the pre-processing steps to the post-processing, passing through
the setup and run of the simulation.
\mainmatter
\import{tutorial1-adr/}{tutorial1-adr.tex}
\import{tutorial2-ape/}{tutorial2-ape.tex}
%\import{tutorial2-ape/}{tutorial2-ape.tex}
\import{tutorial3-incompressible-ns/}{tutorial3-incompressible-ns.tex}
%\import{tutorial3-incompressible-ns/}{tutorial3-incompressible-ns.tex}
\import{tutorial4-compressible-ns/}{tutorial4-compressible-ns.tex}
%\import{tutorial4-compressible-ns/}{tutorial4-compressible-ns.tex}
\import{tutorial5-cardiac-ep/}{tutorial5-cardiac-ep.tex}
%\import{tutorial5-cardiac-ep/}{tutorial5-cardiac-ep.tex}
%\appendix
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment