source: inundation/ga/storm_surge/pmesh/documentation/issues.txt @ 1657

Last change on this file since 1657 was 1378, checked in by duncan, 20 years ago

issues added

File size: 10.8 KB
Line 
1CURRENT PMESH ISSUES
2
3OPEN - issues that have not beeen resolved
4 
5Issue: On the cluster, if storm_surge/pmesh is in the pythonpath (and
6not storm_surge?), pmesh.mesh fails by trying to load pmesh
7visualisation stuff.  Pmesh shouldn't be trying to load anyhow.
8
9Issue: crash if file>filter alpha boundary if there is no alpha
10boundary.
11
12Issue: Add export seg outline file back into pmesh
13
14Issue: triangles_to_polySet (outlining the current set) sometimes
15duplicates vertices.  Now that is fixed, but segments that overlap (ie
16one big line that gets little ones drawn on it) break triangle.
17
18Suggested action: make a dictionary of Hough transforms (parametric
19lines i.e. angle, x-intercept) of the segments. Check any that take up
20the same space. Fix overlapping lines.
21
22Issue: Red mesh selected for refinement seems to be 'behind' the green
23mesh after selecting all then clearing the selection.
24Importance: low
25Suggested Action: Fixed BUT now it draws the greens behind the reds.
26It is much less obvious now though.
27The only way to fix it for good is to colour in the triangles - that
28is the only way to guarantee you know what each triangle is.
29
30
31Issue:  Ole thought that the regional mesh max areas were incorrect
32when a .tsh file was loaded.  Maybe it was that the overall max area
33is not saved.  It's hard coded in MeshGenDialog.
34Importance: Medium
35Suggested Action: Fix when .tsh goes NETCDF
36
37Issue: Catch error if .tsh file is a bad format.
38suggestion: quick and dirty try - except
39Importance: Medium
40
41Issue (new feature): Have visualisation of verts be turned on and
42off.  This will speed things up.
43Importance: low
44
45Issue (new feature): Hve .tsh as a netscf fie, instead of an ascii
46file.
47Importance: Medium
48
49Issue: When a file is saved as and then saved later, sometimes the
50file name is not known.   Is it that 'clear' is removing the name
51(which it should).
52
53Issue:A .tsh file loaded into pmesh after smoothing will not have the
54outline info, since this is removed when smoothing.  If this is a
55problem, refactor loadASCII so it can write the outline as well.
56Suggested Action: Document use
57
58Issue:vertices at the bottom of the canvas can be hard to visualise,
59since you don't know if all vertices are on the screen. 
60Suggested Action: have a 5% border
61Importance: low to not do
62
63Issue: The mesh produced by triangle isn't of high quality near a low
64angle formed by two user segments.
65Reason:triangle
66Tried:  Tried the triangle flags L,i,V (for info).  Using box.poly on
67nautilus.  Couldn't get a better quality mesh.
68
69Issue: Get the naming right for mesh/triangulation/user/generated.
70How about "outline + triangulation = mesh"
71Importance: Medium -low
72
73Issue: S/W - too many methods with the same name on differnent classes
74eg editWindow.  Makes things confusing.
75Importance: low
76
77Issue: Normalise seems broken - what is it doing to the attributes?. 
78Suggested Action: remove!
79
80Bug: Calling 'Generate Mesh' on empty document or If there are no
81enclosed regions will cause trianglulation to crash pmesh.
82Importance: low - not do, but document
83Suggested Action: Catch them (with try) and do nothing
84notes:   Fixing the 'Generate Mesh' crash is a P3 requirement.
85
86The zoom in/out is jittery
87
88The initial mesh window coordinates are in the fourth quadrant.
89
90Deleting a selected object is done with the scroll bar, not the
91delete key.
92
93Issue: triangle calculates incorrect attribute values, some of the time.
94Importance: Medium
95Suggested Action: Preprocess data to smoth it out.
96
97Issue: pmesh can not be automatically installed in windows and linux,
98triangle doesn't compile easily.
99Installs best in Linux. 
100Importance: Low
101Suggested Action: delve into setup more so it works with a variety of
102compilers.
103
104Issue: two vertices can be ontop of one another
105Importance: Low
106Suggested Action: See how it goes when used.  The cost of checking
107probably doesn't outwiegh the benifit.
108action taken: When loading an xya file duplicate vertices are removed.
109
110
111Issue: When calculating mesh, have the pointer turn into an hour glass
112Importance: Low
113
114****************
115CLOSED - issues that have  beeen resolved
116************
117Issue: If some triangles have tags and others don't then the data
118structure (a list of lists) is dificult to use in Numeric.
119Solution -  use a list structure, instead of list of lists
120Closed -  used a list structure, instead of list of lists
121 
122Issue (Ole): I couldn't get pmesh to write mesh in the .msh format
123Importance: Mid
124Suggested action: Either
125    1:  Equip scripted mesh generation with functionality for tagging
126    2:  Allow pmesh to store as msh
127    3:  Have a tsh2msh converter
128Closed: Couldn't be reproduced. suggested action 2 has already been
129implemented.  More investigation required before calling an issue an issue..
130
131Issue: After selecting all for refinement then clearing the selection
132segments (blue lines) can not be selected.
133Importance: High
134Suggested Action:Fixed
135Reason:
136
137Issue: Refined triangles don't have the correct region information.
138Importance: High
139Suggested Action: Fixed
140Reason: I don't think 'refine' fixes triangle attributes
141
142
143Issue: Pmesh won't save a refined mesh.
144Importance: High
145Reason: Refine_triangle.getNewVertex was not appending to mesh.meshVertices,
146        nor was it assigning an index to the vertex.
147
148Issue When starting generate mesh, the cursor doesn't start in the
149first box.
150Importance: Low
151Action: fixed
152
153Issue: Why is triangle att's set as a list and returned as a list of
154lists, when loading from a .tsh file?  Note: a change of this might
155also affect the 'triangle' glue code.
156Note: This also happens to triangle atts! (?)
157action: triangle att's set as a list of lists
158
159Issue:Implememt the following with mesh gen minimum angle, 0 - 32
160nothing;32-40 warning message, may not converge; 40 - error message
161Importance: Low
162Action: done
163
164Issue: Middle magnifying glass icon does not describe what it will do.
165Importance: Low Low
166action: too unimportant to do
167
168Issue:  Maybe triangle doesn't normalise meshes away from the origin,
169resulting in round-off error.
170Importance: Low Low
171Suggested Action: closed since this didn;t seem to be a problem.
172
173Issue:hull.exe generates files that it doesn't clean up eg called
174s1f8, se4, etc. These seem to turn up in a root directory
175Importance: Low
176
177Issue: Hull.exe (alpha shape) - gives an assertion error if points are
178too close together?. 
179Importance: Low
180Suggested Action: when using the results from hull.exe, check if it
181has given any results and throw a friendly message if there are no results.
182
183Issue: When adding segments, vertices are hard to select (with the mouse).
184
185Issue: Calling autoSegment when not in the pmesh directory will not
186work, since it calls the hull.exe, assuming it's in the current dir
187Importance: medium
188Suggested Action: Have the current dir change to the pmesh dir , run
189hull, then change back
190action: contractor is making alpha shape in python
191
192Issue: In the shallow_water functions for pmesh, make the
193volume.interpolate_cons_quantitie call more automatic
194
195Issue: Need tests for pmesh functions in  shallow_water.py
196
197Issue: If there is a large scale grid, how many triangles can be
198generated?  with a normalised grid there's a limit of 22674.
199Using a 100 * 100 domain, a max triangle area of 0.01 produced
2001,048,576 triangles.
201
202Issue: Internal boudaries get an empty string as tag (per default?)
203Background: The notion of defaiults values for internal boundaries was removed, but this one seems to have taken its place. The following hack will
204remove the tag:
205  #for b in domain.boundary.keys():
206  #    if domain.boundary[b] == '':
207  #        del domain.boundary[b]
208  #
209  #domain = Domain(domain.coordinates, domain.triangles, domain.boundary)
210Importance: high
211
212
213Issue: The default region button cannot be selected after loading a file.
214Reason: Unknown. 
215Importance: Low
216
217Issue: The vertices were being sorted when loading .xya files
218Time to complete : 5hrs
219Issue: In load ascii all text reading of lines using find must ltrim
220beforehand
221
222Issue: pmesh -when loading/saving the dir should be the dir where the
223file lives.  Not always the current dir.
224
225Issue: Tags for specifying boundary conditions should be arbitrary
226Background: Domain has the functionality for using arbitrary keys
227when associating boundary objects to boundary values.
228Triangle, which pmesh is based on, uses integers only.
229It would be nice to have mnemonic names for boundaries throughout.
230Importance: Mid
231Status: Unresolved
232
233Issue: Calling save the first time seemingly does nothing
234Importance: Low
235Suggested Action: Call save_as when save is clicked the first time.
236
237
238Bug: Calling Zoom functions on empty document
239causes an AttributeError Exceptions.
240Importance: Medium
241Suggested Action: Catch them (with try) and do nothing
242notes: the zoom crash is not reproducable.  Fixing the 'Generate Mesh' crash
243is a P3 requirement.
244
245When doing mesh generation, no default values (min angle, max area)
246are shown. - Low priority for Chris
247
248
249Cursor shape changes when it shouldn't.
250
251Issue: Help message and status message are the same.  Remove one
252Importance: Low
253Suggested Action: Remove the status info
254
255
256Issue: Selecting nodes require that boundary is selected precisely.
257Importance: High
258Suggested Action: Allow click in interior of square.
259
260Bug: Entering negative value for area is allowed.
261Importance: Medium
262Suggested Action: Check input and return error message
263
264
265Issue: Minimum angle needs a specification of what interval is allowed.
266It seems to pick a default value if angle is out of bounds.
267Action: angles <0.0, >90.0 not allowed
268
269Bug: Entering zero for area causes crash.
270Importance: Medium
271Suggested Action: Check input and return normal error message
272
273
274Issue: Re-generating grids goes slower and slower when repeated.
275Importance: Low
276Suggested Action: Check that old grid gets removed from memory.
277Action taken: cleaned up how visualised objects are handled
278
279
280Issue: nothing says what mode(seg or vertex) pmesh is in
281Importance: Low
282Action taken: Have the buttons stay 'down', to depict mode.
283
284 
285
286Issue: Meaning of 1 x zoom is not intuitive.
287Related issue: Absolute scale should be reported in status bar
288Importance: Medium
289 Action taken : Zoom x 1  gives a zoom corresponding
290to the opening screen.
291
292Vertices and segments that have a triangle on top of them are hard to
293select/see.  Ole suggested that there be the capability to view/hide the mesh.
294 Action taken :put segs/vertices on top
295
296
297NOTES
298The arrow and postscript bottons currently do nothing.
299
300
301-----------------------------------------------
302NEW REQUIREMENTS
303
304Introduce 'eraser tool'. When selected left clicking any object will remove it.
305
306Allow generated grid to be cleared (or hidden).
307
308
309
310CVS INFORMATION FOR THIS FILE
311$Source: /var/lib/cvs/pmesh/documentation/issues.txt,v $
Note: See TracBrowser for help on using the repository browser.