Codes used in the scientific publication:
M. Karmakar, S. Chatterjee, M. Mangeat, H. Rieger, and R. Paul, Jamming and flocking in the restricted active Potts model, Phys. Rev. E 108, 014604 (2023). Preprint available on arXiv.
FreeFem++ code for MPS=1 hardcore restriction in the 4-state active Potts model.
Run: FreeFem++ -v 0 -nw RAPM4_MPS1.edp -parameter value.
List of parameters: rho0, Pe, epsilon, L, dt, tmax, N, init, gamma (details as comments in the code).
FreeFem++ code for MPS>1 hardcore restriction in the 4-state active Potts model.
Run: FreeFem++ -v 0 -nw RAPM4_hardcore.edp -parameter value.
List of parameters: beta, rho0, epsilon, MPS, L, dt, tmax, N, init, gamma (details as comments in the code).
FreeFem++ code for softcore restriction in the 4-state active Potts model.
Run: FreeFem++ -v 0 -nw RAPM4_softcore.edp -parameter value.
List of parameters: beta, rho0, epsilon, u, L, dt, tmax, N, init, gamma (details as comments in the code).