- Timestamp:
- Nov 19, 2010, 2:53:46 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/abstract_2d_finite_volumes/generic_domain.py
r8068 r8073 1321 1321 # @note Raises exception of method not known. 1322 1322 def set_timestepping_method(self, timestepping_method): 1323 methods = ['euler', 'rk2', 'rk3'] 1323 methods = ['euler', 'rk2', 'rk3'] 1324 1324 if timestepping_method in methods: 1325 1325 self.timestepping_method = timestepping_method 1326 1326 return 1327 1327 if timestepping_method in [1,2,3]: 1328 self.time tepping_method = methods[timestepping_method-1]1328 self.timestepping_method = methods[timestepping_method-1] 1329 1329 return 1330 1330
Note: See TracChangeset
for help on using the changeset viewer.