Changeset 8401
- Timestamp:
- Apr 15, 2012, 6:57:21 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/shallow_water/shallow_water_domain.py
r8390 r8401 250 250 251 251 # Limiters 252 self. use_edge_limiter = use_edge_limiter252 self.set_use_edge_limiter(use_edge_limiter) 253 253 self.optimised_gradient_limiter = optimised_gradient_limiter 254 254 self.use_centroid_velocities = use_centroid_velocities 255 255 256 256 self.set_sloped_mannings_function(sloped_mannings_function) 257 257 258 self.set_compute_fluxes_method(compute_fluxes_method) 258 259 … … 342 343 elif flag is False: 343 344 self.extrapolate_velocity_second_order = False 344 345 346 def set_use_edge_limiter(self, flag=True): 347 """ Extrapolation routine uses vertex values by default, 348 for limiting, can change to edge limiting which 349 seems to work better in some cases. 350 """ 351 352 if flag is True: 353 self.use_edge_limiter = True 354 elif flag is False: 355 self.use_edge_limiter = False 356 345 357 346 358 def set_use_kinematic_viscosity(self, flag=True):
Note: See TracChangeset
for help on using the changeset viewer.