Changeset 3062 for inundation/pyvolution/mesh.py
- Timestamp:
- Jun 4, 2006, 12:22:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/mesh.py
r3012 r3062 96 96 97 97 #Get x,y coordinates for all triangles and store 98 V = self.vertex_coordinates 98 V = self.vertex_coordinates # Relative coordinates 99 99 100 100 #Initialise each triangle … … 438 438 439 439 440 # FIXME (Ole): Make sure all points are absolute UTM 441 440 442 # Get mesh extent 441 xmin, xmax, ymin, ymax = self.get_extent() 443 xmin, xmax, ymin, ymax = self.get_extent() # FIXME: Make Absolute 442 444 pmin = ensure_numeric([xmin, ymin]) 443 445 pmax = ensure_numeric([xmax, ymax]) … … 454 456 if edge_id == 2: a = 0; b = 1 455 457 458 # FIXME: Make Absolute 456 459 A = self.get_vertex_coordinate(i, a) # Start 457 460 B = self.get_vertex_coordinate(i, b) # End … … 701 704 from utilities.numerical_tools import histogram, create_bins 702 705 703 vertex_coordinates = self.vertex_coordinates 706 vertex_coordinates = self.vertex_coordinates # Relative coordinates 704 707 areas = self.areas 705 708 x = vertex_coordinates[:,0]
Note: See TracChangeset
for help on using the changeset viewer.