# Diff of /trunk/doc/user/firststep.tex

revision 3278 by caltinay, Fri Oct 15 02:00:45 2010 UTC revision 3279 by caltinay, Fri Oct 15 04:02:06 2010 UTC
# Line 31  is the unit square Line 31  is the unit square
31
32  The domain is shown in \fig{fig:FirstSteps.1}.  The domain is shown in \fig{fig:FirstSteps.1}.
33  \begin{figure}[ht]  \begin{figure}[ht]
34      \centerline{\includegraphics{figures/FirstStepDomain}}      \centerline{\includegraphics{FirstStepDomain}}
35      \caption{Domain $\Omega=[0,1]^2$ with outer normal field $n$.}      \caption{Domain $\Omega=[0,1]^2$ with outer normal field $n$.}
36      \label{fig:FirstSteps.1}      \label{fig:FirstSteps.1}
37  \end{figure}  \end{figure}
# Line 122  problem\index{boundary value problem} (B Line 122  problem\index{boundary value problem} (B
122  for the unknown function~$u$.  for the unknown function~$u$.
123
124  \begin{figure}[ht]  \begin{figure}[ht]
125      \centerline{\includegraphics{figures/FirstStepMesh}}      \centerline{\includegraphics{FirstStepMesh}}
126      \caption{Mesh of $4 \times 4$ elements on a rectangular domain. Here      \caption{Mesh of $4 \times 4$ elements on a rectangular domain. Here
127      each element is a quadrilateral and described by four nodes, namely      each element is a quadrilateral and described by four nodes, namely
128      the corner points. The solution is interpolated by a bi-linear      the corner points. The solution is interpolated by a bi-linear
# Line 362  Alternatively, one can use Line 362  Alternatively, one can use
362  which gives an interactive browser window.  which gives an interactive browser window.
363
364  \begin{figure}  \begin{figure}
365  \centerline{\includegraphics[width=\figwidth]{figures/FirstStepResultMATPLOTLIB}}  \centerline{\includegraphics[width=\figwidth]{FirstStepResultMATPLOTLIB}}
366  \caption{Visualization of the Poisson Equation Solution for $f=1$ using \MATPLOTLIB}  \caption{Visualization of the Poisson Equation Solution for $f=1$ using \MATPLOTLIB}
367  \label{fig:FirstSteps.3b}  \label{fig:FirstSteps.3b}
368  \end{figure}  \end{figure}
# Line 410  safe under \MPI\footnote{The phrase 'saf Line 410  safe under \MPI\footnote{The phrase 'saf
410  will produce correct results when run on more than one processor under \MPI.}.  will produce correct results when run on more than one processor under \MPI.}.
411
412  \begin{figure}  \begin{figure}
413  \centerline{\includegraphics[width=\figwidth]{figures/FirstStepResult}}  \centerline{\includegraphics[width=\figwidth]{FirstStepResult}}
414  \caption{Visualization of the Poisson Equation Solution for $f=1$}  \caption{Visualization of the Poisson Equation Solution for $f=1$}
415  \label{fig:FirstSteps.3}  \label{fig:FirstSteps.3}
416  \end{figure}  \end{figure}
# Line 452  The entire code is available as \file{po Line 452  The entire code is available as \file{po
452  You can run the script using the {\it escript} environment and visualize the  You can run the script using the {\it escript} environment and visualize the
453  solution using \mayavi:  solution using \mayavi:
454  \begin{verbatim}  \begin{verbatim}
455  run-escript poisson_VTK.py  run-escript poisson_vtk.py
456  mayavi2 -d u.vtu -m SurfaceMap  mayavi2 -d u.vtu -m SurfaceMap
457  \end{verbatim}  \end{verbatim}
458  The result is shown in \fig{fig:FirstSteps.3}.  The result is shown in \fig{fig:FirstSteps.3}.

Legend:
 Removed from v.3278 changed lines Added in v.3279