Changeset 9024
- Timestamp:
- Nov 16, 2013, 7:39:52 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/operators/run_set_stage.py
r8599 r9024 32 32 print domain.starttime 33 33 34 output_file = 'set_stage' 35 domain.set_name(output_file) 34 domain.set_name() 36 35 37 36 #------------------------------------------------------------------------------ … … 60 59 # Setup Operators 61 60 #------------------------------------------------------------------------------ 62 from anuga.operators.set_stage_operator s import Circular_set_stage_operator61 from anuga.operators.set_stage_operator import Set_stage_operator 63 62 64 63 import math 65 64 66 65 stage1 = lambda t: h0 + 20.0 * math.sin(t/3.0) 67 cop1 = Circular_set_stage_operator(domain, stage=stage1, center=(0.0, 0.0), radius=100.0 )66 cop1 = Set_stage_operator(domain, stage=stage1, center=(0.0, 0.0), radius=100.0 ) 68 67 69 68 stage2 = lambda t: h0 + 30.0 * math.sin(t/6.0) 70 cop2 = Circular_set_stage_operator(domain, stage=stage2, center=(2000.0, 1000.0), radius=100.0 )69 cop2 = Set_stage_operator(domain, stage=stage2, center=(2000.0, 1000.0), radius=100.0 ) 71 70 72 71 #print cop1.statistics()
Note: See TracChangeset
for help on using the changeset viewer.