A generalized Hasegawa–Mima equation in curved magnetic fields. (5th June 2022)