Changeset 8034


Ignore:
Timestamp:
Oct 14, 2010, 3:20:51 PM (12 years ago)
Author:
habili
Message:

Added in Rudy's amended boyd_box_operator

Location:
trunk/anuga_core/source/anuga/structures
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/structures/boyd_pipe_operator.py

    r8027 r8034  
    7777
    7878        local_debug ='false'
     79       
     80        #import pdb
     81        #pdb.set_trace()
    7982       
    8083        if self.inflow.get_enquiry_height() > 0.01: #this value was 0.01: Remember this needs to be compared to the Invert Lvl
  • trunk/anuga_core/source/anuga/structures/inlet.py

    r8033 r8034  
    3030
    3131        # Check that polygon lies within the mesh.
    32         for point in self.polygon:
     32        for point in self.polygon: 
    3333                msg = 'Point %s ' %  str(point)
    3434                msg += ' did not fall within the domain boundary.'
     
    4242        self.triangle_indices = polygon_overlap(vertex_coordinates, self.polygon)
    4343        #self.triangle_indices_cen = inside_polygon(domain_centroids, self.polygon, verbose=self.verbose)
     44        #import pdb
     45        #pdb.set_trace()
    4446
    4547        if len(self.triangle_indices) == 0:
  • trunk/anuga_core/source/anuga/structures/structure_operator.py

    r8027 r8034  
    228228        # Build exchange polygon and enquiry point
    229229        for i in [0, 1]:
    230             i0 = (2*i-1)
     230            i0 = (2*i-1) #i0 determines the sign of the points
    231231            p0 = self.end_points[i] + w
    232232            p1 = self.end_points[i] - w
Note: See TracChangeset for help on using the changeset viewer.