Ignore:
Timestamp:
Aug 8, 2006, 5:06:54 PM (18 years ago)
Author:
ole
Message:

Added in requirements from pyvolution wiki

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/requirements/anuga_API_requirements.tex

    r3442 r3467  
    235235
    236236
     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,
     245so 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
     249structure 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
    237275\end{document}
    238276
Note: See TracChangeset for help on using the changeset viewer.