Changeset 2491 for inundation/pyvolution/domain.py
- Timestamp:
- Mar 8, 2006, 1:39:11 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/domain.py
r2380 r2491 196 196 197 197 def get_quantity(self, name, location='vertices', indices = None): 198 """Get values for named quantity198 """Get quantity object. 199 199 200 200 name: Name of quantity 201 201 202 In case of location == 'centroids' the dimension values must 203 be a list of a Numerical array of length N, N being the number 204 of elements. Otherwise it must be of dimension Nx3. 205 206 Indices is the set of element ids that the operation applies to. 207 208 The values will be stored in elements following their 209 internal ordering. 210 """ 211 212 return self.quantities[name].get_values( location, indices = indices) 202 See methods inside the quantity object for more options 203 """ 204 205 return self.quantities[name] #.get_values( location, indices = indices) 206 213 207 214 208 def get_quantity_object(self, name): … … 216 210 217 211 name: Name of quantity 218 """ 219 212 213 FIXME: Obsolete 214 """ 215 216 print 'get_quantity_object has been deprecated. Please use get_quantity' 220 217 return self.quantities[name] 221 218
Note: See TracChangeset
for help on using the changeset viewer.