Changeset 3467
- Timestamp:
- Aug 8, 2006, 5:06:54 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/requirements/anuga_API_requirements.tex
r3442 r3467 235 235 236 236 237 \chapter{Old stuff from pyvolution/wiki} 238 239 240 \begin{itemize} 241 \item Make origins instances of a georeference class 242 (like class point from GPScape). 243 It would conatin multiple representation, projections and code for adding itself to e.g. NetCDF files. 244 \item Tagged regions, edges etc should be done in terms of set-theory, 245 so that each tag maps e.g. to a list of indices. 246 247 248 \item The information from a .tsh file shall be converted to a data 249 structure that pyvolution understands. 250 \item The vertex attribute information will be converted to field values 251 and they shall be accessable using the attribute tag. 252 \item Volumes will have a region tag. This shall be implemented using the 253 principals of set theory. 254 \item For a given region and a given field value/conserved quantity apply 255 a supplied function with parameters (x,y and the old value 256 of the field value/conserved quantity). 257 \item Also need a flag specifying if the vertex or centroid values are 258 being set.(Rational - will can be used to avoid discontinuites/ or 259 create them, depending on what is required.) 260 Example calls: domain.set_field_values('bed_elevation', 261 f, location='vertices') 262 263 Example calls: domain.set_conserved_quantities('stage', f, 264 location='centroid') 265 266 267 268 where f has the form 269 def f(x, y, old_value): 270 ... 271 return z 272 \end{itemize} 273 274 237 275 \end{document} 238 276
Note: See TracChangeset
for help on using the changeset viewer.