Changeset 6688
- Timestamp:
- Apr 1, 2009, 3:01:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/pmesh2domain.py
r6145 r6688 172 172 volumes = mesh_dict['triangles'] 173 173 vertex_quantity_dict = {} 174 point_atts = num.transpose(mesh_dict['vertex_attributes'])174 point_atts = mesh_dict['vertex_attributes'] 175 175 point_titles = mesh_dict['vertex_attribute_titles'] 176 176 geo_reference = mesh_dict['geo_reference'] 177 if point_atts != None: 177 if point_atts is not None: 178 point_atts = num.transpose(point_atts) 178 179 for quantity, value_vector in map (None, point_titles, point_atts): 179 180 vertex_quantity_dict[quantity] = value_vector
Note: See TracChangeset
for help on using the changeset viewer.