/winding_with_flow_code

Matlab code for article "Winding of a Brownian particle around a point vortex"

Primary LanguageMATLABGNU General Public License v3.0GPL-3.0

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.

Installation

The C++ files are MEX files that will be compiled by Matlab as needed. Your system must be configured to use a compatible compiler.

Running the code

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.

License

This code is released under the GNU General Public License v3. See COPYING and LICENSE.