Github repository containing code in order to compute the multiscale structural complexity (MSC), both static and extended with time correlations, for magnetic systems simulated using UppASD [1,2].
Include in this repository are:
complexity.jl
- Main file containing functions to compute various complexities.t_corr.jl
- Example demonstrating how to use the functions fromcomplexity.jl
.
At a scale
Using the overlap at different scales, the complexity for
Extending the complexity to include time correlations can be achieved as straightforwardly as treating time as an additional dimension to coarse-grain. By adding an extra time scale
The extension of time correlations to the complexity is a bit more intricate and relies on expanding
This constitutes the main result of my work, which extends the static complexities that were proposed in [1]. These equations are implemented in the code in this repository, using UppASD to generate the data, and are hence based on the formatting of its output files.
Using the spatiotemporal complexity, one can show how correlated magnetic systems are over a range of temperatures. For this example, I have included bcc Fe, as well as an Edwards-Anderson spin glass. Spin glasses appear complex to the eye, as their spins look randomly distributed, however, for low temperatures, spin glasses still exhibit some kind of order. Include in the figure are the time-averaged complexity
- Clean up code
- Properly comment code
- Parallelization of expensive routines
[1] A. A. Bagrov, I. A. Iakovlev, A. A. Iliasov, M. I. Katsnelson, and V. V. Mazurenko, Proceedings of the National Academy of Sciences 117, 30241 (2020).
[2] O. Eriksson, A. Bergman, L. Bergqvist, and J. Hellsvik, Atomistic spin dynamics: foundations and applications (Oxford university press, 2017)