Ignore:
Timestamp:
Nov 6, 2008, 12:28:22 PM (15 years ago)
Author:
rwilson
Message:

Initial NumPy? changes (again!).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source_numpy_conversion/anuga/abstract_2d_finite_volumes/mesh_factory.py

    r3678 r5899  
     1## Automatically adapted for numpy.oldnumeric Oct 28, 2008 by alter_code1.py
     2
    13"""Library of standard meshes and facilities for reading various
    24mesh file formats
     
    7375
    7476    from anuga.config import epsilon
    75     from Numeric import zeros, Float, Int
     77#    from numpy.oldnumeric import zeros, Float, Int
     78    from numpy import zeros, float, int
    7679
    7780    delta1 = float(len1)/m
     
    9396    index = Index(n,m)
    9497
    95     points = zeros( (Np,2), Float)
     98    points = zeros( (Np,2), float)
    9699
    97100    for i in range(m+1):
     
    105108
    106109
    107     elements = zeros( (Nt,3), Int)
     110    elements = zeros( (Nt,3), int)
    108111    boundary = {}
    109112    nt = -1
     
    149152
    150153    from anuga.config import epsilon
    151     from Numeric import zeros, Float, Int
     154#    from numpy.oldnumeric import zeros, Float, Int
     155    from numpy import zeros, float, int
    152156
    153157    delta1 = float(len1)/m
     
    208212    """
    209213
    210     from Numeric import array
     214#    from numpy.oldnumeric import array
     215    from numpy import array
    211216    import math
    212217
     
    510515    """
    511516
    512     from Numeric import array
     517#    from numpy.oldnumeric import array
     518    from numpy import array
    513519    import math
    514520
     
    592598    """
    593599
    594     from Numeric import array
     600#    from numpy.oldnumeric import array
     601    from numpy import array
    595602    import math
    596603
     
    686693    """
    687694
    688     from Numeric import array
     695#    from numpy.oldnumeric import array
     696    from numpy import array
    689697    import math
    690698
Note: See TracChangeset for help on using the changeset viewer.