Ignore:
Timestamp:
Aug 5, 2010, 8:20:47 PM (13 years ago)
Author:
mungkasi
Message:

Modifying codes so that arrays are compatible with numpy instead of Numeric.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_work/development/sudi/sw_1d/periodic_waves/johns/run-program.py

    r7837 r7922  
    11from scipy import sin, cos, sqrt, linspace, pi, dot
    2 from Numeric import zeros, Float, array
     2from Numeric import Float
     3from numpy import zeros,array
    34from gaussPivot import *
    45from analytical_prescription import *
     
    134135
    135136waktu = 10.0     #3.0*60.0
    136 WAKTU = 12690.0  #Note: Tp=15.0*60.0
     137WAKTU = 10.0#12690.0  #Note: Tp=15.0*60.0
    137138yieldstep = finaltime = waktu
    138139t0 = time.time()
Note: See TracChangeset for help on using the changeset viewer.