Ignore:
Timestamp:
Aug 24, 2005, 1:49:47 PM (19 years ago)
Author:
ole
Message:

Embedded caching functionality within quantity.set_values and modified validation example lwru2.py to illustrate the advantages that can be gained from supervised caching.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/test_domain.py

    r1751 r1753  
    290290
    291291
    292         domain.set_quantity('stage', [1,2,3,4], 'centroids')
    293         domain.set_quantity('xmomentum', [1,2,3,4], 'centroids')
    294         domain.set_quantity('ymomentum', [1,2,3,4], 'centroids')
     292        domain.set_quantity('stage', [1,2,3,4], location='centroids')
     293        domain.set_quantity('xmomentum', [1,2,3,4], location='centroids')
     294        domain.set_quantity('ymomentum', [1,2,3,4], location='centroids')
    295295
    296296
Note: See TracChangeset for help on using the changeset viewer.