http://thauwa.me/2023/12/08/how-to-constrain-magnetic-moments-in-vasp/
How to constrain magnetic moments in VASP