Changeset 4015
 Timestamp:
 Nov 21, 2006, 11:17:29 AM (17 years ago)
 Location:
 anuga_core/documentation/user_manual
 Files:

 1 added
 1 edited
Legend:
 Unmodified
 Added
 Removed

anuga_core/documentation/user_manual/anuga_user_manual.tex
r3986 r4015 1262 1262 \begin{figure}[h] 1263 1263 \begin{center} 1264 %\includegraphics[width=90mm, height=90mm]{triangularmesh.eps}1264 \includegraphics[width=90mm, height=90mm]{triangularmesh.jpg} 1265 1265 \end{center} 1266 1266 … … 2025 2025 2026 2026 \end{funcdesc} 2027 2027 2028 2029 2030 \begin{funcdesc}{get\_maximum\_value}{indices = None} 2031 Module: \module{abstract\_2d\_finite\_volumes.quantity} 2032 2033 Return maximum value of quantity (on centroids) 2034 2035 Optional argument indices is the set of element ids that 2036 the operation applies to. If omitted all elements are considered. 2037 2038 Note, we do not seek the maximum at vertices as each vertex can 2039 have multiple values  one for each triangle sharing it. 2040 \end{funcdesc} 2041 2042 2043 2044 \begin{funcdesc}{get\_maximum\_location}{indices = None} 2045 Module: \module{abstract\_2d\_finite\_volumes.quantity} 2046 2047 Return location of maximum value of quantity (on centroids) 2048 2049 Optional argument indices is the set of element ids that the operation applies to. 2050 2051 Usage: 2052 x, y = get_maximum_location() 2053 2054 2055 Notes: 2056 We do not seek the maximum at vertices as each vertex can 2057 have multiple values  one for each triangle sharing it. 2058 2059 If there are multiple cells with same maximum value, the 2060 first cell encountered in the triangle array is returned. 2061 """ 2062 2063 i = self.get_maximum_index(indices) 2064 x, y = self.domain.get_centroid_coordinates()[i] 2065 2066 return x, y 2067 2068 2069 2070 2071 2072 2073 2074 2075 2028 2076 2029 2077 \begin{funcdesc}{get\_integral}{} … … 2950 2998 2951 2999 3000 3001 3002 2952 3003 2953 3004 \section{\module{shallow\_water}  2D triangular domains for finitevolume
Note: See TracChangeset
for help on using the changeset viewer.