Changeset 3114
- Timestamp:
- Jun 8, 2006, 12:18:34 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/user_manual/anuga_user_manual.tex
r3111 r3114 2643 2643 you need a fine mesh over regions where the DEM changes rapidly, and other areas of significant interest, such as the coast. 2644 2644 2645 2646 \subsubsection{How do I tag interior polygons?} 2647 At the moment create_mesh_from_regions does not allow interior polygons 2648 with symbolict tags. If tags are needed, the interior polygons must be 2649 created subsequently. For example, given a filename of polygons representing 2650 solid walls (in Arc Ungenerate format) can be tagged as such using the code 2651 snippet: 2652 \begin{verbatim} 2653 # Create mesh outline with tags 2654 mesh = create_mesh_from_regions(bounding_polygon, 2655 boundary_tags=boundary_tags) 2656 # Add buildings outlines with tags set to 'wall'. This would typically 2657 # bind to a Reflective boundary 2658 mesh.import_ungenerate_file(buildings_filename, tag='wall') 2659 2660 # Generate and write mesh to file 2661 mesh.generate_mesh(maximum_triangle_area=max_area) 2662 mesh.export_mesh_file(mesh_filename) 2663 \end{verbatim} 2664 2665 Note that a mesh object is returned from \code{create_mesh_from_regions} 2666 when file name is omitted. 2667 2645 2668 \subsubsection{How often should I store the output?} 2646 2669 This will depend on what you are trying to answer with your model and how much memory you have available on your machine. If you need
Note: See TracChangeset
for help on using the changeset viewer.