Ignore:
Timestamp:
Aug 23, 2012, 1:25:28 PM (13 years ago)
Author:
steve
Message:

A few enhancements to valuidation tests

File:
1 edited

Legend:

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

    r8125 r8533  
    7272          triangles: List of 3-tuples (or a numeric array) of
    7373              integers representing indices of all vertices in the mesh.
     74
     75          mesh: Object containing vertex_coordinates and triangles. Either
     76              mesh = None or both vertex_coordinates and triangles = None
    7477
    7578          mesh_origin: A geo_reference object or 3-tuples consisting of
     
    333336                                     verbose=verbose)
    334337
     338            import time
     339            t0 = time.time()
    335340            for i, geo_block in enumerate(G_data):
    336341                if verbose is True and 0 == i%200:
     
    360365                msg = 'Matrix AtA was not built'
    361366                assert self.AtA is not None, msg
    362                
     367
     368            print '**** Read Data time',time.time()-t0
    363369            point_coordinates = None
    364370        else:
     
    479485    if use_cache is True:
    480486        if isinstance(point_coordinates, basestring):
    481             # We assume that point_coordinates is the name of a .csv/.txt
     487            # We assume that point_coordinates is the name of a .csv/.txt/.pts
    482488            # file which must be passed onto caching as a dependency
    483489            # (in case it has changed on disk)
Note: See TracChangeset for help on using the changeset viewer.