Opened 18 years ago

Closed 18 years ago

#69 closed defect (duplicate)

possible error in "create_mesh_from_regions

Reported by: Nick Owned by: ole
Priority: normal Milestone:
Component: Functionality and features Version: 1.0
Severity: normal Keywords:
Cc: duncan


using the below... eg no interior region defined produces an error

from caching import cache _ = cache(create_mesh_from_regions,

project.polyAll, {'boundary_tags': {'top': [0], 'topleft': [1],

'topleft1': [2], 'bottomleft': [3], 'bottom': [4], 'bottomright': [5], 'topright':[6]},

'maximum_triangle_area': 500, 'filename': meshname}, verbose = True)

following is the error message

Traceback (most recent call last):

File "", line 138, in ?

'filename': meshname},verbose = True)

File "/export/home/nbartzis/anuga/inundation/caching/", line 349, in cache File "pmesh/", line 86, in create_mesh_from_regions File "/home/nbartzis/anuga/inundation/pmesh/", line 660, in add_region_from_polygon


File "/home/nbartzis/anuga/inundation/pmesh/", line 719, in _add_area_from_polygon

segment_tags[i] = key

IndexError?: list assignment index out of range

Change History (1)

comment:1 Changed 18 years ago by anonymous

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.