Changeset 3062


Ignore:
Timestamp:
Jun 4, 2006, 12:22:44 PM (18 years ago)
Author:
ole
Message:

Added FIXMES about ticket:81

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/mesh.py

    r3012 r3062  
    9696
    9797        #Get x,y coordinates for all triangles and store
    98         V = self.vertex_coordinates
     98        V = self.vertex_coordinates # Relative coordinates
    9999
    100100        #Initialise each triangle
     
    438438
    439439
     440        # FIXME (Ole): Make sure all points are absolute UTM   
     441       
    440442        # Get mesh extent
    441         xmin, xmax, ymin, ymax = self.get_extent()
     443        xmin, xmax, ymin, ymax = self.get_extent() # FIXME: Make Absolute
    442444        pmin = ensure_numeric([xmin, ymin])
    443445        pmax = ensure_numeric([xmax, ymax])       
     
    454456            if edge_id == 2: a = 0; b = 1
    455457
     458            # FIXME: Make Absolute
    456459            A = self.get_vertex_coordinate(i, a) # Start
    457460            B = self.get_vertex_coordinate(i, b) # End
     
    701704        from utilities.numerical_tools import histogram, create_bins
    702705
    703         vertex_coordinates = self.vertex_coordinates
     706        vertex_coordinates = self.vertex_coordinates # Relative coordinates
    704707        areas = self.areas
    705708        x = vertex_coordinates[:,0]
Note: See TracChangeset for help on using the changeset viewer.