Changeset 9025


Ignore:
Timestamp:
Nov 18, 2013, 3:03:23 PM (11 years ago)
Author:
steve
Message:

move set_w_uh_vh_operator

Location:
trunk/anuga_core/source/anuga/operators
Files:
2 edited
1 moved

Legend:

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

    r8944 r9025  
    141141    """
    142142    if t<=4.0:
    143         return (x+y)
     143        return (x+y)*0.0
    144144    else:
    145         return 0*x
     145        return 0.0*x
    146146
    147147factor = 1e-3
     
    169169
    170170    print indent + 'Integral = ', height.get_integral()
    171 
    172 
    173171    print indent + 'Exact accumultion = ', accum
     172   
    174173    dd = max(min(yieldstep,5.0-t),0.0)
    175174    accum += (Q1+Q2)*yieldstep + dd*Q3
     
    179178
    180179
     180
  • trunk/anuga_core/source/anuga/operators/run_set_stage.py

    r9024 r9025  
    2929domain = anuga.rectangular_cross_domain(int(L/dx), int(W/dy), L, W, (-L/2.0, -W/2.0))
    3030
    31 
    32 print domain.starttime
    3331
    3432domain.set_name()               
Note: See TracChangeset for help on using the changeset viewer.