Changeset 6056 for anuga_validation


Ignore:
Timestamp:
Dec 11, 2008, 10:26:44 AM (16 years ago)
Author:
duncan
Message:

Removing dead code and following the style guide.

Location:
anuga_validation/automated_validation_tests/UQ_runup_2006
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/automated_validation_tests/UQ_runup_2006/create_mesh.py

    r4753 r6056  
    1 """Create mesh for lwru2 validation of the Oshiri island tsunami
     1"""Create mesh for UQ validation of the dam break flume at UQ
    22"""
    33
    44
    5 from anuga.pmesh.mesh import *
     5from anuga.pmesh.mesh import Mesh
    66from anuga.coordinate_transforms.geo_reference import Geo_reference
    77
  • anuga_validation/automated_validation_tests/UQ_runup_2006/project.py

    r4751 r6056  
    1 """Common filenames and locations for topographic data, meshes and outputs.
    2 Also includes origin for slump scenario.
     1"""Common filenames and locations for meshes and outputs.
    32"""
    43basename = "uq"
    5 
    6 depth_filename = "depth.csv"
    7 velocity_x_filename =  "velocity_x.csv"
    8 velocity_y_filename =  "velocity_y.csv"
    9 
    104mesh_filename = 'uq-mesh.tsh'
    11 
    125actual_filename = 'actual.csv'
  • anuga_validation/automated_validation_tests/UQ_runup_2006/run_dam.py

    r4774 r6056  
    1818# Related major packages
    1919from anuga.shallow_water import Domain, Reflective_boundary, \
    20                             Dirichlet_boundary, Time_boundary, File_boundary
     20     Dirichlet_boundary, Time_boundary, File_boundary
    2121from anuga.abstract_2d_finite_volumes.region import Set_region
    2222from anuga.fit_interpolate.interpolate import interpolate_sww2csv, \
     
    2525     copy_code_files
    2626from anuga.shallow_water.data_manager import csv2dict
    27 from numerical_tools import  err   # norm, corr, 
     27from numerical_tools import  err 
    2828
    2929# Application specific imports
    3030import create_mesh
    3131import project
    32 def main():
    33      
     32
     33def main():     
    3434    slope= 0
    3535    friction = 0.01
     
    5252
    5353    head,tail = path.split(project.mesh_filename)
     54   
    5455    #-------------------------------------------------------------------------
    5556    # Setup computational domain
    5657    #-------------------------------------------------------------------------
    5758    domain = Domain(project.mesh_filename, use_cache = False, verbose = False)
    58    
    59 
    60    
    6159    domain.set_name(project.basename)
    6260    domain.set_datadir('.')
Note: See TracChangeset for help on using the changeset viewer.