Ignore:
Timestamp:
Jun 11, 2010, 7:46:04 PM (13 years ago)
Author:
steve
Message:

anuga_1d works with numeric on 64bit machine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/anuga_1d/shallow_water_vel_domain.py

    r6042 r7825  
    264264    uh_V = domain.quantities['xmomentum'].vertex_values
    265265
    266     h_V[:]    = w_V - z_V
     266    #print w_V
     267    #print z_V
     268   
     269    h_V[:,:]    = w_V - z_V
    267270    for i in range(len(h_C)):
    268271        for j in range(2):
     
    275278                w_V[i,(j+1)%2] = w_V[i,(j+1)%2] + dh
    276279               
    277     uh_V[:] = u_V * h_V
     280    uh_V[:,:] = u_V * h_V
    278281
    279282   
     
    341344    uh_V = domain.quantities['xmomentum'].vertex_values
    342345
    343     h_V[:]    = w_V - z_V
     346    h_V[:,:]    = w_V - z_V
    344347
    345348    for i in range(len(h_C)):
Note: See TracChangeset for help on using the changeset viewer.