This repository contains the simulation code used in the paper:
“Defects Enhance Stability in 12-fold Symmetric Soft-Matter Quasicrystals.”
The code is designed to run on Linux and macOS.
To compile the code, use the following command:
gcc -o rhombi -Wall -std=c99 -O3 rhombi.c -lm
To run the simulation, use:
./rhombi <st_D> <st_I> <gamma> <eps_rh>
-
st_D: Parameter of the randomized
$[D,I]$ -Stampfli inflationary tiling used as the initial configuration. -
st_I: Parameter of the randomized
$[D,I]$ -Stampfli inflationary tiling. -
gamma: Line tension value in
$\beta\gamma a$ . -
eps_rh: Energy cost of adding a rhombus to the system (
$\beta\epsilon_R$ ).
The code generates a directory in the same path as the executable, named:
data_size_<st_D>_<st_I>_gamma_<gamma>_epsRh_<eps_rh>
Inside this directory, two files are created:
- state.csv: Contains details of the state point.
- measurements.csv: Contains simulation measurements.
This file contains the following columns:
- Number of vertices
-
$D$ parameter of Stampfli tiling -
$I$ parameter of Stampfli tiling - Line tension (
$\beta\gamma a$ ) - Energy cost of adding a triangle (
$\beta\epsilon_{Tr}$ ) - Energy cost of adding a square (
$\beta\epsilon_{Sq}$ ) - Energy cost of adding a rhombus (
$\beta\epsilon_R$ )
This file contains the following columns:
- Monte Carlo Sweep
- Number of squares
- Number of triangles
- Number of rhombi
- Boundary length
- Number of directed edges in each direction (
$e_1, e_2, \ldots, e_{12}$ )
If you use this code, please cite the associated paper: “Defects Enhance Stability in 12-fold Symmetric Soft-Matter Quasicrystals”
@article{ulugol2024defects,
title={Defects Enhance Stability in 12-fold Symmetric Soft-Matter Quasicrystals},
author={Ulug{\"o}l, Alptu{\u{g}} and Hardeman, Robert J and Smallenburg, Frank and Filion, Laura},
journal={arXiv preprint arXiv:2408.08168},
year={2024}
}
For questions or issues, please contact:
Alptuğ Ulugöl
[e-mail address is stated in the paper]