As discussed in #2194, it would be good to add a fields::use_real_fields(bool) method that allocates/deallocates the imaginary parts of the fields as needed, for use in change_m and change_k so that you can change these quantities without re-initializing the fields from scratch.
As discussed in #2194, it would be good to add a
fields::use_real_fields(bool)method that allocates/deallocates the imaginary parts of the fields as needed, for use inchange_mandchange_kso that you can change these quantities without re-initializing the fields from scratch.