Ignore:
Timestamp:
Aug 14, 2008, 10:26:06 AM (15 years ago)
Author:
ole
Message:

Implemented default_boundary option in File_boundary and Field_boundary as
per ticket:293 and added a note in the user manual.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/shallow_water/shallow_water_domain.py

    r5644 r5657  
    10881088    def __init__(self, filename, domain,
    10891089                 mean_stage=0.0,
    1090                  time_thinning=1,
     1090                 time_thinning=1,
     1091                 boundary_polygon=None,   
     1092                 default_boundary=None,                 
    10911093                 use_cache=False,
    1092                  verbose=False,
    1093                  boundary_polygon=None):
     1094                 verbose=False):
    10941095        """Constructor
    10951096
     
    11071108                       the speed of a model run that you are setting up
    11081109                       and testing.
     1110                       
     1111        default_boundary: Must be either None or an instance of a
     1112                          class descending from class Boundary.
     1113                          This will be used in case model time exceeds
     1114                          that available in the underlying data.
     1115                                               
    11091116        use_cache:
    11101117        verbose:
     
    11151122        self.file_boundary = File_boundary(filename, domain,
    11161123                                           time_thinning=time_thinning,
     1124                                           boundary_polygon=boundary_polygon,
     1125                                           default_boundary=default_boundary,
    11171126                                           use_cache=use_cache,
    1118                                            verbose=verbose,
    1119                                            boundary_polygon=boundary_polygon)
     1127                                           verbose=verbose)
     1128
    11201129       
    11211130        # Record information from File_boundary
Note: See TracChangeset for help on using the changeset viewer.