Changeset 8970 for trunk/anuga_core/source/anuga/fit_interpolate
- Timestamp:
- Sep 11, 2013, 7:43:43 AM (11 years ago)
- Location:
- trunk/anuga_core/source/anuga/fit_interpolate
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/fit_interpolate/fit.py
r8808 r8970 67 67 Padarn Note 05/12/12: This documentation should probably 68 68 be updated to account for the fact that the fitting is now 69 done in C. I wasn't sure what details were nec cesary though.69 done in C. I wasn't sure what details were necessary though. 70 70 71 71 Fit data at points to the vertices of a mesh. -
trunk/anuga_core/source/anuga/fit_interpolate/interpolate2d.py
r8969 r8970 261 261 Nx = len(x) 262 262 Ny = len(y) 263 msg = ('Input array Z must have dimensions %i x %i corresponding to the ' 264 'lengths of the input coordinates x and y. However, ' 265 'Z has dimensions %i x %i.' % (Nx, Ny, m, n)) 263 264 msg = ('Input array Z must have dimensions %i x %i corresponding to the ' 265 'lengths of the input coordinates x and y. However, ' 266 'Z has dimensions %i x %i.' % (Nx, Ny, m, n)) 266 267 if not (Nx == m and Ny == n): 267 268 raise ANUGAError(msg)
Note: See TracChangeset
for help on using the changeset viewer.