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/pmesh2domain.py

    r4902 r5899  
     1## Automatically adapted for numpy.oldnumeric Oct 28, 2008 by alter_code1.py
     2
    13"""Class pmesh2domain - Converting .tsh files to doamains
    24
     
    161163    """
    162164
    163     from Numeric import transpose
     165#    from numpy.oldnumeric import transpose
     166    from numpy import transpose
    164167    from load_mesh.loadASCII import import_mesh_file
    165168
     
    176179    geo_reference  = mesh_dict['geo_reference']
    177180    if point_atts != None:
    178         for quantity, value_vector in map (None, point_titles, point_atts):
     181        print 'type(point_atts)=%s' % type(point_atts)
     182        for quantity, value_vector in map(None, point_titles, point_atts):
    179183            vertex_quantity_dict[quantity] = value_vector
    180184    tag_dict = pmesh_dict_to_tag_dict(mesh_dict)
Note: See TracChangeset for help on using the changeset viewer.