mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
handbook updated
This commit is contained in:
commit
d43c51fce2
62
doc/handbook/Makefile.am
Normal file
62
doc/handbook/Makefile.am
Normal file
@ -0,0 +1,62 @@
|
||||
# $id: $
|
||||
|
||||
EPS_FILES =
|
||||
|
||||
DOCSOURCE = dumux-handbook.tex navigation.html css.html
|
||||
|
||||
MAINDOCS = dumux-handbook.dvi dumux-handbook.pdf dumux-handbook.ps
|
||||
|
||||
if WML
|
||||
WMLDOCS = index.html
|
||||
endif
|
||||
|
||||
if TEX4HT
|
||||
HTDOCS = navigation.html css.html dumux-handbook.html
|
||||
endif
|
||||
|
||||
EXTRA_DIST = dumux-handbook.pdf Makefile.dist.in Makefile.dist.am
|
||||
|
||||
if BUILD_DOCS
|
||||
if CONVERT
|
||||
DOCS = $(HTDOCS) $(MAINDOCS) $(WMLDOCS)
|
||||
endif
|
||||
endif
|
||||
|
||||
# setting like in dune-web
|
||||
BASEDIR=../..
|
||||
CURDIR=doc/handbook
|
||||
|
||||
docdir=$(datadir)/doc/handbook
|
||||
|
||||
doc_DATA = dumux-handbook.pdf
|
||||
|
||||
EXTRAINSTALL = dumux-handbook.pdf grid-howto*.html *.png *.css
|
||||
|
||||
CLEANFILES = *.aux *.bbl *.blg *.log *.out *.toc *.dvi *.pdf *.ps
|
||||
CLEANFILES += *.4ct *.4tc *.css *.idv *.idx *.lg *.tid *.tmp *.tms *.xref
|
||||
CLEANFILES += dumux-handbook*.html dumux-handbook*.png
|
||||
CLEANFILES += $(DOCS)
|
||||
if CONVERT
|
||||
CLEANFILES += $(EPS_FILES)
|
||||
|
||||
%.eps: $(srcdir)/%.jpg
|
||||
convert $< $@
|
||||
dumux-handbook.tex: $(EPS_FILES)
|
||||
endif
|
||||
|
||||
dumux-handbook.html: $(DOCSOURCE) dune.cfg tex4ht.env
|
||||
$(MAKE) dumux-handbook.dvi
|
||||
$(MK4HT) htlatex dumux-handbook.tex "dune"; \
|
||||
$(MK4HT) htlatex dumux-handbook.tex "dune"; \
|
||||
$(T4HT) dumux-handbook.tex
|
||||
$(TEX) dumux-handbook.tex
|
||||
|
||||
dist-hook:
|
||||
sed $(srcdir)/Makefile.dist.am -e 's/Makefile\.dist/Makefile/g' > $(distdir)/Makefile.am
|
||||
sed $(srcdir)/Makefile.dist.in -e 's/Makefile\.dist/Makefile/g' > $(distdir)/Makefile.in
|
||||
|
||||
EXTRA_TEXINPUTS:=$(top_srcdir)
|
||||
|
||||
include $(top_srcdir)/am/global-rules
|
||||
include $(top_srcdir)/am/webstuff
|
||||
include $(top_srcdir)/am/latex
|
1
doc/handbook/css.wml
Normal file
1
doc/handbook/css.wml
Normal file
@ -0,0 +1 @@
|
||||
\HCode{<link rel="stylesheet" type="text/css" href="$(ROOT)/dune.css" />}
|
1
doc/handbook/dumux-handbook.bib
Normal file
1
doc/handbook/dumux-handbook.bib
Normal file
@ -0,0 +1 @@
|
||||
|
88
doc/handbook/dumux-handbook.tex
Normal file
88
doc/handbook/dumux-handbook.tex
Normal file
@ -0,0 +1,88 @@
|
||||
\documentclass[11pt,a4paper,headinclude,footinclude,DIV16,normalheadings]{scrreprt}
|
||||
\usepackage[automark]{scrpage2}
|
||||
\usepackage[ansinew]{inputenc}
|
||||
\usepackage{amsmath}
|
||||
\usepackage{amsfonts}
|
||||
\usepackage{theorem}
|
||||
\usepackage{color}
|
||||
\usepackage{listings}
|
||||
\lstset{language=C++, basicstyle=\ttfamily,
|
||||
keywordstyle=\color{black}\bfseries, tabsize=4, stringstyle=\ttfamily,
|
||||
commentstyle=\it, extendedchars=true, escapeinside={/*@}{@*/}}
|
||||
\usepackage{hyperref}
|
||||
\usepackage{psfrag}
|
||||
\usepackage{makeidx}
|
||||
\usepackage{graphicx}
|
||||
|
||||
\DeclareGraphicsExtensions{.eps, .jpg}
|
||||
|
||||
\newcommand{\Dune}{{\sf\bfseries DUNE}}
|
||||
\newcommand{\Dumux}{DuMu$^\text{x}$ }
|
||||
|
||||
%The theorems
|
||||
\theorembodyfont{\upshape}
|
||||
\theoremheaderfont{\sffamily\bfseries}
|
||||
\newtheorem{exc}{Exercise}[chapter]
|
||||
\newtheorem{rem}[exc]{Remark}
|
||||
\newtheorem{lst}{Listing}
|
||||
\newtheorem{warn}[exc]{Warning}
|
||||
|
||||
\pagestyle{scrheadings}
|
||||
|
||||
\title{\Dumux Handbook}
|
||||
|
||||
\author{}
|
||||
|
||||
\date{\today}
|
||||
|
||||
\publishers{%
|
||||
\vspace{10mm}
|
||||
{\normalsize Lehrstuhl f\"ur Hydromechanik und Hydrosystemmodellierung, \\
|
||||
Universit\"at Stuttgart, Paffenwaldring 61, D-70569 Stuttgart, Germany}\\
|
||||
%
|
||||
\bigskip
|
||||
{\normalsize \texttt{\url{http://www.dumux.uni-stuttgart.de}}}\\
|
||||
}
|
||||
|
||||
\makeindex
|
||||
|
||||
\begin{document}
|
||||
|
||||
\maketitle
|
||||
|
||||
\begin{abstract}
|
||||
|
||||
\end{abstract}
|
||||
|
||||
\tableofcontents
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\chapter{Introduction}
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\chapter{Getting started}
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
|
||||
\begin{lst}[File dune-mux/test/twophase/test\_twophase.cc] \mbox{}
|
||||
\lstinputlisting[basicstyle=\ttfamily\scriptsize,numbers=left,
|
||||
numberstyle=\tiny, numbersep=5pt]{../../test/twophase/test_twophase.cc}
|
||||
\end{lst}
|
||||
|
||||
In line \ref{tp:material}, the material law to be used is specified.
|
||||
|
||||
|
||||
\bibliographystyle{plain}
|
||||
\bibliography{dumux-handbook}
|
||||
|
||||
\printindex
|
||||
|
||||
\end{document}
|
3
doc/handbook/navigation.wml
Normal file
3
doc/handbook/navigation.wml
Normal file
@ -0,0 +1,3 @@
|
||||
\HCode{
|
||||
#use wml::layout::navigation
|
||||
}
|
Loading…
Reference in New Issue
Block a user