Changeset 1637


Ignore:
Timestamp:
Jul 25, 2005, 8:29:02 PM (19 years ago)
Author:
steve
Message:

Fixed calculation of centroid in contracting channel cross

Location:
inundation/ga/storm_surge
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/mesh_factory.py

    r1596 r1637  
    586586            y = (points[v1][1]+points[v2][1]+points[v3][1]+points[v4][1])*0.25
    587587            v5 = len(points)
    588             points.append([x + origin[0], y + origin[1]])
     588            points.append([x, y)
    589589
    590590            #Create left triangle
Note: See TracChangeset for help on using the changeset viewer.