Ignore:
Timestamp:
Mar 29, 2006, 1:29:38 PM (18 years ago)
Author:
howard
Message:

Updated description of set_boundary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/user_manual/anuga_user_manual.tex

    r2626 r2627  
    10381038\section{Boundary Conditions}
    10391039
    1040 \anuga provides a large number of predefined boundary conditions to
    1041 be used with \code{set\_boundary}.
     1040\anuga provides a large number of predefined boundary conditions, represented by
     1041objects such as \code{Reflective\_boundary(domain)} and \code{Dirichlet\_boundary([0.2, 0.0, 0.0])},
     1042described in the examples in Chapter 2. Alternatively, you may prefer to ``roll
     1043your own'', following the method explained in \ref{sec:roll_your_own}.
     1044
     1045These boundary objects may be used with the function \code{set\_boundary} described below
     1046to assign boundary conditions according to the tags used to label boundary segments.
    10421047
    10431048\begin{funcdesc}{set\_boundary}{boundary_map}
    10441049Module: \code{pyvolution.domain}
    10451050
    1046 Associate boundary objects with tagged boundary segments.
    1047 
    1048 The input \code{boundary\_map} is a dictionary of boundary objects
    1049 keyed by symbolic tags.
    1050 
    1051 As result one pointer to a boundary object is stored for each vertex
    1052 in the list self.boundary_objects.
    1053 More entries may point to the same boundary object
    1054 
    1055 Schematically the mapping is from two dictionaries to one list where
    1056 the index is used as pointer to the \code{boundary\_values} arrays
    1057 within each quantity.
     1051This function allows you to assign a boundary object (corresponding to a
     1052pre-defined or user-specified boundary condition) to every boundary segment that
     1053has been assigned a particular tag.
     1054
     1055This is done by specifying a dictionary \code{boundary\_map}, whose values are the boundary objects
     1056and whose keys are the symbolic tags.
     1057
    10581058\end{funcdesc}
    10591059
     
    11131113
    11141114\subsection{User-defined boundary conditions}
     1115\label{sec:roll_your_own}
    11151116[How to roll your own]
    11161117
Note: See TracChangeset for help on using the changeset viewer.