Changeset 4808 for anuga_core/source/anuga/utilities/quad.py
- Timestamp:
- Nov 12, 2007, 9:53:05 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/utilities/quad.py
r4779 r4808 143 143 point_id = int(args[1]) 144 144 x, y = self.mesh.get_node(point_id, absolute=True) 145 146 #print point_id, x, y147 145 elif len(args) == 3: 148 146 x = float(args[1]) … … 445 443 #print mesh.coordinates 446 444 447 448 nodes = mesh.get_nodes(absolute=True) 449 xmin = min(nodes[:,0]) 450 xmax = max(nodes[:,0]) 451 ymin = min(nodes[:,1]) 452 ymax = max(nodes[:,1]) 453 454 # Don't know why this didn't work 455 #xmin, xmax, ymin, ymax = mesh.get_extent(absolute=True) 445 xmin, xmax, ymin, ymax = mesh.get_extent(absolute=True) 456 446 457 447 # Ensure boundary points are fully contained in region … … 473 463 474 464 #FIXME: Use mesh.filename if it exists 465 # why? 475 466 root = Cell(ymin, ymax, xmin, xmax,mesh, 476 #name = ....477 467 max_points_per_cell = max_points_per_cell) 478 468
Note: See TracChangeset
for help on using the changeset viewer.