Ignore:
Timestamp:
Jun 18, 2010, 5:49:57 PM (12 years ago)
Author:
steve
Message:

Continuing to numpy the for loops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/2010-projects/anuga_1d/sww/sww_vel_domain.py

    r7852 r7860  
    246246            w_C[i] = z_C[i]
    247247        else:
    248             #u_C[i]  = uh_C[i]/(h_C[i] + h0/h_C[i])
    249             u_C[i]  = uh_C[i]/h_C[i]
     248            u_C[i]  = uh_C[i]/(h_C[i] + h0/h_C[i])
     249            #u_C[i]  = uh_C[i]/h_C[i]
    250250       
    251251    for name in [ 'velocity', 'stage' ]:
Note: See TracChangeset for help on using the changeset viewer.