Changeset 4184 for anuga_core/source/anuga/fit_interpolate/fit.py
- Timestamp:
- Jan 19, 2007, 4:26:57 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/fit_interpolate/fit.py
r4175 r4184 261 261 # self.mesh.get_boundary_polygon() 262 262 263 # Why are these global? 264 self.inside_poly_indices, self.outside_poly_indices = \ 263 inside_poly_indices, outside_poly_indices = \ 265 264 in_and_outside_polygon(point_coordinates, 266 265 self.mesh.get_boundary_polygon(), … … 270 269 271 270 272 n = len( self.inside_poly_indices)271 n = len(inside_poly_indices) 273 272 if verbose: print 'Building fitting matrix from %d points' %n 274 273 #Compute matrix elements for points inside the mesh 275 for k, i in enumerate( self.inside_poly_indices):274 for k, i in enumerate(inside_poly_indices): 276 275 #For each data_coordinate point 277 276 if verbose and k%((n+10)/10)==0: print 'Doing %d of %d' %(k, n)
Note: See TracChangeset
for help on using the changeset viewer.