Changeset 2884 for inundation/examples/island_timeseries.py
- Timestamp:
- May 16, 2006, 2:42:12 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/examples/island_timeseries.py
r2635 r2884 26 26 27 27 28 T = f.get_time() 28 29 29 30 from math import sqrt, atan, degrees … … 48 49 max_velocity = 0 49 50 50 due_east = 90.0*ones([len( f.T)])51 due_west = 270.0*ones([len( f.T)])52 maxT = max( f.T)53 tstep = maxT/(len( f.T)-1)51 due_east = 90.0*ones([len(T)]) 52 due_west = 270.0*ones([len(T)]) 53 maxT = max(T) 54 tstep = maxT/(len(T)-1) 54 55 55 56 56 57 myloc = 'G%d' %k #locations[k] 57 58 58 for i, t in enumerate( f.T): # T is a list of times59 for i, t in enumerate(T): # T is a list of times 59 60 #if tmin < t < tmax: 60 61 w = f(t, point_id = k)[0]
Note: See TracChangeset
for help on using the changeset viewer.