update - alleviate memory problem / octave "unifrnd" problem
This is a minor update, but resolves two issues:
-
Memory limit for high-resolution initial condition had existed. The function "interp2", which is used when generating particle data, consumes too much memory and may crash "bccomics". Now this problem is avoided by calling "interp2" iteratively. (Thanks to Hyunbae Park for experimeting)
-
"unifrnd" function to generate uniform random phases (0~2pi) is separated from the native Octave core from Octave v4.4. So test its functionality and if the Octave core is lacking the functionality, let bccomics use the provided "unifrnd.m".