- Timestamp:
- Sep 20, 2009, 6:35:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/test_quantity.py
r7276 r7519 1867 1867 1868 1868 x = num.array([1., 2., 3., 4.]) 1869 x += timestep*num.array( [4.0, 3.0, 2.0, 1.0] ) 1869 1870 x /= denom 1870 x += timestep*num.array( [4.0, 3.0, 2.0, 1.0] ) 1871 1871 1872 1872 1873 assert num.allclose( quantity.centroid_values, x)
Note: See TracChangeset
for help on using the changeset viewer.