Ignore:
Timestamp:
Jun 7, 2010, 4:19:31 PM (15 years ago)
Author:
James Hudson
Message:

Fixed up failing tests, updated user guide with new API (first few chapters only).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/fit_interpolate/fit.py

    r7751 r7804  
    299299                assert flag is True, msg               
    300300               
    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.
    311302               
    312303        self.AtA = AtA
Note: See TracChangeset for help on using the changeset viewer.