Codes used in the scientific publications:
[1] S. Chatterjee, M. Mangeat, R. Paul, and H. Rieger, Flocking and reorientation transition in the 4-state active Potts model, EPL 130, 66001 (2020).
[2] M. Mangeat, S. Chatterjee, R. Paul, and H. Rieger, Flocking with a q-fold discrete symmetry: Band-to-lane transition in the active Potts model, Phys. Rev. E 102, 042601 (2020).
Written by M. Mangeat & S. Chatterjee (2020).
Contains FreeFem++ codes (https://freefem.org/).