Changes between Initial Version and Version 2 of Ticket #160


Ignore:
Timestamp:
May 29, 2007, 10:28:31 AM (18 years ago)
Author:
duncan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #160

    • Property Status changed from new to assigned
    • Property Summary changed from Remove lone vertices in general mesh structure to could not find triangele crash when exporting a grid
  • Ticket #160 – Description

    initial v2  
    1 Lone vertices (points not associated with any triangles) continue to cause minor problems such as the one attached. This ticket suggests exploring whether general_mesh can remove lone vertices upon creation.
     1When running \anuga_work\production\onslow_2006/test_export_results.py
     2there is the following error;
     3{{{
     4USER: dgray
     5bound /d/xrd/gem/5/nhi/inundation/data/western_australia/onslow_tsunami_scenario_2006/anuga/boundaries/
     6meshname /d/xrd/gem/5/nhi/inundation/data/western_australia/onslow_tsunTraceback (most recent call last):
     7  File "test_export_results.py", line 45, in ?
     8    format = 'asc')
     9  File "/d/cit/1/dgray/inundation/anuga_core/source/anuga/shallow_water/data_manager.py", line 1945, in sww2dem
     10    grid_values = interp.interpolate(q, grid_points).flat
     11  File "/d/cit/1/dgray/inundation/anuga_core/source/anuga/fit_interpolate/interpolate.py", line 176, in interpolate
     12    verbose=verbose)
     13  File "/d/cit/1/dgray/inundation/anuga_core/source/anuga/fit_interpolate/interpolate.py", line 202, in interpolate_block
     14    verbose=verbose)
     15  File "/d/cit/1/dgray/inundation/anuga_core/source/anuga/fit_interpolate/interpolate.py", line 295, in _build_interpolation_matrix_A
     16    raise Exception(msg)
     17Exception: ('Could not find triangle for point', array([ 16375.,      0.]))
     18}}}