Changeset 3076


Ignore:
Timestamp:
Jun 5, 2006, 12:40:52 PM (18 years ago)
Author:
howard
Message:

Added material on class Mesh to chap 4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/user_manual/anuga_user_manual.tex

    r3070 r3076  
    8383
    8484\begin{abstract}
    85 \label{abstract}
     85\label{def:anuga}
    8686
    8787\noindent \anuga\index{\anuga} is a hydrodynamic modelling tool that
     
    147147requirements, as described in this manual, and to understand the
    148148basic terminology of object-oriented programming.
    149 
    150 \section{Structure of This Manual}
    151 
    152 FIXME (Ole): Isn't this superseded by the contents section?
    153 
    154 This manual is structured as follows:
    155 
    156 \begin{itemize}
    157   \item Background (What \anuga does)
    158   \item A \emph{Getting Started} section
    159   \item A detailed description of the public interface
    160   \item \anuga 's overall architecture, components and file formats
    161   \item Assumptions
    162 \end{itemize}
    163 
    164149
    165150\pagebreak
     
    10681053\section{Mesh Generation}
    10691054\refmodindex[pmesh.meshinterface]{pmesh.mesh\_interface}\label{sec:meshgeneration}
     1055
     1056\begin{classdesc}  {Mesh}{userSegments=None,
     1057                 userVertices=None,
     1058                 holes=None,
     1059                 regions=None,
     1060                 geo_reference=None}
     1061Module: \module{pmesh.mesh}
     1062
     1063A class used to store a representation of a two-dimensional
     1064triangular mesh. The user may initialise the class by specifying
     1065lists of segments and/or vertices, using the parameters
     1066\code{userSegments} and \code{userVertices}, and may also specify
     1067lists of regions and/or holes, using the parameters \code{regions}
     1068and \code{holes}.
     1069\end{classdesc}
     1070
    10701071\begin{funcdesc}  {create\_mesh\_from\_regions}{bounding_polygon,
    10711072                             boundary_tags,
     
    10891090
    10901091
    1091 \begin{funcdesc}  {Mesh}{userSegments=None,
    1092                  userVertices=None,
    1093                  holes=None,
    1094                  regions=None,
    1095                  geo_reference=None}
    1096 Module: \module{pmesh.mesh}
    1097 
    1098 % Translate following into layman's language
    1099 An instance of the class \class{Mesh} is used to store .  This can
    1100 then be used to build the outline of the mesh and then generate the
    1101 mesh.
     1092\begin{funcdesc} {add_region}{}
     1093
     1094\end{funcdesc}
     1095
     1096\begin{funcdesc} {add_hole}{}
     1097
    11021098\end{funcdesc}
    11031099
     
    11051101\begin{funcdesc}  {add_region_from_polygon}{self, polygon, tags=None,
    11061102                                max_triangle_area=None, geo_reference=None}
    1107 Module: \module{pmesh.mesh.Mesh}
     1103Module: \module{pmesh.mesh}  Class: \class{Mesh}
    11081104
    11091105% Translate following into layman's language
     
    11761172Module: \refmodule{pyvolution.domain}
    11771173
    1178 
     1174This class is used to create an instance of a data structure used to
     1175store and manipulate data associated with a mesh. The mesh is
     1176specified either by assigning the name of a meshfile to
     1177\code{source} or by
    11791178\end{classdesc}
    11801179
     
    21982197    file_name = None}
    21992198
     2199
     2200
    22002201Create instance from data points and associated attributes
    22012202
     
    23442345\chapter{Glossary}
    23452346
    2346 \begin{tabular}{|l|p{10cm}|c|}   \hline
     2347\begin{tabular}{|l p{10cm}| c|}  \hline
     2348    \emph{Term} & \emph{Definition} & \emph{Page}\\  \hline
     2349
    23472350    \indexedbold{\anuga} & Name of software (joint development between ANU and
    2348     GA) &\\
     2351    GA) & \pageref{def:anuga}\\
    23492352
    23502353    \indexedbold{domain} & The domain of a function is the set of all input values to the
     
    24032406    z) &\\
    24042407
    2405     \indexedbold{ymomentum}  & conserved quantity & \\ \hline
    2406 
    2407     \end{tabular}
    2408 
    2409     \begin{tabular}{|l|p{10cm}|c|}   \hline
     2408    \indexedbold{ymomentum}  & conserved quantity & \\
     2409
     2410
    24102411
    24112412    \indexedbold{resolution} &  The maximal area of a triangular cell in a
     
    24222423
    24232424    NOTE: More can be read in the module utilities/polygon.py .... &
    2424     \\
    2425 
     2425    \\  \hline
     2426
     2427    \end{tabular}
     2428
     2429    \begin{tabular}{|l p{10cm}|c|}   \hline
     2430
     2431    \emph{Term} & \emph{Definition} & \emph{Page}\\  \hline
    24262432    \indexedbold{easting} & A rectangular (x,y) coordinate measurement of distance east from a north-south reference line,
    24272433usually a meridian used as the axis of origin within a map zone or
Note: See TracChangeset for help on using the changeset viewer.