Changeset 6027 for anuga_work/production/geraldton/run_geraldton.py
- Timestamp:
- Nov 28, 2008, 11:48:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/geraldton/run_geraldton.py
r5789 r6027 38 38 from anuga.shallow_water.data_manager import export_grid, create_sts_boundary 39 39 from anuga.pmesh.mesh_interface import create_mesh_from_regions 40 from anuga.pmesh.mesh import importMeshFromFile 40 41 from anuga.shallow_water.data_manager import start_screen_catcher, copy_code_files,store_parameters 41 42 from anuga_parallel.parallel_abstraction import get_processor_name … … 44 45 from anuga.fit_interpolate.benchmark_least_squares import mem_usage 45 46 from anuga.utilities.polygon import read_polygon, plot_polygons, polygon_area, is_inside_polygon 46 from anuga.geospatial_data.geospatial_data import find_optimal_smoothing_parameter 47 from anuga.geospatial_data.geospatial_data import find_optimal_smoothing_parameter,Geospatial_data 47 48 from polygon import Polygon_function 48 49 50 49 51 # Application specific imports 50 52 import project # Definition of file names and polygons … … 109 111 interior_regions=project.interior_regions, 110 112 filename=project.meshes_dir_name, 111 use_cache= True,113 use_cache=False, 112 114 verbose=True) 115 116 m = importMeshFromFile(project.meshes_dir_name) 117 # load points from a points file 118 m.add_points_and_segments(Geospatial_data(project.barrier_dir_name)) 119 m.add_points_and_segments(Geospatial_data(project.barrier_dir_name1)) 120 m.generate_mesh() 121 m.export_mesh_file(project.meshes_dir_name) 113 122 114 123 #------------------------------------------------------------------------- … … 224 233 225 234 kwargs={} 235 kwargs['file_name']=project.dir_comment 226 236 kwargs['finaltime']=project.finaltime 227 237 kwargs['output_dir']=project.output_run_time_dir
Note: See TracChangeset
for help on using the changeset viewer.