Fix imaginary mode in halfmodetofourier module
In the halfmodetofourier module, the w field, which is the imaginary mode in stability analysis, is taken as real mode. This MR fixes this by adding an option realmodetoimag
to transform some fields into imaginary mode. Usage realmodetoimag=2,3
means the 2nd and 3rh fields will be transformed into sin mode.
close #223 (closed)
Edited by Ankang Gao