Ignore:
Timestamp:
Feb 13, 2009, 10:39:47 AM (16 years ago)
Author:
rwilson
Message:

Further changes from testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/busselton/standardised_version/run_model.py

    r6328 r6329  
    6262
    6363# Create the STS file
    64 bub.build_urs_boundary(project.mux_data_folder,
    65                        project.mux_input,
     64print 'project.mux_data_folder=%s' % project.mux_data_folder
     65bub.build_urs_boundary(project.mux_input_filename,
    6666                       os.path.join(project.event_folder,
    6767                                    project.scenario_name))
     
    7878
    7979# Number of boundary segments
    80 N = len(event_sts) - 1
     80num_ocean_segments = len(event_sts) - 1
    8181# Number of landward_boundary points
    82 M = file_length(project.landward_boundary)
     82num_land_points = file_length(project.landward_boundary)
    8383
    8484# Boundary tags refer to project.landward_boundary
    8585# 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)}
     86boundary_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)}
    8991
    9092# Build mesh and domain
Note: See TracChangeset for help on using the changeset viewer.