Ignore:
Timestamp:
Jan 4, 2008, 11:36:52 AM (16 years ago)
Author:
duncan
Message:

Removing some of the old pmesh mesh triangulation data structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/abstract_2d_finite_volumes/pmesh2domain.py

    r4901 r4902  
    175175    point_titles  = mesh_dict['vertex_attribute_titles']
    176176    geo_reference  = mesh_dict['geo_reference']
    177     for quantity, value_vector in map (None, point_titles, point_atts):
    178         vertex_quantity_dict[quantity] = value_vector
     177    if point_atts != None:
     178        for quantity, value_vector in map (None, point_titles, point_atts):
     179            vertex_quantity_dict[quantity] = value_vector
    179180    tag_dict = pmesh_dict_to_tag_dict(mesh_dict)
    180181    tagged_elements_dict = build_tagged_elements_dictionary(mesh_dict)
Note: See TracChangeset for help on using the changeset viewer.