Changeset 4822
- Timestamp:
- Nov 16, 2007, 5:14:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/fit_interpolate/fit.py
r4779 r4822 97 97 else: 98 98 self.alpha = alpha 99 99 100 FitInterpolate.__init__(self, 100 101 vertex_coordinates, … … 348 349 349 350 350 # build the array351 # Build the array 351 352 points = geo_block.get_data_points(absolute=True) 352 353 z = geo_block.get_attributes(attribute_name=attribute_name) 353 354 self.build_fit_subset(points, z) 355 356 354 357 point_coordinates = None 355 358 else: … … 416 419 """ 417 420 418 # FIXME(DSG-DSG): Check that the vert and point coords419 # have the same zone.421 # FIXME(DSG-DSG): Check that the vert and point coords 422 # have the same zone. 420 423 if isinstance(point_coordinates,Geospatial_data): 421 424 point_coordinates = point_coordinates.get_data_points( \ 422 425 absolute = True) 423 426 424 # Convert input to Numeric arrays427 # Convert input to Numeric arrays 425 428 if z is not None: 426 429 z = ensure_numeric(z, Float) … … 429 432 assert isinstance(point_coordinates,Geospatial_data), msg 430 433 z = point_coordinates.get_attributes(attribute_name) 431 434 432 435 point_coordinates = ensure_numeric(point_coordinates, Float) 433 434 436 self._build_matrix_AtA_Atz(point_coordinates, z, verbose) 435 437 … … 544 546 545 547 if mesh is None: 546 # F ixme (DSG)Throw errors if triangles or vertex_coordinates548 # FIXME(DSG): Throw errors if triangles or vertex_coordinates 547 549 # are None 548 550
Note: See TracChangeset
for help on using the changeset viewer.