Changeset 8858


Ignore:
Timestamp:
May 9, 2013, 11:48:31 AM (12 years ago)
Author:
steve
Message:

adding gates

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

Legend:

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

    r8851 r8858  
    4141                                               len2=width)
    4242domain = anuga.Domain(points, vertices, boundary)   
    43 domain.set_name('Test_culvert')                 # Output name
     43domain.set_name('run_culvert_inlet')                 # Output name
    4444domain.set_default_order(2)
    4545#domain.set_beta(1.5)
     
    9191
    9292Boyd_pipe_operator(domain,
    93                             end_point0=[9.0, 2.5],
    94                             end_point1=[13.0, 2.5],
     93                            end_points=[[9.0, 2.5],[13.0, 2.5]],
    9594                            losses=1.5,
    9695                            diameter=1.5,
  • trunk/anuga_core/source/anuga/structures/structure_operator.py

    r8825 r8858  
    210210
    211211
    212 
     212    def set_height(self, height):
     213
     214        self.height = height
     215
     216    def set_width(self, width):
     217
     218        self.width = width
     219       
    213220
    214221    def __process_non_skew_culvert(self):
Note: See TracChangeset for help on using the changeset viewer.