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

Last change on this file since 614 was 544, checked in by ole, 20 years ago

Moved issues back into pyvolution and created a wiki there

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