Changeset 2861


Ignore:
Timestamp:
May 12, 2006, 4:36:52 PM (18 years ago)
Author:
howard
Message:

Further additions to section 3.1 describing how meshes are stored

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/user_manual/anuga_user_manual.tex

    r2859 r2861  
    286286very simple case, not directly related to the example at hand.
    287287Figure \ref{fig:simplemesh} represents a very simple mesh comprising
    288 just five points and three triangles. (To avoid confusion, we should
     288just 11 points and three triangles. (To avoid confusion, we should
    289289emphasise that this particular mesh is \emph{not} generated by
    290290\code{rectangular}---and is not even rectangular in nature. )
    291291
    292 \begin{figure}[hbt]
    293 
    294   \includegraphics[width=95mm, height=95mm]{triangularmesh}
     292\begin{center}
     293\begin{figure}[h]
     294
     295  \includegraphics[width=95mm, height=95mm]{triangularmesh.eps}
    295296
    296297  \caption{A simple mesh}
    297298  \label{fig:simplemesh}
    298299\end{figure}
     300\end{center}
    299301
    300302The variables \code{points}, \code{vertices} and \code{boundary}
     
    305307%\medskip \code{points}
    306308
    307 \begin{tabular}{|c|cc|} \hline
    308 $index$ & \code{x} & \code{y}\\  \hline
    309 0 & 0.5 & 0.5\\
    310 1 & 0.7 & 1\\
    311 2 & 0 & 2\\
    312 3 & 1 & 0\\
    313 4 & 1.2 & 2\\  \hline
     309\begin{center}
     310\begin{tabular}[t]{|c|cc|} \hline
     311$index$ & $x$ & $y$\\  \hline
     3120 & 1 & 1\\
     3131 & 4 & 2\\
     3142 & 8 & 1\\
     3153 & 1 & 3\\
     3164 & 5 & 5\\
     3175 & 8 & 6\\
     3186 & 11 & 5\\
     3197 & 3 & 6\\
     3208 & 1 & 8\\
     3219 & 4 & 9\\
     32210 & 10 & 7\\  \hline
    314323\end{tabular}
     324\end{center}
    315325
    316326The list \code{vertices} specifies the triangles that make up the
     
    324334%\code{vertices} \nopagebreak
    325335
     336\begin{center}
    326337\begin{tabular}{|c|ccc|} \hline
    327338$index$ & \multicolumn{3}{c|}{\code{vertices}}\\ \hline
    328 0 & 1 & 2 & 0\\
    329 1 & 1 & 0 & 3\\
    330 2 & 4 & 1 & 3\\ \hline
     3390 & 0 & 1 & 3\\
     3401 & 1 & 2 & 4\\
     3412 & 2 & 5 & 4\\
     3423 & 2 & 6 & 5\\
     3434 & 4 & 5 & 9\\
     3445 & 4 & 9 & 7\\
     3456 & 3 & 4 & 7\\
     3467 & 7 & 9 & 8\\
     3478 & 1 & 4 & 3\\
     3489 & 5 & 10 & 9\\  \hline
    331349\end{tabular}
     350\end{center}
    332351
    333352Finally, the variable \code{boundary} identifies the boundary
    334 triangles and associates a tag with each, according to this scheme:
     353triangles and associates a tag with each.
    335354
    336355
Note: See TracChangeset for help on using the changeset viewer.