Changeset 7153 for anuga_core
- Timestamp:
- Jun 3, 2009, 11:51:43 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/documentation/user_manual/anuga_user_manual.tex
r7138 r7153 1166 1166 defined in \file{project.py}. 1167 1167 1168 It is not a requirement in \anuga to have this code structure, just an example of 1169 how the script can take different actions depending on a variable. 1170 1168 1171 \subsection{Evolution} 1169 1172 … … 1175 1178 the slide occurs. We use the function \function{tsunami_source} to adjust \code{stage} 1176 1179 values. We then run the simulation until 5000 seconds with the output stored 1177 every ten seconds .1180 every ten seconds: 1178 1181 1179 1182 \begin{verbatim} … … 1212 1215 This functionality is especially convenient as it allows the detailed 1213 1216 parts of the simulation to be viewed at higher time resolution. 1217 1218 This also demonstrates the ability of \anuga to dynamically override values. The 1219 \code{method add_quantity()} works like \code{set_quantity()} except that it adds the new 1220 surface to what exists already. In this case it adds the initial shape of the water 1221 displacement to the water level. 1214 1222 1215 1223 \section{Exploring the Model Output}
Note: See TracChangeset
for help on using the changeset viewer.