Changeset 3870


Ignore:
Timestamp:
Oct 26, 2006, 7:56:56 AM (18 years ago)
Author:
nick
Message:

dampier updates

Location:
anuga_work/production/dampier_2006
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/dampier_2006/build_dampier.py

    r3853 r3870  
    3232from anuga.pmesh.mesh_interface import create_mesh_from_regions
    3333from anuga.geospatial_data.geospatial_data import *
     34from anuga.abstract_2d_finite_volumes.util import Screen_Catcher
    3435
    3536# Application specific imports
  • anuga_work/production/dampier_2006/project.py

    r3851 r3870  
    3636#mesh_name = 'elevation50m'
    3737boundaries_name = 'dampier'
    38 boundaries_source = 'mag_9_corrected'
     38boundaries_source = 'test'
    3939
    4040# topography file names
  • anuga_work/production/dampier_2006/run_dampier.py

    r3851 r3870  
    3333
    3434from anuga.geospatial_data.geospatial_data import *
     35from anuga.abstract_2d_finite_volumes.util import Screen_Catcher
    3536
    3637# Application specific imports
     
    6263copy (__file__, project.output_run_time_dir + basename(__file__))
    6364print 'project.output_run_time_dir',project.output_run_time_dir
     65
     66#normal screen output is stored in
     67screen_output_name = project.outputtimedir + "screen_output.txt"
     68screen_error_name = project.outputtimedir + "screen_error.txt"
     69
     70#used to catch screen output to file
     71sys.stdout = Screen_Catcher(screen_output_name)
     72sys.stderr = Screen_Catcher(screen_error_name)
     73
     74print 'USER:    ', project.user
    6475
    6576#--------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.