Ignore:
Timestamp:
Aug 28, 2007, 2:23:35 PM (17 years ago)
Author:
ole
Message:

Implemented optimisation excluding dry cells from flux calculation.
All tests pass and the script run_okushiri_profile.py reports an improvement
in compute_fluxes from 11.25s to 8.58s or 24% faster.
The overall computation was about 40s, so this optimisation improved the
total running time for the problem in question by 7%.

This partially addresses ticket:135

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/config.py

    r4677 r4685  
    130130
    131131
    132 optimised_gradient_limiter = True #Use hardwired gradient limiter
     132optimise_dry_cells = True # Exclude dry and still cells from flux computation
     133
     134optimised_gradient_limiter = True # Use hardwired gradient limiter
    133135
    134136#Specific to shallow water W.E.
     
    140142
    141143
    142 minimum_storable_height = 1.0e-5 #Water depth below which it is *stored* as 0
     144minimum_storable_height = 1.0e-5 # Water depth below which it is *stored* as 0
    143145
    144146points_file_block_line_size = 500 # Number of lines read in from a points file
     
    146148
    147149umask = 002  # used to set file and directory permission created by anuga
     150
Note: See TracChangeset for help on using the changeset viewer.