Changeset 3925
- Timestamp:
- Nov 7, 2006, 10:27:42 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/documentation/user_manual/anuga_user_manual.tex
r3924 r3925 644 644 645 645 \centerline{\includegraphics[width=75mm, height=75mm] 646 %{examples/runupstart.eps}} 647 {examples/bedslope_start.jpg}} 646 {examples/bedslopestart.jpg}} 648 647 649 648 \caption{Runup example viewed with Swollen} … … 655 654 656 655 \centerline{ 657 %\includegraphics[width=75mm, height=75mm]{examples/runupduring.eps} 658 %\includegraphics[width=75mm, height=75mm]{examples/runupend.eps} 659 \includegraphics[width=75mm, height=75mm]{examples/bedslope_during.jpg} 660 \includegraphics[width=75mm, height=75mm]{examples/bedslope_end.jpg} 656 \includegraphics[width=75mm, height=75mm]{examples/bedslopeduring.jpg} 657 \includegraphics[width=75mm, height=75mm]{examples/bedslopeend.jpg} 661 658 } 662 659 … … 895 892 Here is the code for \file{runcairns.py}: 896 893 897 \verbatiminput{../../demos/runca rins.py}894 \verbatiminput{../../demos/runcairns.py} 898 895 899 896 In discussing the details of this example, we follow the outline … … 973 970 \pageref{sec:file formats}) for more on file formats.) 974 971 975 The statements 972 Figure \ref{fig:cairns3d} illustrates the landscape of the region 973 for the Cairns example. Understanding the landscape is important in 974 determining the location and resolution of interior polygons. The 975 supporting data is found in the ASCII grid, \code{cairns.asc}, which 976 has been sourced from the publically available Australian Bathymetry 977 and Topography Grid 2005, \cite{grid250:grid250}. 978 979 \begin{figure}[hbt] 980 \centerline{\includegraphics[scale=0.5]{../../demos/cairns3.jpg}} 981 \caption{Landscape of the Cairns scenario.} 982 \label{fig:cairns3d} 983 984 \end{figure} 985 The following statements are used to read in the specific polygons 986 from \code{project.cairns} and assign a defined resolution to 987 each polygon. 976 988 977 989 {\small \begin{verbatim} … … 987 999 \end{verbatim}} 988 1000 989 are used to read in the specific polygons \code{project.cairns}, 990 \code{project.poly_island0}, 991 \code{project.poly_island1}, 992 \code{project.poly_island2}, 993 \code{project.poly_island3} and 994 \code{project.poly_shallow} from \file{project.py} and assign a 995 defined resolution to each. Figure \ref{fig:cairnspolys} 1001 Figure \ref{fig:cairnspolys} 996 1002 illustrates the polygons used for the Cairns scenario. 997 1003 998 1004 \begin{figure}[hbt] 999 1005 1000 \centerline{\includegraphics[ width=75mm, height=75mm]1001 {../../demos/cairns _model.jpg}}1002 \caption{Interior and bounding polygons for the \code{runcairns.py}example.}1006 \centerline{\includegraphics[scale=0.5] 1007 {../../demos/cairnsmodel.jpg}} 1008 \caption{Interior and bounding polygons for the Cairns example.} 1003 1009 \label{fig:cairnspolys} 1004 1010 \end{figure} … … 1019 1025 1020 1026 is then used to create the mesh, taking the bounding polygon to be 1021 the polygon \code{ demopoly} specified in \file{project.py}.1027 the polygon \code{polyAll} specified in \file{project.py}. 1022 1028 The argument \code{boundary\_tags} assigns a dictionary, whose keys 1023 1029 are the names of the boundary tags used for the bounding 1024 1030 polygon---\code{`top'}, \code{`ocean\_east'}, \code{`bottom'}, and 1025 \code{ lonshore'}--- and whose values identify the indices of the1031 \code{`onshore'}--- and whose values identify the indices of the 1026 1032 segments associated with each of these tags. (The value associated 1027 1033 with each boundary tag is a one-element list.)
Note: See TracChangeset
for help on using the changeset viewer.