Changeset 636 for inundation/ga/storm_surge/pyvolution/pmesh2domain.py
- Timestamp:
- Nov 30, 2004, 2:19:54 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/pmesh2domain.py
r415 r636 19 19 20 20 assert issubclass(DomainClass, Domain), "DomainClass is not a subclass of Domain." 21 22 23 21 24 domain = DomainClass(vertex_coordinates, volumes, marker_dict, 22 25 tagged_elements = tagged_elements_dict ) 23 26 27 28 29 #FIXME (Ole): Is this really the right place to apply the a default 30 #value specific to the shallow water wave equation? 31 #The 'assert' above indicates that any subclass of Domain is acceptable. 32 #Suggestion - module shallow_water.py will eventually take care of this 33 #(when I get around to it) so it should be removed from here. 34 24 35 # set the water level to be the elevation 25 36 if vertex_quantity_dict.has_key('elevation') and not vertex_quantity_dict.has_key('level'):
Note: See TracChangeset
for help on using the changeset viewer.