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