/[escript]/trunk/doc/cookbook/escpybas.tex
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2956 by artak, Tue Feb 23 01:49:27 2010 UTC revision 2957 by artak, Tue Mar 2 01:28:19 2010 UTC
# Line 13  Line 13 
13    
14  \section{Escript and Python Basics} \label{sec:escpybas}  \section{Escript and Python Basics} \label{sec:escpybas}
15    
16  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 coherrent with \esc. If you are unfamiliar with \pyt, there are a large number of simple to advanced guides and tutorials availabe online. These texts should provide an introduction that is comprehensive enough for the use of \esc. A handful of \pyt tutorials have been listed below.  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 coherrent 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.
17  \begin{itemize}  \begin{itemize}
18  \item This is a very crisp introduction \url{http://hetland.org/writing/instant-python.html}. It covers everthing you need to get started with \esc.  \item \url{http://hetland.org/writing/instant-python.html} is a very crisp introduction. It covers everything you need to get started with \esc.
19  \item A nice and easy to follow introduction: \url{http://www.sthurlow.com/python/}  \item A nice and easy to follow introduction: \url{http://www.sthurlow.com/python/}
20  \item Another crisp tutorial \url{http://www.zetcode.com/tutorials/pythontutorial/}.  \item Another crisp tutorial: \url{http://www.zetcode.com/tutorials/pythontutorial/}.
21   \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.   \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.
22  \item Another comprehensive tutorial: \url{http://www.tutorialspoint.com/python/index.htm}  \item Another comprehensive tutorial: \url{http://www.tutorialspoint.com/python/index.htm}
23  \end{itemize}  \end{itemize}
24    
25  \subsection{The \modesys Modules}  \subsection{The \modesys Modules}
26  \esc is part of the \esys package.  \esc is part of the \esys package.
27  Besides the particle simualation code  Apart from the particle simulation library
28  \verb|ESyS-Particle|\footnote{see \url{https://launchpad.net/esys-particle}} which is not covered  \verb|ESyS-Particle|\footnote{see \url{https://launchpad.net/esys-particle}} which is not covered
29  in this tutorial \esys includes the following modules  in this tutorial \esys also includes the following modules
30  \begin{enumerate}  \begin{enumerate}
31  \item \modescript is the PDE solving module.  \item \modescript is the PDE solving module.
32  \item \modfinley is the discretisation tool and finite element package.  \item \modfinley is the discretisation tool and finite element package.
33  \item \modpycad  is a special development for creating irregular shaped domains.  \item \modpycad  is a package for creating irregular shaped domains.
34  \end{enumerate}  \end{enumerate}
35  Further explanations on each of these is available in the \esc user guide or in the API documentation\footnote{Available from \url{https://launchpad.net/escript-finley/+download}}.  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}}.
36  \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.  \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.
37    

Legend:
Removed from v.2956  
changed lines
  Added in v.2957

  ViewVC Help
Powered by ViewVC 1.1.26