Spiral

DESCRIPTION

This LatFunction-based module creates a 3D uniform lattice of 3D vectors in the form of a spiral field. More specifically, the x, y and z components of the vector V at (x, y, z) is are given by

Vx = -y/s; Vy = x/s; Vz = alpha*z;

Here, s = sqrt(x*x + y*y), the radial distance in the xy plane. The origin of the coordinates is in the middle of the low-z face of the box. Alpha is a scaling parameter for the z component of the vectors.

INPUTS

WIDGETS

Port: alpha
Type: Dial
Scaling parameter for the z component of the vector field.

OUTPUTS

Port: Vectors
Type: Lattice
Constraints: 3-D
Constraints: 3-vector
Constraints: float
Constraints: uniform
Output lattice.

KNOWN PROBLEMS

SEE ALSO

LatFunction.
[Documentation Home]
© The Numerical Algorithms Group Ltd, Oxford UK. 2000