Changeset 7986


Ignore:
Timestamp:
Sep 2, 2010, 9:51:54 AM (14 years ago)
Author:
habili
Message:

deal with manning

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

Legend:

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

    r7984 r7986  
    1818                 height,
    1919                 apron,
     20                 manning,
    2021                 enquiry_gap,
    2122                 verbose=False):
    2223
    23         culvert.Culvert.__init__(self, domain, end_points, width, height, apron, enquiry_gap, verbose)
    24 
     24        culvert.Culvert.__init__(self, domain, end_points, width, height, apron, manning, enquiry_gap, verbose)
     25       
    2526        self.routine = boyd_box_routine.Boyd_box_routine(self)
    2627
  • trunk/anuga_core/source/anuga/structures/boyd_box_routine.py

    r7984 r7986  
    5858        """
    5959
    60     def __init__(self, culvert, manning=0.0):
     60    def __init__(self, culvert):
    6161
    62         culvert_routine.Culvert_routine.__init__(self, culvert, manning)
     62        culvert_routine.Culvert_routine.__init__(self, culvert)
     63       
     64        self.manning = culvert.manning
    6365
    6466
     
    6971
    7072        local_debug ='false'
     73       
     74        import pdb
     75        pdb.set_trace()
     76
    7177       
    7278        if self.inflow.get_enquiry_height() > 0.01: #this value was 0.01:
  • trunk/anuga_core/source/anuga/structures/culvert.py

    r7984 r7986  
    2323                 height,
    2424                 apron,
     25                 manning,
    2526                 enquiry_gap,
    2627                 verbose):
     
    3334        self.height = height
    3435        self.apron  = apron
     36        self.manning = manning
     37       
    3538        self.enquiry_gap = enquiry_gap
    3639        self.verbose=verbose
Note: See TracChangeset for help on using the changeset viewer.