Changeset 905
- Timestamp:
- Feb 17, 2005, 11:51:58 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/pmesh2domain.py
r773 r905 33 33 #(when I get around to it) so it should be removed from here. 34 34 35 # This doesn't work on the domain instance. 36 # This is still needed so -ve elevations don't cuase 'lakes' 37 # The fixme we discussed was to only create a quantity when its values are set. 38 # I think that's the way to go still 39 35 40 # set the water stage to be the elevation 36 # This doesn't work on the domain instance.37 41 if vertex_quantity_dict.has_key('elevation') and not vertex_quantity_dict.has_key('stage'): 38 42 vertex_quantity_dict['stage'] = vertex_quantity_dict['elevation'] 43 39 44 domain.set_quantity_vertices_dict(vertex_quantity_dict) 40 45 #print "vertex_quantity_dict",vertex_quantity_dict … … 102 107 #instead of having to be created here? 103 108 109 #This information is pyvolution focused, not mesh generation focused. 110 #This is an appropriate place for the info to be created. -DSG 111 104 112 #FIXME: Another issue is that the tsh file stores consecutive 105 113 #indices explicitly. This is really redundant. 106 114 #Suggest looking at obj and our own sww format and also consider 107 115 #using netCDF. 116 117 # It is redundant. It was the format originally decided on. 118 # I'm happy for it to change. -DSG 108 119 109 120 def pmesh_dict_to_marker_dict(mesh_dict):
Note: See TracChangeset
for help on using the changeset viewer.