Changeset 1236 for inundation/ga/storm_surge/pmesh/mesh.py
- Timestamp:
- Apr 19, 2005, 2:34:00 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pmesh/mesh.py
r1228 r1236 496 496 # FIXME (DSG) Sets of what? 497 497 self.setID={} 498 #a dictionary of names. 499 #multiple sets are allowed, but the gui does not yet 500 #support this 501 498 502 self.setID['None']=0 503 #contains the names of the sets pointing to the indexes 504 #in the list. 505 499 506 self.sets=[[]] 507 #Contains the lists of triangles (triangle sets) 508 500 509 501 510 self.visualise_graph = True … … 1268 1277 smooth_indents=smooth_indents, 1269 1278 expand_pinch=expand_pinch) 1279 1270 1280 1271 1281 … … 1304 1314 expand_pinch=expand_pinch) 1305 1315 boundary_segs = self.shape.get_boundary() 1306 1316 print "boundary_segs",boundary_segs 1307 1317 segs2delete = self.alphaUserSegments 1308 1318 1319 #FIXME(DSG-DSG) this algorithm needs comments 1320 #FIXME(DSG-DSG) can it be sped up? It's slow 1309 1321 new_segs = [] 1310 1322 alpha_segs = [] … … 1324 1336 unique_seg = Segment(v1, v2) 1325 1337 new_segs.append(unique_seg) 1326 1338 1327 1339 for seg in alpha_segs: 1328 1340 try: … … 2138 2150 2139 2151 def weed(self,Vertices,Segments): 2152 #Depreciated 2140 2153 #weed out existing duplicates 2141 2154 print 'len(self.getUserSegments())'
Note: See TracChangeset
for help on using the changeset viewer.