Changeset 2693


Ignore:
Timestamp:
Apr 11, 2006, 2:32:10 PM (19 years ago)
Author:
duncan
Message:

added mesh stuff to the user interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/user_manual/anuga_user_manual.tex

    r2680 r2693  
    907907the user specifies a list of boundary tags, one for each edge of the bounding
    908908polygon.
     909\end{funcdesc}
     910
     911
     912\begin{funcdesc}  {Mesh}{}
     913Module: \code{pmesh.mesh}
     914
     915% Translate following into layman's language
     916This function is used to create a Mesh instance.  This can then be
     917used to build the outline of the mesh and then generate the
     918mesh.
     919\end{funcdesc}
     920
     921
     922\begin{funcdesc}  {add_region_from_polygon}{self, polygon, tags=None,
     923                                max_triangle_area=None, geo_reference=None}
     924Module: \code{pmesh.mesh.Mesh}
     925
     926% Translate following into layman's language
     927This method is used to add a region to a Mesh instance.  The region is
     928described by the polygon passed in.  Additionally,
     929the user specifies a list of boundary tags, one for each edge of the bounding
     930polygon.
     931\end{funcdesc}
     932
     933\begin{funcdesc}  {add_hole_from_polygon}{self, polygon, tags=None,
     934    geo_reference=None}
     935Module: \code{pmesh.mesh.Mesh}
     936
     937% Translate following into layman's language
     938This method is used to add a region where the triagular mesh will not
     939be generated to a Mesh instance.  The region is
     940described by the polygon passed in.  Additionally,
     941the user specifies a list of boundary tags, one for each edge of the bounding
     942polygon.
     943\end{funcdesc}
     944
     945\begin{funcdesc}  {generate_mesh}{self,
     946                      maximum_triangle_area=None,
     947                      minimum_triangle_angle=28.0,
     948                      verbose=False}
     949Module: \code{pmesh.mesh.Mesh}
     950
     951% Translate following into layman's language
     952This method is used to generate the triagular mesh.  The  maximal area
     953of any triangle in the mesh can be specified, along with the minimum
     954angle of all triagles.
     955\end{funcdesc}
     956
     957
     958\begin{funcdesc}  {export_mesh_file}{self,ofile}
     959Module: \code{pmesh.mesh.Mesh}
     960
     961% Translate following into layman's language
     962This method is used to save the mesh to a file. \code{ofile} is the name of the mesh file to be writen,
     963including the extension.  Use the extension \code{.msh} for the file to
     964be in NetCDF format and \code{.tsh} for the file to be ASCII format.
    909965\end{funcdesc}
    910966
Note: See TracChangeset for help on using the changeset viewer.