Changeset 9103
- Timestamp:
- May 2, 2014, 1:41:53 PM (11 years ago)
- Location:
- trunk/anuga_core/source
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga_parallel/distribute_mesh.py
r9076 r9103 209 209 210 210 211 from pprint import pprint212 print 'epart'213 pprint(epart)214 print 'new_tri_index'215 pprint(new_tri_index)211 #from pprint import pprint 212 #print 'epart' 213 #pprint(epart) 214 #print 'new_tri_index' 215 #pprint(new_tri_index) 216 216 217 217 #print 50*'=' -
trunk/anuga_core/source/anuga_validation_tests/case_studies/patong/project.py
r9056 r9103 37 37 nameFlag='xxNameFlagxx' 38 38 39 use_buildings = False # FIXME: 6/6/2013 -- Code needs to be edited to support 'True'39 use_buildings = False # Add buildings to the DEM? This is slow initially 40 40 setup = 'basic' # This can be one of three values 41 41 # trial - coarsest mesh, fast -
trunk/anuga_core/source/anuga_validation_tests/case_studies/patong/run_model.py
r9058 r9103 33 33 # Application specific imports 34 34 import build_urs_boundary as bub 35 36 from anuga.file.csv_file import load_csv_as_building_polygons 35 37 36 38 #------------------------------------------------------------------------------- … … 147 149 log.critical('Reading building polygons') 148 150 149 err_mess='ERROR: csv2building_polygons no longer exists (6/6/2013).\ 150 This needs to be fixed before buildings can be ran' 151 raise Exception(err_mess) 152 153 154 #building_polygons, building_heights = csv2building_polygons(project.building_polygon) 151 building_polygons, building_heights = load_csv_as_building_polygons(project.building_polygon, floor_height=3.) 155 152 #clipping_polygons=project.building_area_polygons) 156 153 … … 169 166 170 167 log.critical('Creating %d building polygons' % len(building_polygons)) 171 buildings = cache(create_polygon_function, 168 #buildings = create_polygon_function(building_polygons) 169 buildings = anuga.cache(create_polygon_function, 172 170 building_polygons, 173 171 {'geo_reference': domain.geo_reference},
Note: See TracChangeset
for help on using the changeset viewer.