Hi Daniel and Jeff,
Thank you both for the information and now I feel like I can use the "solver.set_state() method" to get the "eigenfunctions" of magnetic field and velocity field.
However, these "eigenfunctions" are still a little strange: for a given paramter set, no matter how large the Nr is ( Nr is the number of the Chebyshev grid points in radial direction), only the first 20 data points of each "eigenfunction" are finite (and they don't change with Nr), and all the rest data points are negligibly small.
This makes me feel like these "eigenfunctions" are in the "spectral coordinate" rather than in the "Chebyshev grid coordinate". Could you please confirm this? If this is the case, how can I convert these "spectral eigenfunction coffeecients" to "grid eigenfunction coefficients"?
I also attached my dedalus v2 script to get the "eigenfunction" for your reference. In my code, at line101 I use "np.argmax" to find the index "ifast" of the eigenmode that has the largest growth rate. Then at line102 I use "solver.set_state(index=ifast)" to locate the corresponding "eigenfunctions". Here I assume that the fastest growing mode's indices in "solver.eigenvalues" and "solver.set_state" are the same, please also help confrim this.
Thank you in advance!
Best,
Yin