Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

## Diff of /doc/doc.tex[ab8377] .. [3f3db1] Maximize Restore

### Switch to side-by-side view

--- a/doc/doc.tex
+++ b/doc/doc.tex
@@ -118,10 +118,12 @@
\url{http://octave.sourceforge.net/fem-fenics/overview.html}
\end{center}
and if you would like to contribute to the project or give a look to the source code
-you can clone it from the following repository using mercurial
+you can clone it from the following repository using Mercurial
\begin{center}
\url{http://sourceforge.net/p/octave/fem-fenics/} .
\end{center}
+The pkg is provided with an example function \texttt{femfenics\_examples}
+which allows the user to select and run one of the examples provided with the pkg.

\chapter{Introduction to Fem-fenics}\label{intr}

@@ -1038,8 +1040,8 @@
because it is assembled copying element-by-element the values contained in the input vector.

\subsection{Sparse Matrices}
-The \texttt{assemble} function discretize the continuos problem and
-return a sparse matrix. To deal with problems of big size, they are stored
+The \texttt{assemble} function discretizes the continuos problem and
+returns a matrix. To deal with problems of big size, the matrices are stored
using a compressed technique \cite{Formaggia_matr} both in DOLFIN and in Octave.
Unfortunately, DOLFIN uses row major orientation while Octave uses
column major orientation. They have thus to be converted efficiently from
@@ -1183,7 +1185,7 @@
In this chapter more examples are provided.
At the beginning of each section, the problem is briefly presented and then
the Octave script for the resolution of the problem using Fem-fenics is presented alongside the code
-written in C++ and/or the Python.
+written in C++ or in Python.
For each problem, we refer the reader to the complete desciption on the FEniCS website.
\iffalse
In the following examples we can see directly in action the classes and the functions presented in the
@@ -1206,7 +1208,7 @@
\fi
\section{Mixed Formulation for the Poisson Equation}
In this example the Poisson equation is solved with a
-''mixed approach'': it is usedthe stable FE space obtained using Brezzi-Douglas-Marini
+''mixed approach'': it is used the stable FE space obtained using Brezzi-Douglas-Marini
polynomial of order 1 and Dicontinuos element of order 0.
\begin{align*}
-\mathrm{div}\ ( \mathbf{\sigma} (x, y) ) ) &= f (x, y) & \quad \mbox{ in } \Omega \\
@@ -1664,7 +1666,7 @@
\end{changemargin}

\section{HyperElasticity}
-This time we compare the code with the c++ version of DOLFIN.
+This time we compare the code with the C++ version of DOLFIN.
The problem for an elastic material can be expressed as a minimization problem
\begin{align*}
\min_{u \in V} \Pi\\
@@ -1675,7 +1677,7 @@
is a traction force.

A complete description of the problem is avilable on the Fenics website \cite{hyperelasticity}.
-The final solution will look like in figure \ref{Hyp}.
+The final solution will look like figure \ref{Hyp}.
\begin{figure}
\begin{center}
\includegraphics[height=6 cm,keepaspectratio=true]{./HyperElasticity.png}