Changeset 1753 for inundation/pyvolution/test_advection.py
- Timestamp:
- Aug 24, 2005, 1:49:47 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/test_advection.py
r1556 r1753 77 77 domain.check_integrity() 78 78 79 domain.set_quantity('stage', [1.0], 'centroids')79 domain.set_quantity('stage', [1.0], location='centroids') 80 80 81 81 domain.distribute_to_vertices_and_edges() … … 136 136 #Populate boundary array with dirichlet conditions. 137 137 domain.neighbours = array([[1,-1,-2], [0,-3,-4]]) 138 domain.set_quantity('stage', [1.0, 0.0], 'centroids')138 domain.set_quantity('stage', [1.0, 0.0], location='centroids') 139 139 domain.distribute_to_vertices_and_edges() 140 140
Note: See TracChangeset
for help on using the changeset viewer.