Opened 17 years ago

Closed 17 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

Description

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 "run_onslow.py", line 138, in ?

'filename': meshname},verbose = True)

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

region=create_region)

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

segment_tags[i] = key

IndexError?: list assignment index out of range

Change History (1)

comment:1 Changed 17 years ago by anonymous

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