Changeset 6449


Ignore:
Timestamp:
Mar 4, 2009, 2:29:14 PM (15 years ago)
Author:
kristy
Message:

added boundary_default to Time_boundary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/abstract_2d_finite_volumes/generic_boundary_conditions.py

    r6448 r6449  
    8888    # FIXME (Ole): We should rename f to function to be consistent with
    8989    # Transmissive_Momentum_Set_Stage_Boundary (cf posting by rrraman)
    90     def __init__(self, domain = None, f = None, default_boundary = None):
     90    def __init__(self, domain=None,
     91                 f=None,
     92                 default_boundary=None):
    9193        Boundary.__init__(self)
     94
     95        self.default_boundary = default_boundary
     96        self.default_boundary_invoked = False    # Flag
    9297
    9398        try:
     
    145150                        %str(self.default_boundary)
    146151                    msg += 'Note: Further warnings will be supressed'
    147                     warn(msg)
     152                    print msg
    148153               
    149154                    # FIXME (Ole): Replace this crude flag with
Note: See TracChangeset for help on using the changeset viewer.