Changeset 4370
- Timestamp:
- Apr 13, 2007, 4:56:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/fit_interpolate/interpolate.py
r3945 r4370 562 562 563 563 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 566 566 Inputs: 567 567 t: time - Model time. Must lie within existing timesteps 568 568 point_id: index of one of the preprocessed points. 569 x, y: Overrides location, point_id ignored570 571 If spatial info is present and all of x,y,point_id569 570 571 If spatial info is present and all of point_id 572 572 are None an exception is raised 573 573 574 If no spatial info is present, point_id a nd x,y arguments are ignored574 If no spatial info is present, point_id arguments are ignored 575 575 making f a function of time only. 576 576 577 577 578 FIXME: f(t, x, y) x, y could overrided location, point_id ignored 578 579 FIXME: point_id could also be a slice 579 580 FIXME: What if x and y are vectors?
Note: See TracChangeset
for help on using the changeset viewer.