- Timestamp:
- Oct 13, 2006, 2:16:35 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga_parallel/test_parallel_sw_runup.py
r3612 r3775 68 68 #------------------------------------------------------------------------------ 69 69 70 for t in domain.evolve(yieldstep = 0.1, finaltime = 10.0): 70 interpolation_points = [[0.4,0.5], [0.6,0.5], [0.8,0.5], [0.9,0.5]] 71 gauge_values = [] 72 for _ in interpolation_points: 73 gauge_values.append([]) 74 75 time = [] 76 77 for t in domain.evolve(yieldstep = 0.1, finaltime = 5.0): 71 78 domain.write_time() 79 72 80 81 # Record time series at known points 82 time.append(domain.get_time()) 83 84 stage = domain.get_quantity('stage') 85 w = stage.get_values(interpolation_points=interpolation_points) 86 87 for i, _ in enumerate(interpolation_points): 88 gauge_values[i].append(w[i]) 73 89 90 91 print 92 print time 93 print 94 for i, _ in enumerate(interpolation_points): 95 print i, gauge_values[i] 96 print 97 98
Note: See TracChangeset
for help on using the changeset viewer.