This repository contains Matlab and C++ code for the article Winding of a Brownian particle around a point vortex by Huanyu Wen and Jean-Luc Thiffeault.
The C++ files are MEX files that will be compiled by Matlab as needed. Your system must be configured to use a compatible compiler.
From Matlab, run
generateFigures_all
to create all figures used in the paper. This can take about 20 minutes, depending on the speed of your computer.
The figures are stored in the subfolder figs/
, and the data is stored in data/
. After the data is generated, set reRun = false
in generateFigures_all
if you only wish to recreate the figures.
This code is released under the GNU General Public License v3. See COPYING and LICENSE.