Changeset 8533 for trunk/anuga_core/source/anuga/fit_interpolate/fit.py
- Timestamp:
- Aug 23, 2012, 1:25:28 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/fit_interpolate/fit.py
r8125 r8533 72 72 triangles: List of 3-tuples (or a numeric array) of 73 73 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 74 77 75 78 mesh_origin: A geo_reference object or 3-tuples consisting of … … 333 336 verbose=verbose) 334 337 338 import time 339 t0 = time.time() 335 340 for i, geo_block in enumerate(G_data): 336 341 if verbose is True and 0 == i%200: … … 360 365 msg = 'Matrix AtA was not built' 361 366 assert self.AtA is not None, msg 362 367 368 print '**** Read Data time',time.time()-t0 363 369 point_coordinates = None 364 370 else: … … 479 485 if use_cache is True: 480 486 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 482 488 # file which must be passed onto caching as a dependency 483 489 # (in case it has changed on disk)
Note: See TracChangeset
for help on using the changeset viewer.