Package esys :: Package modellib :: Module tsunami :: Class GridData
[hide private]
[frames] | no frames]

Class GridData

This object is used to store data on a grid. It will be replaced by Bruce at a later stage.

data[i,j] are x=j*s[0]+o[0] and y=i*s[1]+o[1]

for 0<=j<n[0] and 0<=i<n[1]

Instance Methods [hide private]
 
__init__(self, s, o, n, data)
 
getData(self)
 
getOrigin(self)
 
getSpacing(self)
 
interpolate(self, x)