Ignore:
Timestamp:
Apr 21, 2013, 10:24:15 AM (12 years ago)
Author:
steve
Message:

Added parameter to just test the fitting

Location:
trunk/anuga_core/demos/cairns
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/demos/cairns/project.py

    r8821 r8846  
    5757
    5858# bigger base_scale == less triangles
    59 base_scale = 100000 # 162170 triangles
     59just_fitting = False
     60#base_scale = 25000 # 635763 # 112sec fit
     61#base_scale = 50000 # 321403 # 69sec fit
     62base_scale = 100000 # 162170 triangles # 45sec fit
    6063#base_scale = 400000 # 42093
    6164default_res = 100 * base_scale   # Background resolution
  • trunk/anuga_core/demos/cairns/run_cairns.py

    r8763 r8846  
    2626import project                 # Definition of file names and polygons
    2727
     28time00 = time.time()
    2829#------------------------------------------------------------------------------
    2930# Preparation of topographic data
     
    8081                    verbose=project.verbose,
    8182                    alpha=0.1)
     83
     84
     85time01 = time.time()
     86print 'That took %.2f seconds to fit data' %(time01-time00)
     87
     88if project.just_fitting:
     89    import sys
     90    sys.exit()
    8291
    8392#------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.