1 

2 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
3 
% Copyright (c) 20032012 by University of Queensland 
4 
% http://www.uq.edu.au 
5 
% 
6 
% Primary Business: Queensland, Australia 
7 
% Licensed under the Open Software License version 3.0 
8 
% http://www.opensource.org/licenses/osl3.0.php 
9 
% 
10 
% Development until 2012 by Earth Systems Science Computational Center (ESSCC) 
11 
% Development since 2012 by School of Earth Sciences 
12 
% 
13 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
14 

15 
\documentclass{esysdoc} 
16 
%%% Table of contents to list down to subsections and no further 
17 
\setcounter{tocdepth}{3} 
18 
%%% Number down to subsubsections only 
19 
\setcounter{secnumdepth}{3} 
20 
% grab the handy definitions and \usepackage statements etc 
21 
\input{cookbook_defs} 
22 
\usepackage{upquote} %used to precent LaTeX from mucking up ' 
23 

24 

25 
\ifpdf 
26 
\pdfinfo { 
27 
/Author (Antony Hallam and Lutz Gross) 
28 
/Title (esysEscript COOKBOOK) 
29 
/Keywords (escript, PDEs) 
30 
} 
31 
\fi 
32 

33 

34 
% title, author, etc stuff 
35 
\title{The \textit{escript} COOKBOOK} 
36 

37 

38 

39 
\author{Antony Hallam, Lutz Gross, et al.} 
40 
\authoraddress{ 
41 
Earth Systems Science Computational Centre (ESSCC) \\ 
42 
School of Earth Sciences \\ 
43 
The University of Queensland \\ 
44 
Brisbane, Australia \\ 
45 
Email: \email{esys@esscc.uq.edu.au} 
46 
} 
47 
\date{\today} 
48 
% \release{development} 
49 
% \setreleaseinfo{\\(r\RepVersion)} 
50 
% \setshortversion{} 
51 

52 
\makeindex 
53 

54 
\begin{document} 
55 

56 
\maketitle 
57 

58 
% This must come after maketitle or you'll get latex in the pdf title 
59 
\ifpdf 
60 
\pdfinfo { 
61 
/Author (Antony Hallam and Lutz Gross) 
62 
/Title (escript COOKBOOK) 
63 
/Keywords (escript, PDEs) 
64 
} 
65 
\fi 
66 

67 
\input{copyrights} 
68 

69 
\begin{abstract} 
70 
\esc is a \pyt based environment that has been developed to solve complex mathematical models, particularly coupled, nonlinear and timedependent partial differential equations. The intention of this cookbook is to introduce new users to \esc and provide a set of examples which demonstrate the major concepts and can be adapted to new problems. Although most of the examples in this cookbook are focused on the disciplines of geophysics and geology, they provide a solid introduction to \esc and its capabilities. 
71 
\end{abstract} 
72 
\input{currentdev} 
73 

74 
\cleardoublepage\pdfbookmark[0]{Contents}{contents}% 
75 
\tableofcontents 
76 

77 
\newpage 
78 

79 
\chapter{Introduction} 
80 
\label{CHAP INTRO} 
81 
\input{intro} 
82 
% % % % 
83 
\chapter{Getting Started with Heat Diffusion} 
84 
\label{CHAP HEAT DIFF} 
85 
We start by examining a simple one dimensional heat diffusion equation. This 
86 
problem provides a good starting example to build our knowledge of \esc and 
87 
demonstrate how to solve simple partial differential equations 
88 
(PDEs)\footnote{Wikipedia provides an excellent and comprehensive 
89 
introduction to \textit{Partial Differential Equations} 
90 
\url{http://en.wikipedia.org/wiki/Partial_differential_equation}, however 
91 
their relevance to \esc and implementation should become much clearer as we 
92 
develop our understanding further into the cookbook.} 
93 
\input{example01} 
94 
\input{example02} 
95 
% % % 
96 
\chapter{Heat Diffusion in Two Dimensions} 
97 
\label{CHAP HEAT 2a} 
98 
\input{example03} 
99 
% % % % 
100 
\chapter{Complex Geometries} 
101 
\label{CHAP HEAT 2} 
102 
\input{example04} 
103 
\input{example05} 
104 
% % % % 
105 
% Moving into 2D and 3D wave propagations in next chapters. 
106 
% not part of release 3.1 
107 
\chapter{Acoustic Wave Propagation} 
108 
\input{example07} %acoustic wave equation 
109 
% 
110 
\chapter{Seismic Wave Propagation} 
111 
\input{example08} 
112 

113 
\chapter{3D Seismic Wave Propagation} 
114 
\input{example09} 
115 

116 
\chapter{Potential Fields  Newtonian Gravitation} 
117 
\input{example10} 
118 
% 
119 
\chapter{Potential Fields  Electrical Resistivity} 
120 
\input{example11} 
121 

122 

123 
\bibliography{cookbook} 
124 
\bibliographystyle{plainnat} 
125 

126 
\appendix 
127 
%\include{einsteinETA} 
128 
\printindex 
129 
\end{document} 