Changeset 9024


Ignore:
Timestamp:
Nov 16, 2013, 7:39:52 AM (11 years ago)
Author:
steve
Message:

Fixed bug in run_set_stage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/operators/run_set_stage.py

    r8599 r9024  
    3232print domain.starttime
    3333
    34 output_file = 'set_stage'
    35 domain.set_name(output_file)               
     34domain.set_name()               
    3635
    3736#------------------------------------------------------------------------------
     
    6059# Setup Operators
    6160#------------------------------------------------------------------------------
    62 from anuga.operators.set_stage_operators import Circular_set_stage_operator
     61from anuga.operators.set_stage_operator import Set_stage_operator
    6362
    6463import math
    6564
    6665stage1 = 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 )
     66cop1 = Set_stage_operator(domain, stage=stage1, center=(0.0, 0.0), radius=100.0 )
    6867
    6968stage2 = 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 )
     69cop2 = Set_stage_operator(domain, stage=stage2, center=(2000.0, 1000.0), radius=100.0 )
    7170
    7271#print cop1.statistics()
Note: See TracChangeset for help on using the changeset viewer.