Changeset 7804 for trunk/anuga_core/source/anuga/fit_interpolate
- Timestamp:
- Jun 7, 2010, 4:19:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/fit_interpolate/fit.py
r7751 r7804 299 299 assert flag is True, msg 300 300 301 # FIXME(Ole): This is the message referred to in ticket:314 302 minx = min(self.mesh_boundary_polygon[:,0]) 303 maxx = max(self.mesh_boundary_polygon[:,0]) 304 miny = min(self.mesh_boundary_polygon[:,1]) 305 maxy = max(self.mesh_boundary_polygon[:,1]) 306 msg = 'Could not find triangle for point %s. ' % str(x) 307 msg += 'Mesh boundary extent is (%.f, %.f), (%.f, %.f)'\ 308 % (minx, maxx, miny, maxy) 309 raise RuntimeError, msg 310 301 # data point has fallen within a hole - so ignore it. 311 302 312 303 self.AtA = AtA
Note: See TracChangeset
for help on using the changeset viewer.