Changeset 5303


Ignore:
Timestamp:
May 9, 2008, 4:11:37 PM (16 years ago)
Author:
ole
Message:

Decided to leave use_centroid_velocities as an option for the time
being.

Files:
5 edited

Legend:

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

    r5290 r5303  
    9292# reconstruction of stage and this option speeds ANUGA up
    9393#
    94 # This option must be used with tight_slope_limiters.
    95 use_centroid_velocities = True
     94# This option is good with tight_slope_limiters, especially for large domains.
     95use_centroid_velocities = False
    9696
    9797
  • anuga_core/source/anuga/shallow_water/shallow_water_domain.py

    r5294 r5303  
    15191519                 domain,
    15201520                 quantity_name,
    1521                  rate=None,
     1521                 rate=0.0,
    15221522                 center=None, radius=None,
    15231523                 polygon=None,
     
    15341534        self.polygon = polygon       
    15351535        self.verbose = verbose
     1536        self.value = 0.0 # Can be used to remember value at
     1537                         # previous timestep in order to obtain rate
    15361538
    15371539        # Update area if applicable
  • anuga_core/source/anuga/shallow_water/test_data_manager.py

    r5290 r5303  
    565565        self.domain.beta_h = 0
    566566
     567        self.domain.tight_slope_limiters = True
     568        self.domain.use_centroid_velocities = True       
     569       
    567570        # In this case tight_slope_limiters as default
    568571        # in conjunction with protection
  • anuga_core/source/anuga/shallow_water/test_shallow_water_domain.py

    r5294 r5303  
    29302930        domain = Domain(points, elements)
    29312931        domain.check_integrity()
     2932        domain.tight_slope_limiters = True
     2933        domain.use_centroid_velocities = True               
    29322934
    29332935        # Create non-flat bed - closely hugging initial stage in places
  • anuga_validation/automated_validation_tests/okushiri_tank_validation/run_okushiri.py

    r5297 r5303  
    6565    domain.beta_h = 0.0
    6666    domain.tight_slope_limiters = True # Run time invariant in this case
     67    domain.use_centroid_velocities = True
    6768
    6869    #-------------------------
Note: See TracChangeset for help on using the changeset viewer.