Ignore:
Timestamp:
Aug 24, 2005, 11:57:09 AM (19 years ago)
Author:
ole
Message:

Changed misspelled 'indexes' to 'indices'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/domain.py

    r1697 r1751  
    144144                     X,
    145145                     location='vertices',
    146                      indexes = None):
     146                     indices = None):
    147147        """Set values for named quantity
    148148
     
    156156        of elements. Otherwise it must be of dimension Nx3.
    157157
    158         Indexes is the set of element ids that the operation applies to
     158        Indices is the set of element ids that the operation applies to
    159159
    160160        The values will be stored in elements following their
     
    197197        self.quantities[name].set_values(X,
    198198                                         location,
    199                                          indexes = indexes)
    200 
    201 
    202 
    203     def get_quantity(self, name, location='vertices', indexes = None):
     199                                         indices = indices)
     200
     201
     202
     203    def get_quantity(self, name, location='vertices', indices = None):
    204204        """Get values for named quantity
    205205
     
    210210        of elements. Otherwise it must be of dimension Nx3.
    211211
    212         Indexes is the set of element ids that the operation applies to.
     212        Indices is the set of element ids that the operation applies to.
    213213
    214214        The values will be stored in elements following their
     
    216216        """
    217217
    218         return self.quantities[name].get_values( location, indexes = indexes)
     218        return self.quantities[name].get_values( location, indices = indices)
    219219
    220220
Note: See TracChangeset for help on using the changeset viewer.