Changeset 4901 for anuga_core/source/anuga/mesh_engine/mesh_engine.py
- Timestamp:
- Jan 3, 2008, 9:58:32 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/mesh_engine/mesh_engine.py
r4900 r4901 148 148 #print "mesh eng generatedtrianglelist", trianglelist 149 149 #print "mesh eng mesh_dict['triangleattributelist'] ",mesh_dict['triangleattributelist'] 150 #print "mesh eng mesh_dict['generatedtriangleattributelist'] ", mesh_dict['generatedtriangleattributelist'] 151 150 #print "mesh eng mesh_dict['generatedtriangleattributelist'] ", mesh_dict['generatedtriangleattributelist'] 152 151 if True: 153 152 mesh_dict['generatedtriangleattributelist'] = triangleattributelist … … 155 154 if mesh_dict['generatedtriangleattributelist'].shape[1] == 0: 156 155 mesh_dict['generatedtriangleattributelist'] = None 156 157 157 if trianglelist.shape[0] == 0: 158 158 # There are no triangles. 159 159 # this is used by urs_ungridded2sww 160 160 raise NoTrianglesError 161 #print "mesh eng mesh_dict['generatedtriangleattributelist'] ", mesh_dict['generatedtriangleattributelist'] 161 #print "mesh eng mesh_dict['generatedtriangleattributelist'] ", mesh_dict['generatedtriangleattributelist'] 162 163 # the structure of generatedtriangleattributelist is an list of 164 # list of integers. It is transformed into a list of list of 165 # strings later on. This is then inputted into an triangle 166 # object. The triangle object outputs a list of strings. Note 167 # the subtle change! How should I handle this? For my code, when 168 # the list of list of integers is transformed, transform it into a 169 # list of strings, not a list of list of strings. 162 170 163 171 return mesh_dict
Note: See TracChangeset
for help on using the changeset viewer.