DESCRIPTIONThis 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.
Scaling parameter for the z component of the vector field.
© The Numerical Algorithms Group Ltd, Oxford UK. 2000