Changeset 5557
- Timestamp:
- Jul 23, 2008, 9:32:22 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/perth/run_perth.py
r5500 r5557 167 167 print 'Available boundary tags', domain.get_boundary_tags() 168 168 print 'domain id', id(domain) 169 #print 'Reading Boundary file',project.boundaries_dir_namea + '.sww' 169 170 171 print 'Available boundary tags', domain.get_boundary_tags() 172 Bf = File_boundary(boundary_urs_out+'.sts', 173 domain, time_thinning=1, 174 use_cache=True, 175 verbose = True, 176 boundary_polygon=project.bounding_polygon) 170 177 171 178 Br = Reflective_boundary(domain) … … 174 181 print 'start reading boundary file' 175 182 176 Bf = Field_boundary(kwargs['boundary_file'], 177 domain, time_thinning=kwargs['time_thinning'], mean_stage=kwargs['tide'], 178 use_cache=False, verbose=True) 183 ## Bf = Field_boundary(kwargs['boundary_file'], 184 ## domain, time_thinning=kwargs['time_thinning'], mean_stage=kwargs['tide'], 185 ## use_cache=False, verbose=True) 186 179 187 domain.set_boundary({'back': Br, 180 188 'side': Bd, 181 'ocean': Bd}) #change to Bf for real run 182 183 ## if project.source != 'test': 184 ## domain.set_boundary({'back': Br, 185 ## 'side': Bd, 186 ## 'ocean': Bd}) 189 'ocean': Bf}) 187 190 188 191 kwargs['input_start_time']=domain.starttime
Note: See TracChangeset
for help on using the changeset viewer.