Changeset 8093
- Timestamp:
- Dec 7, 2010, 5:17:53 PM (14 years ago)
- Location:
- trunk/anuga_core/source/anuga/structures
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/structures/testing_inlet_operator.py
r8073 r8093 7 7 from anuga.abstract_2d_finite_volumes.mesh_factory import rectangular_cross 8 8 from anuga.abstract_2d_finite_volumes.quantity import Quantity 9 from anuga.abstract_2d_finite_volumes.util import file_function 9 10 10 11 import anuga … … 102 103 103 104 line = [[0.0, 5.0], [0.0, 10.0]] 104 Q = 5.0 105 106 Q = file_function('test_hydrograph.tms', quantities=['hydrograph']) 107 105 108 Inlet_operator(domain, line, Q) 106 109 … … 134 137 #min_delta_w = sys.maxint 135 138 #max_delta_w = -min_delta_w 136 for t in domain.evolve(yieldstep = 1.0, finaltime = 200):139 for t in domain.evolve(yieldstep = 1.0, finaltime = 38): 137 140 domain.write_time() 138 141
Note: See TracChangeset
for help on using the changeset viewer.