-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up stella: kxky grids, namelists, debug flags, including full_flux_surface automatic numerical tests #156
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Backwards compatibility previously missing for range option
need box logical to be set first
Create a new directory for 'fields' and update the Makefile to read this folder.
This reverts commit b2a1a9f.
HanneThienpondt
approved these changes
Sep 26, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Note that the <flip_flop_old> variable is not initialized in parameters_physics.f90, but this bug is fixed in a later pull request.
HanneThienpondt
added a commit
that referenced
this pull request
Sep 26, 2024
commit c0992ea Author: GeorgiaActon <[email protected]> Date: Thu Sep 26 10:55:29 2024 +0100 Clean up stella: kxky grids, namelists, debug flags, including full_flux_surface automatic numerical tests (#156) Continuation of clean up of stella. The kxky grids have been cleaned up, and separated out into different modules. There not exists a <parameters_kxky_grids.f90> file which is the overarching module that reads the parameters for the kxky grids. This then uses either <parameters_kxky_grids_box.f90> or <parameters_kxky_grids_range.f90> 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 <calculations_kxky.f90> and <write_radial_grid.f90>. There is a new folder called <grids_kxky.f90> 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 <parameters_numerical.f90> <parameters_physics.f90>, and have replaced the previous modules <run_parameters.f90>, <physics_flags.f90>, <physics_paramters.f90>. 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 <debug_flags.f90>. Merge branch 'master' into New_cleanup_fields
This was
linked to
issues
Sep 30, 2024
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
clean-up
Places where the code needs refactoring
stella review 07/2024
Georgia and Hanne are cleaning up stella
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Continuation of clean up of stella. The kxky grids have been cleaned up, and separated out into different modules. There not exists a <parameters_kxky_grids.f90> file which is the overarching module that reads the parameters for the kxky grids. This then uses either <parameters_kxky_grids_box.f90> or <parameters_kxky_grids_range.f90> 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 <calculations_kxky.f90> and <write_radial_grid.f90>.
There is a new folder called <grids_kxky.f90> 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 <parameters_numerical.f90> <parameters_physics.f90>, and have replaced the previous modules <run_parameters.f90>, <physics_flags.f90>, <physics_paramters.f90>. 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 <debug_flags.f90>.