We review Sweeny's algorithm for Monte Carlo simulations of the random cluster model. Straightforward implementations suffer from the problem of computational critical slowing down, where the computational effort per edge operation scales with a power of the system size. By using a tailored dynamic connectivity algorithm we are able to perform all operations with a poly-logarithmic computational effort. This approach is shown to be efficient in keeping online connectivity information and is of use for a number of applications also beyond cluster-update simulations, for instance in monitoring droplet shape transitions. As the handling of the relevant data structures is non-trivial, we provide a Python module with a full implementation for future reference.
机构:
Coventry Univ, Appl Math Res Ctr, Coventry CV1 5FB, W Midlands, England
Monash Univ, Sch Math Sci, Clayton, Vic 3800, AustraliaCoventry Univ, Appl Math Res Ctr, Coventry CV1 5FB, W Midlands, England
Elci, Eren Metin
Weigel, Martin
论文数: 0引用数: 0
h-index: 0
机构:
Coventry Univ, Appl Math Res Ctr, Coventry CV1 5FB, W Midlands, EnglandCoventry Univ, Appl Math Res Ctr, Coventry CV1 5FB, W Midlands, England
Weigel, Martin
Fytas, Nikolaos G.
论文数: 0引用数: 0
h-index: 0
机构:
Coventry Univ, Appl Math Res Ctr, Coventry CV1 5FB, W Midlands, EnglandCoventry Univ, Appl Math Res Ctr, Coventry CV1 5FB, W Midlands, England