Changeset 3449 for documentation/user_manual/anuga_user_manual.tex
- Timestamp:
- Aug 4, 2006, 11:49:36 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/user_manual/anuga_user_manual.tex
r3441 r3449 13 13 %Figures \label{fig: } 14 14 15 % Is latex failing with; 16 % `modanuga_user_manual.ind' not found? 17 % try this command-line 18 % makeindex modanuga_user_manual.idx 19 % To produce the modanuga_user_manual.ind file. 15 20 16 21 … … 1463 1468 \begin{itemize} 1464 1469 \item \code{indices} which is a list of ids of triangles to which set\_quantity should apply its assignment of values. 1465 \item \code{location} determines which part of the triangles to assign to. Options are 'vertices' (default), 'edges', and 'centroids'. 1470 \item \code{location} determines which part of the triangles to assign 1471 to. Options are 'vertices' (default), 'edges', 'unique vertices', and 'centroids'. 1466 1472 \end{itemize} 1467 1468 1469 \end{methoddesc}1470 1471 1472 1473 1474 1475 1476 1473 1477 1474 %%% 1478 1475 \anuga provides a number of predefined initial conditions to be used 1479 1476 with \code{set\_quantity}. 1477 1478 \end{methoddesc} 1479 1480 1481 1482 1483 \begin{funcdesc}{set_region}{tag, quantity, X, location='vertices'} 1484 Module: \module{pyvolution.domain} 1485 (see also \module{pyvolution.region.Set\_region}) 1486 (see also \module{pyvolution.quantity.set\_values}) 1487 1488 This function is used to assign values to individual quantities given 1489 a regional tag. It is similar to set\_quantity. 1490 For example, if in pmesh a regional tag of 'ditch' was 1491 used, set\_region can be used to set elevation of this region to 1492 -10m. X is the constant or function to be applied to the quantity, 1493 over the tagged region. Location describes how the values will be 1494 applied. Options are 'vertices' (default), 'edges', 'unique 1495 vertices', and 'centroids'. 1496 1497 This method can also be called with a list of region objects. This is 1498 useful for adding quantities in regions, and having one quantity 1499 value based on another quantity. See \module{pyvolution.region} for 1500 more details. 1501 \end{funcdesc} 1502 1503 1504 1480 1505 1481 1506 \begin{funcdesc}{slump_tsunami}{length, depth, slope, width=None, thickness=None,
Note: See TracChangeset
for help on using the changeset viewer.