For the reaction A + A -> 0
.
Run the included Python scripts
python create_data_dirs.py
First use cmake
:
mkdir build
cd build
cmake ..
From the build directory:
make main
cd ../bin
./main
They can be visualized with the visualize_lattice
notebook in the mathematica
directory.
From the build directory:
make learn_ic
cd ../bin
./learn_ic
The progress can be monitored with the learn_ic
notebook in the mathematica
directory.
Use the count_triplets_quartics
notebook in the mathematica
directory.
This writes back to the data
directory with the stochastic simulations, e.g. it creates under ic_v001/lattice_v001/
new triplets
and quartics
directories for three-in-a-row and four-in-a-row moments.