Rev | Line | |
---|
[544] | 1 | Pyvolution Software Requirements Specification |
---|
[573] | 2 | By everyone |
---|
[544] | 3 | |
---|
| 4 | INTRODUCTION |
---|
| 5 | |
---|
| 6 | |
---|
| 7 | OVERALL DESCRIPTION |
---|
| 8 | |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | DEFINITIONS |
---|
| 12 | |
---|
| 13 | REQUIREMENT SECTION |
---|
| 14 | |
---|
| 15 | Introduction |
---|
| 16 | |
---|
| 17 | Each requirement has a priority (e.g. P1). The priority number is |
---|
| 18 | given at the end of each requirement. |
---|
| 19 | |
---|
| 20 | Requirements |
---|
| 21 | - The information from a .tsh file shall be converted to a data |
---|
| 22 | structure that pyvolution understands. |
---|
| 23 | - The vertex attribute information will be converted to field values |
---|
| 24 | and they shall be accessable using the attribute tag. |
---|
| 25 | |
---|
| 26 | - Volumes will have a region tag. This shall be implemented using the |
---|
| 27 | principals of set theory. |
---|
| 28 | |
---|
| 29 | - For a given region and a given field value/conserved quantity apply |
---|
| 30 | a supplied function with parameters (x,y and the old value |
---|
| 31 | of the field value/conserved quantity). |
---|
| 32 | - Also need a flag specifying if the vertex or centroid values are |
---|
| 33 | being set.(Rational - will can be used to avoid discontinuites/ or |
---|
| 34 | create them, depending on what is required.) |
---|
| 35 | Example calls: domain.set_field_values('bed_elevation', |
---|
| 36 | f, location='vertices') |
---|
| 37 | |
---|
| 38 | Example calls: domain.set_conserved_quantities('stage', f, |
---|
| 39 | location='centroid') |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | where f has the form |
---|
| 44 | def f(x, y, old_value): |
---|
| 45 | ... |
---|
| 46 | return z |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | CVS INFORMATION FOR THIS FILE |
---|
| 50 | $Source: /var/lib/cvs/grohm/wiki/pyvolution_SRS.txt,v $ |
---|
Note: See
TracBrowser
for help on using the repository browser.