Changeset 4394
- Timestamp:
- Apr 18, 2007, 10:43:19 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/fit_interpolate/interpolate.py
r4370 r4394 433 433 import types 434 434 435 435 if verbose: 436 print 'started Interpolation function' 437 436 438 # Check temporal info 437 439 time = ensure_numeric(time) … … 454 456 quantity_names = quantities.keys() 455 457 458 if verbose: 459 print 'started Interpolation function1' 456 460 457 461 # Check spatial info … … 471 475 if len(quantities[name].shape) == 2: 472 476 quantities[name] = array(quantities[name][::time_thinning,:]) 477 478 if verbose: 479 print 'started Interpolation function2' 473 480 474 481 # Save for use with statistics … … 486 493 self.precomputed_values = {} 487 494 488 495 if verbose: 496 print 'started Interpolation function3' 497 498 489 499 # Precomputed spatial interpolation if requested 490 500 if interpolation_points is not None: … … 504 514 m = len(self.interpolation_points) 505 515 p = len(self.time) 506 516 517 if verbose: 518 print 'started Interpolation function4' 519 507 520 for name in quantity_names: 508 521 self.precomputed_values[name] = zeros((p, m), Float)
Note: See TracChangeset
for help on using the changeset viewer.