commit 2e3e599c10ff71550ea323dc5d1a7b9a86fb04bd
parent 7394876c00fe2230bb855621da3aa936ddd35baf
Author: Anders Damsgaard Christensen <adc@geo.au.dk>
Date: Tue, 19 Apr 2016 16:04:13 -0700
add outline for documentation of methods
Diffstat:
4 files changed, 116 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -23,6 +23,9 @@ example: example.o $(ESSENTIALOBJS)
test:
make -C tests/
+doc/doc.pdf:
+ make -C doc/
+
debug: $(BIN)
@gdb $<
@@ -32,3 +35,4 @@ clean:
@$(RM) *.o
@$(RM) $(SRCFOLDER)/*.o
@make -C tests clean
+ @make -C doc clean
diff --git a/doc/Makefile b/doc/Makefile
@@ -0,0 +1,43 @@
+NAME=doc
+
+#$(NAME).pdf: $(NAME).tex
+# pdflatex $(NAME).tex
+# pdflatex $(NAME).tex
+
+$(NAME).pdf: $(NAME).tex
+ pdflatex $(NAME)
+ bibtex $(NAME)
+ pdflatex $(NAME)
+ pdflatex $(NAME)
+
+view: $(NAME).pdf
+ xdg-open $< &
+
+clean:
+ @$(RM) $(NAME).pdf
+ @$(RM) *.aux
+ @$(RM) $(NAME).glo
+ @$(RM) $(NAME).idx
+ @$(RM) $(NAME).log
+ @$(RM) $(NAME).toc
+ @$(RM) $(NAME).ist
+ @$(RM) $(NAME).acn
+ @$(RM) $(NAME).acr
+ @$(RM) $(NAME).alg
+ @$(RM) $(NAME).bbl
+ @$(RM) $(NAME).blg
+ @$(RM) $(NAME).dvi
+ @$(RM) $(NAME).glg
+ @$(RM) $(NAME).gls
+ @$(RM) $(NAME).ilg
+ @$(RM) $(NAME).ind
+ @$(RM) $(NAME).lof
+ @$(RM) $(NAME).lot
+ @$(RM) $(NAME).maf
+ @$(RM) $(NAME).mtc
+ @$(RM) $(NAME).mtc1
+ @$(RM) $(NAME).out
+ @$(RM) $(NAME).synctex.gz
+ @$(RM) $(NAME).fdb_latexmk
+ @$(RM) $(NAME).fls
+ @$(RM) $(NAME).xdy
diff --git a/doc/doc.pdf b/doc/doc.pdf
Binary files differ.
diff --git a/doc/doc.tex b/doc/doc.tex
@@ -0,0 +1,69 @@
+\documentclass[11pt]{article}
+
+\usepackage{a4wide}
+
+%\usepackage[german, english]{babel}
+%\usepackage{tabularx}
+%\usepackage{cancel}
+%\usepackage{multirow}
+%\usepackage{supertabular}
+%\usepackage{algorithmic}
+%\usepackage{algorithm}
+%\usepackage{amsthm}
+%\usepackage{float}
+%\usepackage{subfig}
+%\usepackage{rotating}
+%\usepackage{amsmath}
+
+\usepackage[T1]{fontenc} % Font encoding
+\usepackage{charter} % Serif body font
+\usepackage[charter]{mathdesign} % Math font
+\usepackage[scale=0.9]{sourcecodepro} % Monospaced fontenc
+\usepackage[lf]{FiraSans} % Sans-serif font
+
+\usepackage{listings}
+
+\usepackage{hyperref}
+
+\usepackage{soul} % for st strikethrough command
+
+%\usepackage[round]{natbib}
+\usepackage[natbib=true, style=authoryear, bibstyle=authoryear-comp,
+maxbibnames=10,
+maxcitenames=2, backend=bibtex8]{biblatex}
+\bibliography{/home/ad/articles/own/BIBnew.bib}
+
+
+\begin{document}
+
+\title{Lagrangian model of the elastic, viscous and plastic deformation of a
+ series of bonded points moving on a frictional surface}
+
+\author{Anders Damsgaard}
+\date{{\small Institute of Geophysics and Planetary Physics\\Scripps Institution
+of Oceanography\\University of California, San Diego}\\[3mm] Last revision:
+\today}
+
+\maketitle
+
+
+\section{Methods}
+Incremental method, derived from \citet{Potyondy2004}.
+
+\subsection{Bond tension and compression}
+
+\subsection{Bond shear}
+
+\subsection{Bond twist}
+
+\subsection{Bond bend}
+
+
+
+
+
+
+
+\printbibliography{}
+
+\end{document}