Changeset 8942 for trunk/anuga_core/user_manual
- Timestamp:
- Jun 30, 2013, 11:39:09 PM (11 years ago)
- Location:
- trunk/anuga_core/user_manual
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/user_manual/anuga_user_manual.tex
r8729 r8942 145 145 \url{http://sourceforge.net/projects/anuga}. A snapshot of work in progress is 146 146 available through the \anuga software repository at 147 \url{https:// datamining.anu.edu.au/svn/anuga/trunk/anuga_core/source/anuga}147 \url{https://anuga.anu.edu.au/svn/anuga/trunk/anuga_core/source/anuga} 148 148 where the more adventurous reader might like to go. 149 149 150 150 This manual describes \anuga version \version. To check for later versions of this manual 151 go to \url{https:// datamining.anu.edu.au/anuga}.151 go to \url{https://anuga.anu.edu.au}. 152 152 153 153 \section{Scope} … … 160 160 161 161 The latest installation instructions may be found at: 162 \url{http s://datamining.anu.edu.au/anuga/attachment/wiki/WikiStart/anuga_installation_guide-1.2.0.pdf}.162 \url{http://anuga.anu.edu.au/raw-attachment/wiki/WikiStart/anuga_installation_guide-1.2.1.pdf}. 163 163 164 164 \section{Audience} … … 389 389 390 390 \begin{verbatim} 391 domain.set_quantities_to_be_stored({'stage': 2, 'xmomentum': 2, 'ymomentum': 2, 'elevation': 1}) 391 domain.set_quantities_to_be_stored({ 392 'stage': 2, 'xmomentum': 2, 'ymomentum': 2, 'elevation': 1}) 392 393 \end{verbatim} 393 394 … … 590 591 File "mesh_test.py", line 114, in ? 591 592 domain.set_boundary({'west': Bi, 'east': Bo, 'north': Br, 'south': Br}) 592 File "X:\inundation\sandpits\onielsen\anuga_core\source\anuga\abstract_2d_finite_volumes\domain.py", line 505, in set_boundary 593 File "X:\inundation\sandpits\onielsen\anuga_core\source\anuga\ 594 abstract_2d_finite_volumes\domain.py", line 505, in set_boundary 593 595 raise msg 594 596 ERROR (domain.py): Tag "exterior" has not been bound to a boundary object. … … 607 609 608 610 \begin{verbatim} 609 Bw = anuga.Time_boundary(domain=domain, f=lambda t: [(0.1*sin(t*2*pi)-0.3), 0.0, 0.0]) 611 Bw = anuga.Time_boundary(domain=domain, 612 f=lambda t: [(0.1*sin(t*2*pi)-0.3), 0.0, 0.0]) 610 613 \end{verbatim} 611 614 … … 724 727 725 728 \begin{verbatim} 726 points, vertices, boundary = anuga.rectangular_cross(m, n, len1=length, len2=width) 729 points, vertices, boundary = anuga.rectangular_cross(m, n, 730 len1=length, len2=width) 727 731 \end{verbatim} 728 732 … … 740 744 dx = dy = 1 # Resolution: Length of subdivisions on both axes 741 745 742 points, vertices, boundary = anuga.rectangular_cross(int(length/dx), int(width/dy),743 746 points, vertices, boundary = anuga.rectangular_cross(int(length/dx), 747 int(width/dy), len1=length, len2=width) 744 748 \end{verbatim} 745 749 … … 1426 1430 %\begin{tabular}{ll} 1427 1431 \begin{tabular}{p{2.0cm} p{14.0cm}} 1428 \emph{use\_cache} & Specifies whether caching is to be used for improved performance. 1429 See Section \ref{sec:caching} for details on the underlying caching functionality\\1430 \emph{verbose} & If \code{True}, provides detailed terminal output to the user\\1432 \emph{use\_cache} & Specifies whether caching is to be used for improved performance. See Section \ref{sec:caching} for details\\ 1433 & on the underlying caching functionality\\ 1434 \emph{verbose} & If \code{True}, provides detailed terminal output to the user\\ 1431 1435 \end{tabular} 1432 1436 … … 2206 2210 \begin{verbatim} 2207 2211 # Create digital elevation model from points file 2208 domain.set_quantity('elevation', filename='elevation_file.pts, verbose=True) 2212 domain.set_quantity('elevation', filename= 2213 'elevation_file.pts', verbose=True) 2209 2214 2210 2215 # Add buildings from file 2211 building_polygons, building_heights = anuga.load_csv_as_building_polygons(building_file) 2216 building_polygons, building_heights = 2217 anuga.load_csv_as_building_polygons(building_file) 2212 2218 2213 2219 B = []
Note: See TracChangeset
for help on using the changeset viewer.