20 |
\item information on plotting depending on path chosen, |
\item information on plotting depending on path chosen, |
21 |
\end{enumerate} |
\end{enumerate} |
22 |
|
|
23 |
The Python scripting language is a powerful and easy to learn tool with a wide variety of applications. \ESCRIPT.has been developed as a packaged module for Python specifically to solve complex partial differential equations. As a result, all the conventions and programming syntaxes associated with Python are coherrent with \ESCRIPT. If you are unfamiliar with Python there are a large number of simple to advanced guides and tutorials availabe which provide a good introduction. These should enable you to understand both this cookbook and the guide for \ESCRIPT. Some of these python tutorials are, for instance |
The Python scripting language is a powerful and easy to learn environment with a wide variety of applications. \textit{Escript} has been developed as a packaged module for Python specifically to solve complex partial differential equations. As a result, all the conventions and programming syntaxes associated with Python are coherrent with \ESCRIPT. If you are unfamiliar with Python, 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 \ESCRIPT. A handful of python tutorials have been listed below. |
24 |
\begin{itemize} |
\begin{itemize} |
25 |
\item This is a very crisp introduction \url{http://hetland.org/writing/instant-python.html}. It covers everthing you need to get started with \ESCRIPT. |
\item This is a very crisp introduction \url{http://hetland.org/writing/instant-python.html}. It covers everthing you need to get started with \ESCRIPT. |
26 |
\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/} |
29 |
\item Another comprehensive tutorial: \url{http://www.tutorialspoint.com/python/index.htm} |
\item Another comprehensive tutorial: \url{http://www.tutorialspoint.com/python/index.htm} |
30 |
\end{itemize} |
\end{itemize} |
31 |
|
|
32 |
|
\subsection{The \modesys Library Tree} |
33 |
The \verb esys library tree has \textbf{3} main modules.\verb escript , \verb finley and \verb pycad . |
The \verb esys library tree has \textbf{3} main modules.\verb escript , \verb finley and \verb pycad . |
34 |
\begin{enumerate} |
\begin{enumerate} |
35 |
\item \verb escript is the PDE solving module. |
\item \modescript is the PDE solving module. |
36 |
\item \verb finley is the discretisation tool and is the finite element package. |
\item \modfinley is the discretisation tool and is the finite element package. |
37 |
\item \verb pycad is a special development for creating irregular domains and models. |
\item \modpycad is a special development for creating irregular domains and models. |
38 |
\end{enumerate} |
\end{enumerate} |
39 |
Further explanations on each of these is available in the user guide. \ESCRIPT is also dependent on a few other open-source packages. These are \verb numpy an array and matrix handling package, \verb matplotlib a simple plotting and visualisation tool, \verb vtk the advanced plotting and visualisation package and ...... |
Further explanations on each of these is available in the user guide. \ESCRIPT is also dependent on a few other open-source packages which are not maintained by the \ESCRIPT developers. These are \modnumpy an array and matrix handling package, \modmpl a simple plotting and visualisation tool, \modvtk the advanced plotting and visualisation package and ...... These packages are included with the binary release but may not be the most recent and up to date. |
40 |
|
|
41 |
|
\begin{tabular}{l l l} |
42 |
|
esys. & finley. &\\ |
43 |
|
& escript. &\\ |
44 |
|
\end{tabular} |
45 |
|
|
46 |
|
|
47 |
|
|
48 |
\subsection{File Commands and Opperations in \ESCRIPT} |
\subsection{File Commands and Opperations in \ESCRIPT} |
49 |
A number of common file opperations and commands are used throughout this cookbook. It is often advantageous to implement these commands when large numbers of output files are generated or dependencies are located in other locations. |
A number of common file opperations and commands are used throughout this cookbook. It is often advantageous to implement these commands when large numbers of output files are generated or dependencies are located in other locations. |