Ignore:
Timestamp:
Nov 8, 2006, 5:35:23 PM (17 years ago)
Author:
ole
Message:

One large step towards major cleanup. This has mainly to do with
the way vertex coordinates are handled internally.

File:
1 edited

Legend:

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

    r3941 r3945  
    257257            print '\n WARNING: No points within the mesh! \n'
    258258           
    259         m = self.mesh.coordinates.shape[0] #Nbr of basis functions (1/vertex)
    260         n = point_coordinates.shape[0]     #Nbr of data points
     259        m = self.mesh.number_of_nodes  # Nbr of basis functions (1/vertex)
     260        n = point_coordinates.shape[0] # Nbr of data points
    261261
    262262        if verbose: print 'Number of datapoints: %d' %n
Note: See TracChangeset for help on using the changeset viewer.