source: inundation/ga/storm_surge/pyvolution/wiki/issues.txt @ 648

Last change on this file since 648 was 627, checked in by duncan, 20 years ago

update

File size: 4.3 KB
Line 
1
2OPEN ISSUES:
3------------
4
5 
6Issue: Exceptions thrown by Python functions called from C don't get caughts
7Background: Have a look at gravity in shallow_water. It calls a C function, gradient, which may throw an exception if arguments are scalars.
8However, it doesn't get caught becuase gravity itself is called from within C
9Importance: Mid
10Suggested Action: Have a look at the calling convention from C (David Beasley)
11Status: Unresolved
12
13
14Issue: Parameters specified in config.py must be tranferred to C code
15and it should be possible to override them when setting up a domain.
16Background: N/A
17Importance: Mid
18Suggested Action:
19          1: Let domain read the config file to provide default values.
20          2: Write getters and setters to override them.
21          3: Pass pertinent values from domain into the c-extensions.
22Status: Unresolved, D+O agreed to do it this way 18/5
23
24
25Issue: Checkpointing - needs to respect changes in script.
26
27
28Issue: Adding unknown quantities cause a KeyError.  Known quantities
29are given in the list other_quantities, in shallow_water.  Do we want
30unknown quantities attached to domain in the future?  If so, it
31shouldn't cause a key error.
32Importance: low
33Suggested Action:
34
35
36Issue: The water level can not be less than the bed elevation, as an
37assert. 
38Importance: Medium
39Suggested Action: How about having the functionality that water levels are set
40to == the bed elevation, if level < bed elevation.  This will make
41setting things up easier.
42
43
44Issue: Transmissive boundary condition can cause unphysical momentums if
45material is not moving out of the domain.
46Importance: Med
47Suggested Action: Add some sort of warning in (subclass of) Transmissive_boundary
48alerting inflow of material.
49
50
51       
52CLOSED ISSUES:
53--------------
54
55
56Issue (Malpasset example):
57Pmesh no longer takes care of attributes but still accepts xya with attributes.
58
59Background:
60Chris imported xya file into pmesh. It contained x, y, bed elevation
61The tsh thus generated did add bed elevation, but didn't produce the proper
62tsh file.
63
64Importance: mid
65Suggested actions: Either spit out an error message or generate a proper
66tsh-header.
67Status:  The story of this is wrong.  Pmesh does produce a proper tsh file
68
69Issue: Second order limiters may cause numerical problems
70manifesting themselves as QNAN (Quiet NANs_ or INF)
71Background: The second order gradient limiter is not robust enough -
72especially with shallow water depths. Heighs and momentum are
73limited independently and high speeds may result.
74Importance: Mid
75Suggested Action:
76          1: Try to incorporate a weighted averaging process between
77          shallow depths and large depths as in the first order scheme.
78          2: Look at limiting height and momentum together, by keeping
79          an eye on the speeds
80          (e.g make speed constant across a volume and recompute momentum)
81          3: Catch errors resulting from these instabilities as early
82          as possibly and produce and throw an appropriate exception
83          4: Make small example that reveals this bug.
84Status: 1 succesfully implemented by Ole and Stephen 12/5/4.
85        2 Didn't work but using the weighted average for momentums seemed
86        to work well.
87        3 and 4 not done.
88        June 2004: With the new limiter (item 1 and 2) 3 and 4 are probably
89        not necessary now.
90
91
92
93Issue: Tags for specifying boundary conditions should be arbitrary
94Background: Domain has the functionality for using arbitrary keys
95when associating boundary objects to boundary values.
96Triangle, which pmesh is based on, uses integers only.
97It would be nice to have mnemonic names for boundaries throughout.
98Importance: Mid
99Status: Duncan resolved this in early June.
100
101
102
103
104Issue: Checkpointing - needs to always back one timestep up in
105       case output wasn't written
106Background:
107       Data at latest checkpoint may be incomplete or even corrupted
108       depending on when and how program was stopped.
109Importance: Mid
110Suggested Action: Always try second latest checkpoint first.
111Status: Done (Ole 14/5/4)
112             
113
114               
115Issue: interpolated_conserved_quantities in shallow_water.py
116Background: Was computed by flux functions and used by bed_slope.
117It turns out to be unneccessary as conserved quantities at centroid works just as well.
118Importance: Mid
119Suggested Action: Get rid of it everywhere
120Status: Was done when whole things was refactored in April 2004 by OMN
Note: See TracBrowser for help on using the repository browser.