Ignore:
Timestamp:
Aug 4, 2006, 11:49:36 AM (18 years ago)
Author:
duncan
Message:

adding documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/user_manual/anuga_user_manual.tex

    r3441 r3449  
    1313%Figures \label{fig: }
    1414
     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.
    1520
    1621
     
    14631468\begin{itemize}
    14641469\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'.
    14661472\end{itemize}
    1467 
    1468 
    1469 \end{methoddesc}
    1470 
    1471 
    1472 
    1473 
    1474 
    1475 
    14761473
    14771474%%%
    14781475\anuga provides a number of predefined initial conditions to be used
    14791476with \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 
     1488This function is used to assign values to individual quantities given
     1489a regional tag.   It is similar to set\_quantity.
     1490For example, if in pmesh a regional tag of 'ditch' was
     1491used, 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,
     1493over the tagged region.  Location describes how the values will be
     1494applied.  Options are 'vertices' (default), 'edges', 'unique
     1495vertices', and 'centroids'.
     1496
     1497This method can also be called with a list of region objects.  This is
     1498useful for adding quantities in regions, and having one quantity
     1499value based on another quantity. See  \module{pyvolution.region} for
     1500more details.
     1501\end{funcdesc}
     1502
     1503
     1504
    14801505
    14811506\begin{funcdesc}{slump_tsunami}{length, depth, slope, width=None, thickness=None,
Note: See TracChangeset for help on using the changeset viewer.