cherab.imas.math.interpolators.StructGridVectorFunction3DΒΆ
- class cherab.imas.math.interpolators.StructGridVectorFunction3DΒΆ
Bases:
Function3DSimple vector interpolator for the data defined on the 3D structured grid.
Find the cell containing the point (x, y, z). Return the 3D vector value this cell or the
fill_vectorif the points lies outside the grid.- Parameters:
- x : (L,) array_like
The corners of the quadrilateral cells along x axis.
- y : (M,) array_like
The corners of the quadrilateral cells along y axis.
- z : (N,) array_like
The corners of the quadrilateral cells along z axis.
- grid_vectors : (3, L-1, M-1, N-1) ndarray
Array containing 3D vectors in the grid cells.
- fill_vector : Vector3D
3D vector returned outside the gird, by default
Vector3D(0, 0, 0).
Methods
Evaluate the function f(x, y, z)