ViewVC logotype

Contents of /trunk/doc/cookbook/escpybas.tex

Parent Directory Parent Directory | Revision Log Revision Log

Revision 6651 - (show annotations)
Wed Feb 7 02:12:08 2018 UTC (2 years, 11 months ago) by jfenwick
File MIME type: application/x-tex
File size: 2989 byte(s)
Make everyone sad by touching all the files

Copyright dates update

2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 % Copyright (c) 2003-2018 by The University of Queensland
4 % http://www.uq.edu.au
5 %
6 % Primary Business: Queensland, Australia
7 % Licensed under the Apache License, version 2.0
8 % http://www.apache.org/licenses/LICENSE-2.0
9 %
10 % Development until 2012 by Earth Systems Science Computational Center (ESSCC)
11 % Development 2012-2013 by School of Earth Sciences
12 % Development from 2014 by Centre for Geoscience Computing (GeoComp)
13 %
14 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
16 \section{Escript and Python Basics} \label{sec:escpybas}
18 The \pyt scripting language is a powerful and easy to learn environment with a wide variety of applications. \esc has been developed as a packaged module for \pyt specifically to solve complex partial differential equations. As a result, all the conventions and programming syntax associated with \pyt are coherent with \esc. If you are unfamiliar with \pyt, there are a large number of simple to advanced guides and tutorials available online. These texts should provide an introduction that is comprehensive enough to use \esc. A handful of \pyt tutorials are listed below.
19 \begin{itemize}
20 \item \url{http://hetland.org/writing/instant-python.html} is a very crisp introduction. It covers everything you need to get started with \esc.
21 \item A nice and easy to follow introduction: \url{http://www.sthurlow.com/python/}
22 \item Another crisp tutorial: \url{http://www.zetcode.com/tutorials/pythontutorial/}.
23 \item A very comprehensive tutorial from the \pyt authors: \url{http://www.python.org/doc/2.5.2/tut/tut.html}. It covers much more than what you will ever need for \esc.
24 \item Another comprehensive tutorial: \url{http://www.tutorialspoint.com/python/index.htm}
25 \end{itemize}
27 \subsection{The \modesys Modules}
28 \esc is part of the \esys package.
29 Apart from the particle simulation library
30 \verb|ESyS-Particle|\footnote{see \url{https://launchpad.net/esys-particle}} which is not covered
31 in this tutorial \esys also includes the following modules
32 \begin{enumerate}
33 \item \modescript is the PDE solving module.
34 \item \modfinley is the discretisation tool and finite element package.
35 \item \modpycad is a package for creating irregular shaped domains.
36 \end{enumerate}
37 Further explanations of each of these are available in the \esc user guide or in the API documentation\footnote{Available from \url{https://launchpad.net/escript-finley/+download}}.
38 \esc is also dependent on a few other open-source packages which are not maintained by the \esc development team. These are \modnumpy (an array and matrix handling package), \modmpl \footnote{\modnumpy and \modmpl are part of the SciPy package, see \url{http://www.scipy.org/}} (a simple plotting tool) and \verb gmsh \footnote{See \url{http://www.geuz.org/gmsh/}} (which is required by \modpycad). These packages (\textbf{except} for \verb gmsh ) are included with the support bundles.

  ViewVC Help
Powered by ViewVC 1.1.26