Changeset 1894


Ignore:
Timestamp:
Oct 11, 2005, 3:22:39 PM (19 years ago)
Author:
ole
Message:

Comments and allow for duplicate timesteps

Location:
inundation/pyvolution
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/general_mesh.py

    r1751 r1894  
    238238        return  take(self.triangles, indices)
    239239
    240     #FIXME - merge these two
     240    #FIXME - merge these two (get_vertices and get_triangles)
    241241    def get_triangles(self, obj = False):
    242242        """Get connetivity
  • inundation/pyvolution/least_squares.py

    r1891 r1894  
    966966        msg = 'Time must be a monotonuosly '
    967967        msg += 'increasing sequence %s' %time
    968         assert alltrue(time[1:] - time[:-1] > 0 ), msg
     968        assert alltrue(time[1:] - time[:-1] >= 0 ), msg
    969969
    970970
     
    10731073
    10741074    def __repr__(self):
    1075         #return 'Interpolation function (spation-temporal)'
     1075        #return 'Interpolation function (spatio-temporal)'
    10761076        return self.statistics()
    10771077   
     
    12111211
    12121212        str =  '------------------------------------------------\n'
    1213         str += 'Interpolation_function (spation-temporal) statistics:\n'
     1213        str += 'Interpolation_function (spatio-temporal) statistics:\n'
    12141214        str += '  Extent:\n'
    12151215        str += '    x in [%f, %f], len(x) == %d\n'\
Note: See TracChangeset for help on using the changeset viewer.