Changeset 4768
- Timestamp:
- Oct 30, 2007, 1:12:45 PM (17 years ago)
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/abstract_2d_finite_volumes/quantity.py
r4735 r4768 527 527 if indices is not None: 528 528 indices = array(indices).astype(Int) 529 msg = 'Number of values must match number of indices' 529 msg = 'Number of values must match number of indices:' 530 msg += 'You specified %d values and %d indices'\ 531 %(values.shape[0], indices.shape[0]) 530 532 assert values.shape[0] == indices.shape[0], msg 531 533 … … 996 998 The values will be stored in elements following their 997 999 internal ordering. 998 999 1000 """ 1000 1001 from Numeric import take 1002 1003 # FIXME (Ole): I reckon we should have the option of passing a 1004 # polygon into get_values. The question becomes how 1005 # resulting values should be ordered. 1001 1006 1002 1007 if interpolation_points is not None: -
anuga_core/source/anuga/config.py
r4733 r4768 65 65 # stationary water 'lapping' upwards to a higher point on the coast. 66 66 # 67 # 68 # 67 # NOTE (Ole): I believe this was addressed with the introduction of 68 # tight_slope_limiters. I wish to retire the beta_? parameters. 69 # Can you please let me know if you disagree? 70 71 69 72 #There are separate betas for the w, uh, vh and h limiters 70 73 # -
anuga_core/source/anuga/utilities/polygon.py
r4669 r4768 80 80 raise NameError, e 81 81 except: 82 # FIXME(Ole): This message is wrong. Shouldn't it be "Absolute" 83 # rather than "Numeric"? 84 # (DSG) If this fails it is going to be because the points can't be 85 # converted to a numeric array. So this error message is good. 82 # If this fails it is going to be because the points can't be 83 # converted to a numeric array. 86 84 msg = 'Points could not be converted to Numeric array' 87 85 raise msg … … 92 90 raise NameError, e 93 91 except: 94 # FIXME(Ole): This message is wrong. Shouldn't it be "Absolute" 95 # rather than "Numeric"? 96 # (DSG) If this fails it is going to be because the points can't be 97 # converted to a numeric array. So this error message is good. 92 # If this fails it is going to be because the points can't be 93 # converted to a numeric array. 98 94 msg = 'Polygon %s could not be converted to Numeric array' %(str(polygon)) 99 95 raise msg -
anuga_validation/performance_tests/okushiri/run_okushiri_profile.py
r4732 r4768 100 100 #s = S.sort_stats('cumulative').print_stats(30) 101 101 102 s.print_callers() 102 103 print s 103 104 -
anuga_work/publications/anuga_2007/anuga_validation.tex
r4676 r4768 85 85 86 86 87 \ANUGA{} is avail bale as Open Source to enable87 \ANUGA{} is available as Open Source to enable 88 88 free access to the software and allow the scientific community to 89 89 use, validate and contribute to the software in the future.
Note: See TracChangeset
for help on using the changeset viewer.