**spiral_data_test**,
a C++ code which
calls spiral_data(), which
samples a velocity vector field that satisfies the
continuity equation, and writes the nodes and velocities to a file,
suitable for display using GNUPLOT.

The computer code and data files made available on this web page are distributed under the GNU LGPL license.

spiral_data, a C++ code which computes a velocity vector field that satisfies the continuity equation, writing the data to a file that can be plotted by gnuplot().

- spiral_data_test.cpp, calls all the tests.
- spiral_data_test.sh, runs all the tests.
- spiral_data_test.txt, the output file.

Sample data was generated with N = 20 and C = 0.45 and plotted with GNUPLOT:

- spiral_data.txt, the X, Y, U, V values.
- spiral_commands.txt, commands to GNUPLOT.
- spiral.png, the resulting plot.