Changeset 4822


Ignore:
Timestamp:
Nov 16, 2007, 5:14:20 PM (17 years ago)
Author:
ole
Message:

Cosmetics

File:
1 edited

Legend:

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

    r4779 r4822  
    9797        else:   
    9898            self.alpha = alpha
     99           
    99100        FitInterpolate.__init__(self,
    100101                 vertex_coordinates,
     
    348349
    349350                   
    350                 # build the array
     351                # Build the array
    351352                points = geo_block.get_data_points(absolute=True)
    352353                z = geo_block.get_attributes(attribute_name=attribute_name)
    353354                self.build_fit_subset(points, z)
     355
     356               
    354357            point_coordinates = None
    355358        else:
     
    416419        """
    417420
    418         #FIXME(DSG-DSG): Check that the vert and point coords
    419         #have the same zone.
     421        # FIXME(DSG-DSG): Check that the vert and point coords
     422        # have the same zone.
    420423        if isinstance(point_coordinates,Geospatial_data):
    421424            point_coordinates = point_coordinates.get_data_points( \
    422425                absolute = True)
    423426       
    424         #Convert input to Numeric arrays
     427        # Convert input to Numeric arrays
    425428        if z is not None:
    426429            z = ensure_numeric(z, Float)
     
    429432            assert isinstance(point_coordinates,Geospatial_data), msg
    430433            z = point_coordinates.get_attributes(attribute_name)
    431            
     434
    432435        point_coordinates = ensure_numeric(point_coordinates, Float)
    433 
    434436        self._build_matrix_AtA_Atz(point_coordinates, z, verbose)
    435437
     
    544546   
    545547    if mesh is None:
    546         # Fixme (DSG) Throw errors if triangles or vertex_coordinates
     548        # FIXME(DSG): Throw errors if triangles or vertex_coordinates
    547549        # are None
    548550           
Note: See TracChangeset for help on using the changeset viewer.