Changeset 7569
- Timestamp:
- Nov 25, 2009, 4:26:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/data_manager.py
r7562 r7569 2402 2402 new_res = num.zeros(res.shape[1], num.float) 2403 2403 for k in xrange(res.shape[1]): 2404 new_res[k] = reduction(res[:,k]) 2404 if reduction == None: 2405 new_res[k] = res[timestep,k] 2406 else: 2407 new_res[k] = reduction(res[:,k]) 2405 2408 res = new_res 2406 2409
Note: See TracChangeset
for help on using the changeset viewer.