A tensor field is described by a tensor at each point of a
three-dimensional rectangular grid. The grid spacing may be non-uniform.
Tensor fields are implemented as a subclass of InterpolatingFunction from
the module Scientific.Functions.Interpolation and thus share all methods
defined in that class.
Evaluation:
|
__add__(self,
other)
|
number
|
__call__(self,
*points)
Returns
the function value obtained by linear interpolation
|
InterpolatingFunction or number
|
__getitem__(self,
index)
Returns
an InterpolatingFunction whose number of variables is reduced, or
a number if no variable is left
|
|
__init__(self,
rank,
axes,
values,
default=None,
check=True)
|
|
__sub__(self,
other)
|
|
_checkCompatibility(self,
other)
|
|
_reduceAxis(self,
variable)
|
(TensorField, TensorField, TensorField)
|
allDerivatives(self)
Returns
all three derivatives (x, y, z) on equal-sized grids
|
TensorField
|
derivative(self,
variable)
Returns
the derivative with respect to variable
|
Scientifc.Geometry.Tensor
|
zero(self)
Returns
a tensor of the same rank as the field values with all elements
equal to zero
|
Inherited from Functions.Interpolation.InterpolatingFunction :
__abs__ ,
__getattr__ ,
__getslice__ ,
__len__ ,
arccos ,
arcsin ,
arctan ,
cos ,
cosh ,
definiteIntegral ,
exp ,
fitPolynomial ,
integral ,
log ,
selectInterval ,
sin ,
sinh ,
sqrt ,
tan ,
tanh
|