Changeset 9665 for trunk/anuga_user_manual/source/anuga_user_manual.tex
- Timestamp:
- Feb 11, 2015, 3:26:44 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_user_manual/source/anuga_user_manual.tex
r9405 r9665 287 287 288 288 What follows is a discussion of the structure and operation of a 289 script called \file{runup.py} (which is available in the \file{ demos} directory290 of \file{anuga_core}.289 script called \file{runup.py} (which is available in the \file{examples} 290 directory of \file{anuga_core}. 291 291 292 292 This example carries out the solution of the shallow-water wave … … 344 344 345 345 \label{ref:runup_py_code} 346 \verbatiminputunderscore{../../anuga_core/ demos/runup.py}346 \verbatiminputunderscore{../../anuga_core/examples/runup.py} 347 347 348 348 … … 731 731 Here is the code for the first version of the channel flow \file{channel1.py}: 732 732 733 \verbatiminputunderscore{ demos/channel1.py}733 \verbatiminputunderscore{../../anuga_core/examples/channel1.py} 734 734 735 735 In discussing the details of this example, we follow the outline … … 738 738 \subsection{Establishing the Mesh}\index{mesh, establishing} 739 739 740 In this example we use a similar simple structured triangular mesh as in \file{runup.py} 740 In this example we use a similar simple structured triangular mesh 741 as in \file{runup.py} 741 742 for simplicity, but this time we will use a symmetric one and also 742 743 change the physical extent of the domain. The assignment: … … 848 849 Here is the code for the third version of the channel flow \file{channel3.py}: 849 850 850 \verbatiminputunderscore{ demos/channel3.py}851 \verbatiminputunderscore{../../anuga_core/examples/channel3.py} 851 852 852 853 This example differs from the first two versions in that the topography … … 933 934 Here is the code for \file{runcairns.py}: 934 935 935 \verbatiminputunderscore{../../anuga_core/ demos/cairns/runcairns.py}936 \verbatiminputunderscore{../../anuga_core/examples/cairns/runcairns.py} 936 937 937 938 In discussing the details of this example, we follow the outline … … 994 995 \file{project.py}: 995 996 996 \verbatiminputunderscore{../../anuga_core/ demos/cairns/project.py}997 \verbatiminputunderscore{../../anuga_core/examples/cairns/project.py} 997 998 998 999 Figure \ref{fig:cairns3d} illustrates the landscape of the region … … 1257 1258 \file{ExportResults.py} demonstrates how this function can be used: 1258 1259 1259 \verbatiminputunderscore{ demos/cairns/ExportResults.py}1260 \verbatiminputunderscore{../../anuga_core/examples/cairns/ExportResults.py} 1260 1261 1261 1262 The script generates a maximum water depth ASCII grid at a defined … … 1312 1313 the gauges shown in Figure \ref{fig:cairnsgauges} is \file{gauges.csv}: 1313 1314 1314 \verbatiminputunderscore{ demos/cairns/gauges.csv}1315 \verbatiminputunderscore{../../anuga_core/examples/cairns/gauges.csv} 1315 1316 1316 1317 Header information has been included to identify the location in terms of eastings and … … 1322 1323 of the standard \code{anuga} release, however it can be downloaded and installed from \code{http://matplotlib.sourceforge.net/} 1323 1324 1324 \verbatiminputunderscore{ demos/cairns/GetTimeseries.py}1325 \verbatiminputunderscore{../../anuga_core/examples/cairns/GetTimeseries.py} 1325 1326 1326 1327 Here, the time series for the quantities stage, depth and speed will be generated for
Note: See TracChangeset
for help on using the changeset viewer.