Changeset 4101
- Timestamp:
- Dec 20, 2006, 9:28:37 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/documentation/user_manual/anuga_user_manual.tex
r4088 r4101 1021 1021 {\small \begin{verbatim} 1022 1022 remainder_res = 10000000 1023 _ = cache(create_mesh_from_regions, 1024 project.polyAll, 1025 {'boundary_tags': {'top': [0], 'ocean_east': [1], 1026 'bottom': [2], 'onshore': [3]}, 1027 'maximum_triangle_area': remainder_res, 1028 'filename': meshname, 1029 'interior_regions': interior_regions}, 1030 verbose = True, evaluate=False) 1023 create_mesh_from_regions(project.bounding_polygon, 1024 boundary_tags={'top': [0], 1025 'ocean_east': [1], 1026 'bottom': [2], 1027 'onshore': [3]}, 1028 maximum_triangle_area=remainder_res, 1029 filename=meshname, 1030 interior_regions=interior_regions, 1031 use_cache=True, 1032 verbose=True) 1031 1033 \end{verbatim}} 1032 1033 1034 is then used to create the mesh, taking the bounding polygon to be 1034 the polygon \code{ polyAll} specified in \file{project.py}.1035 the polygon \code{bounding\_polygon} specified in \file{project.py}. 1035 1036 The argument \code{boundary\_tags} assigns a dictionary, whose keys 1036 1037 are the names of the boundary tags used for the bounding
Note: See TracChangeset
for help on using the changeset viewer.