Changeset 2347


Ignore:
Timestamp:
Feb 7, 2006, 4:35:24 PM (19 years ago)
Author:
ole
Message:

Change default value for verbose from None to False in set_values

Location:
inundation/pyvolution
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/least_squares.py

    r1979 r2347  
    201201
    202202    """
     203
     204
    203205    interp = Interpolation(vertex_coordinates,
    204206                           triangles,
     
    425427
    426428
     429
    427430        #FIXME (Ole): Check that this function is memeory efficient.
    428431        #6 million datapoints and 300000 basis functions
     
    488491        #Remove points falling outside mesh boundary
    489492        #This reduced one example from 1356 seconds to 825 seconds
     493
     494       
    490495        if precrop is True:
    491496            from Numeric import take
  • inundation/pyvolution/quantity.py

    r2309 r2347  
    173173                   location = 'vertices',
    174174                   indices = None,
    175                    verbose = None,
     175                   verbose = False,
    176176                   use_cache = False):
    177177
     
    591591
    592592
     593
    593594        self.set_values_from_points(points, values, alpha,
    594595                                    location, indices,
     
    607608        """
    608609
     610
    609611        from Numeric import Float
    610612        from util import ensure_numeric
     
    642644                  'mesh_origin': mesh_georef.get_origin(),
    643645                  'alpha': alpha,
     646                  'precrop': True,
    644647                  'verbose': verbose}
    645648
  • inundation/pyvolution/test_quantity.py

    r2323 r2347  
    398398
    399399
    400     def test_set_values_from_file(self):
     400    def test_set_values_from_file1(self):
    401401        quantity = Quantity(self.mesh4)
    402402
     
    14541454#-------------------------------------------------------------
    14551455if __name__ == "__main__":
    1456     suite = unittest.makeSuite(Test_Quantity, 'test')#_test_set_values_using_least_squares_w_geo')
     1456    suite = unittest.makeSuite(Test_Quantity, 'test')
    14571457    #print "restricted test"
    14581458    #suite = unittest.makeSuite(Test_Quantity,'test_set_values_func')
Note: See TracChangeset for help on using the changeset viewer.