Changeset 4370


Ignore:
Timestamp:
Apr 13, 2007, 4:56:58 PM (16 years ago)
Author:
nick
Message:

corrected docstring in _call_ of interpolate_function

File:
1 edited

Legend:

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

    r3945 r4370  
    562562 
    563563    def __call__(self, t, point_id=None, x=None, y=None):
    564         """Evaluate f(t), f(t, point_id) or f(t, x, y)
    565 
     564        """Evaluate f(t) or f(t, point_id)
     565       
    566566        Inputs:
    567567          t: time - Model time. Must lie within existing timesteps
    568568          point_id: index of one of the preprocessed points.
    569           x, y:     Overrides location, point_id ignored
    570          
    571           If spatial info is present and all of x,y,point_id
     569     
     570                   
     571          If spatial info is present and all of point_id
    572572          are None an exception is raised
    573573                   
    574           If no spatial info is present, point_id and x,y arguments are ignored
     574          If no spatial info is present, point_id arguments are ignored
    575575          making f a function of time only.
    576576
    577          
     577
     578      FIXME: f(t, x, y) x, y could overrided location, point_id ignored 
    578579          FIXME: point_id could also be a slice
    579580          FIXME: What if x and y are vectors?
Note: See TracChangeset for help on using the changeset viewer.