calculate_moments.cpp
- calculate higher order nearest neighbor (NN) and next-nearest neighbor (NNN) moments.create_data_dirs.py
- create data directories.main.cpp
- main script for running stochastic simulations.mathematica
- Mathematica scriptsfigures
- generate the figures used in the paper. These appear into to thefigures
directory.viz_lattice
- misc. code for visualizing the lattice.
Use the CMake
in a dedicated build directory:
mkdir build && cd build
cmake ..
make main
cd ../bin
./main
The output is in the data
directories.
To calculate extra moments such as NNs and NNNs, use the CMake
in a dedicated build directory:
mkdir build && cd build
cmake ..
make calculate_moments
cd ../bin
./calculate_moments