Changeset 3037


Ignore:
Timestamp:
Jun 1, 2006, 10:03:28 AM (18 years ago)
Author:
ole
Message:

Updated header comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • production/pt_hedland_2006/run_pt_hedland.py

    r2955 r3037  
    1 """Script for running a tsunami inundation scenario for Onslow, WA, Australia.
     1"""Script for running a tsunami inundation scenario for Port Hedland, WA, Australia.
    22
    33Source data such as elevation and boundary data is assumed to be available in
     
    55The output sww file is stored in project.outputtimedir
    66
    7 The scenario is defined by a triangular mesh created from project.polygon,
    8 the elevation data and a simulated submarine landslide.
    9 
    10 Ole Nielsen and Duncan Gray, GA - 2005 and Nick Bartzis, GA - 2006
     7The scenario is defined by a triangular mesh created from project.polygon and
     8the elevation data.
     9
     10Ole Nielsen and Duncan Gray, GA - 2005, Nick Bartzis and Jane Sexton, GA - 2006
    1111"""
    1212
    1313
    14 #-------------------------------------------------------------------------------# Import necessary modules
    15 #-------------------------------------------------------------------------------
     14#------------------------------------------------------------------------------
     15# Import necessary modules
     16#------------------------------------------------------------------------------
    1617
    1718# Standard modules
     
    4243from pyvolution.util import Screen_Catcher
    4344
    44 #-------------------------------------------------------------------------------
     45#------------------------------------------------------------------------------
    4546# Preparation of topographic data
    4647#
     
    4849# Do for coarse and fine data
    4950# Fine pts file to be clipped to area of interest
    50 #-------------------------------------------------------------------------------
     51#------------------------------------------------------------------------------
    5152
    5253# filenames
     
    108109
    109110'''
    110 #-------------------------------------------------------------------------------                                 
     111#------------------------------------------------------------------------------
    111112# Create the triangular mesh based on overall clipping polygon with a tagged
    112113# boundary and interior regions defined in project.py along with
    113114# resolutions (maximal area of per triangle) for each polygon
    114 #-------------------------------------------------------------------------------
     115#------------------------------------------------------------------------------
    115116
    116117from pmesh.mesh_interface import create_mesh_from_regions
     
    166167
    167168
    168 #-------------------------------------------------------------------------------                                 
     169#------------------------------------------------------------------------------
    169170# Setup computational domain
    170 #-------------------------------------------------------------------------------                                 
     171#------------------------------------------------------------------------------
     172
    171173'''
    172174domain = pmesh_to_domain_instance(meshname, Domain,
     
    185187domain.set_quantities_to_be_stored(['stage', 'xmomentum', 'ymomentum'])
    186188
    187 #-------------------------------------------------------------------------------                                 
     189#------------------------------------------------------------------------------
    188190# Setup initial conditions
    189 #-------------------------------------------------------------------------------
     191#------------------------------------------------------------------------------
    190192
    191193tide = 0.
     
    205207#import sys; sys.exit()
    206208
    207 #-------------------------------------------------------------------------------                                 
     209#------------------------------------------------------------------------------
    208210# Setup boundary conditions (all reflective)
    209 #-------------------------------------------------------------------------------
     211#------------------------------------------------------------------------------
    210212print 'start ferret2sww'
    211213# skipped as results in file SU-AU_clipped is correct for all WA
     
    253255                             'bottomleft': Br, 'bottomright': Br, 'right': Br})
    254256                             
    255 #-------------------------------------------------------------------------------                                 
     257#------------------------------------------------------------------------------
    256258# Evolve system through time
    257 #-------------------------------------------------------------------------------
     259#------------------------------------------------------------------------------
    258260import time
    259261t0 = time.time()
Note: See TracChangeset for help on using the changeset viewer.