Ignore:
Timestamp:
Dec 21, 2007, 12:44:10 PM (17 years ago)
Author:
duncan
Message:

Good fix for the memory leak found in ticket#189

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/pmesh/mesh.py

    r4888 r4894  
    15811581                                                   ObjectNeighbor[2])
    15821582            index += 1
    1583         #genDict['lonepointlist'].sort()
    1584         #genDict['lonepointlist'].reverse()       
    1585         #for loner in genDict['lonepointlist']:
    1586             # Remove the loner vertex
    1587             #print "Removing the loner", loner
    1588             #self.meshVertices.pop(loner)
    1589         # delete the info from this data structure
    1590         del genDict['generatedtriangleneighborlist']
    1591         del genDict['generatedpointmarkerlist']
    1592         del genDict['generatedpointlist']
    1593         del genDict['generatedpointattributetitlelist']
    1594         del genDict['generatedsegmentlist']
    1595         del genDict['generatedsegmentmarkerlist']
    1596         del genDict['generatedtrianglelist']
    1597         del genDict['generatedtriangleattributelist']
    1598         del genDict['generatedpointattributelist']
    1599         genDict['zpp'] = 1 # just an identifier
    16001583           
    16011584    def setMesh(self, genDict):
Note: See TracChangeset for help on using the changeset viewer.