Ignore:
Timestamp:
Apr 20, 2005, 5:41:03 PM (20 years ago)
Author:
steve
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution-parallel/mesh.py

    r1193 r1237  
    6767        """
    6868
    69        
     69
    7070
    7171        from Numeric import array, zeros, Int, Float, maximum, sqrt, sum
     
    113113                #a triangle to the midpoint of the side of the triangle
    114114                #closest to the centroid
    115                 d0 = sqrt(sum( (centroid-m0)**2 ))
     115                d0 = sqrt(sum( (centroid-m0)**2 ))
    116116                d1 = sqrt(sum( (centroid-m1)**2 ))
    117117                d2 = sqrt(sum( (centroid-m2)**2 ))
     
    129129
    130130                self.radii[i]=self.areas[i]/(2*(a+b+c))
    131                
     131
    132132
    133133            #Initialise Neighbours (-1 means that it is a boundary neighbour)
     
    446446            #Note: Could be arbitrary, but nice to have
    447447            #a unique way of selecting
    448             dist_A = sqrt(sum( (A-pmin)**2 ))
    449             dist_B = sqrt(sum( (B-pmin)**2 ))
     448            dist_A = sqrt(sum( (A-pmin)**2 ))
     449            dist_B = sqrt(sum( (B-pmin)**2 ))
    450450
    451451            #Find minimal point
     
    584584        #    assert self.neighbours[id,edge] < 0
    585585        #
    586         #NOTE (Ole): I reckon this was resolved late 2004?
    587         #
    588         #See domain.set_boundary
     586        #NOTE (Ole): I reckon this was resolved late 2004?
     587        #
     588        #See domain.set_boundary
    589589
    590590
Note: See TracChangeset for help on using the changeset viewer.