Changeset 4394


Ignore:
Timestamp:
Apr 18, 2007, 10:43:19 AM (18 years ago)
Author:
nick
Message:

add print statement to interpolate function

File:
1 edited

Legend:

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

    r4370 r4394  
    433433        import types
    434434
    435 
     435        if verbose:
     436            print 'started Interpolation function'
     437         
    436438        # Check temporal info
    437439        time = ensure_numeric(time)       
     
    454456            quantity_names = quantities.keys()
    455457
     458        if verbose:
     459            print 'started Interpolation function1'
    456460
    457461        # Check spatial info
     
    471475            if len(quantities[name].shape) == 2:
    472476                quantities[name] = array(quantities[name][::time_thinning,:])
     477
     478        if verbose:
     479            print 'started Interpolation function2'
    473480             
    474481        # Save for use with statistics
     
    486493        self.precomputed_values = {}
    487494       
    488            
     495        if verbose:
     496            print 'started Interpolation function3'
     497       
     498       
    489499        # Precomputed spatial interpolation if requested
    490500        if interpolation_points is not None:
     
    504514            m = len(self.interpolation_points)
    505515            p = len(self.time)
    506            
     516
     517        if verbose:
     518            print 'started Interpolation function4'
     519
    507520            for name in quantity_names:
    508521                self.precomputed_values[name] = zeros((p, m), Float)
Note: See TracChangeset for help on using the changeset viewer.