- Timestamp:
- Feb 13, 2009, 10:39:47 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/busselton/standardised_version/run_model.py
r6328 r6329 62 62 63 63 # Create the STS file 64 bub.build_urs_boundary(project.mux_data_folder, 65 project.mux_input,64 print 'project.mux_data_folder=%s' % project.mux_data_folder 65 bub.build_urs_boundary(project.mux_input_filename, 66 66 os.path.join(project.event_folder, 67 67 project.scenario_name)) … … 78 78 79 79 # Number of boundary segments 80 N= len(event_sts) - 180 num_ocean_segments = len(event_sts) - 1 81 81 # Number of landward_boundary points 82 M= file_length(project.landward_boundary)82 num_land_points = file_length(project.landward_boundary) 83 83 84 84 # Boundary tags refer to project.landward_boundary 85 85 # 4 points equals 5 segments start at N 86 boundary_tags={'back': range(N+1,N+M), 87 'side': [N,N+M], 88 'ocean': range(N)} 86 boundary_tags={'back': range(num_ocean_segments+1, 87 num_ocean_segments+num_land_points), 88 'side': [num_ocean_segments, 89 num_ocean_segments+num_land_points], 90 'ocean': range(num_ocean_segments)} 89 91 90 92 # Build mesh and domain
Note: See TracChangeset
for help on using the changeset viewer.