Skip to content

update - alleviate memory problem / octave "unifrnd" problem

Compare
Choose a tag to compare
@KJ-Ahn KJ-Ahn released this 02 Apr 13:36
· 14 commits to master since this release
3d724ce

This is a minor update, but resolves two issues:

  1. 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)

  2. "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".