Skip to content
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

Quasilinear model refactoring #497

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

copybara-service[bot]
Copy link

Quasilinear model refactoring

  1. Abstract away calculations (normalized logarithmic gradients, alpha_MHD, chi_GB) used for QuaLiKiz models, and define them in the quasilinear_transport_model module, such that they can be reused for other quasilinear models like TGLF, TGLF-NN.

  2. In qualikiz_based_transport_model, directly use values from core_profiles including cell_variable methods where needed, instead of pre-defining potentially confusing helper variables.

@jcitrin
Copy link
Collaborator

jcitrin commented Nov 7, 2024

@theo-brown , @lorenzozanisi

1. Abstract away calculations (normalized logarithmic gradients, alpha_MHD, chi_GB) used for QuaLiKiz models, and define them in the quasilinear_transport_model module, such that they can be reused for other quasilinear models like TGLF, TGLF-NN.

2. In qualikiz_based_transport_model, directly use values from core_profiles including cell_variable methods where needed, instead of pre-defining potentially confusing helper variables.

PiperOrigin-RevId: 694086811
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant