Changeset 6580


Ignore:
Timestamp:
Mar 23, 2009, 1:09:01 PM (15 years ago)
Author:
jgriffin
Message:

run_model can change time step for output

Location:
anuga_work/production/new_south_wales/batemans_bay
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/new_south_wales/batemans_bay/project.py

    r6577 r6580  
    110110# Used in get_timeseries.py. 
    111111# Format easting,northing,name,elevation (with header)
    112 ##gauges_filename = 'gauges.csv'
     112gauges_filename = 'gauges.csv'
    113113
    114114# BUILDINGS EXPOSURE - for identifying inundated houses
     
    245245# The absolute pathname for the gauges file
    246246# Used for get_timeseries.py
    247 ##gauges = join(gauges_folder, gauges_filename)       
     247gauges = join(gauges_folder, gauges_filename)       
    248248
    249249# The absolute pathname for the building file
  • anuga_work/production/new_south_wales/batemans_bay/run_model.py

    r6577 r6580  
    147147
    148148domain.set_boundary({'back': Br,
    149                      'side': Bt,
     149                     'side': Bd,
    150150                     'ocean': Bf})
    151151
     
    161161    print domain.boundary_statistics(tags='ocean')
    162162
    163 for t in domain.evolve(yieldstep=5,
    164                        finaltime=project.finaltime,
    165                        skip_initial_step=True):
    166     print domain.timestepping_statistics()
    167     print domain.boundary_statistics(tags='ocean')
     163##for t in domain.evolve(yieldstep=5,
     164##                       finaltime=project.finaltime,
     165##                       skip_initial_step=True):
     166##    print domain.timestepping_statistics()
     167##    print domain.boundary_statistics(tags='ocean')
    168168
    169169print 'Simulation took %.2f seconds' % (time.time()-t0)
Note: See TracChangeset for help on using the changeset viewer.