stellaGK / stella

stella is a flux tube gyrokinetic code for micro-stability and turbulence simulations of strongly magnetised plasma.
https://stellagk.github.io/stella/
Other
21 stars 10 forks source link

Clean up stella: kxky grids, namelists, debug flags, including full_flux_surface automatic numerical tests #156

Closed GeorgiaActon closed 1 week ago

GeorgiaActon commented 1 month ago

Continuation of clean up of stella. The kxky grids have been cleaned up, and separated out into different modules. There not exists a file which is the overarching module that reads the parameters for the kxky grids. This then uses either or depending on which grid type is chosen in the input file. Two additional modules have been added as a result of this split up called and .

There is a new folder called file that initialised the kxky grids and fills the arrays for the kxky grids.

The parameter namelist have also been changed, and placed into different modules. The new files are , and have replaced the previous modules , , . These have been named in preparation for organising stella into sub directories.

A new debug feature has also been added to allow the debug flags to be turned on/off in the input file, rather than requiring the code to be re-compiled. This is found in .