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

TGLF variable not written to localdump #343

Open
pabloprf opened this issue Jan 11, 2024 · 2 comments
Open

TGLF variable not written to localdump #343

pabloprf opened this issue Jan 11, 2024 · 2 comments
Assignees
Labels

Comments

@pabloprf
Copy link
Contributor

The variable tglf_wdia_trapped_in is not written to out.tglf.localdump, even though it's declared:

real :: tglf_wdia_trapped_in = 0.0

If TGYRO is used to prepare input files to TGLF, like it's done in OMFIT or MITIM, then WDIA_TRAPPED will take the default value instead of the user-specified TGLF input file for the TGYRO run.

@pabloprf pabloprf added the bug label Jan 11, 2024
@pabloprf
Copy link
Contributor Author

Although, this may not be a big issue because if TGLF is run with USE_PRESETS=TRUE, then wdia_trapped_in is automatically updated in tglf_startup.f90 to the right value per saturation rule, but it may be good to add it to the localdump anyway.

@jcandy
Copy link
Member

jcandy commented Jan 8, 2025

@pabloprf @tomneiser Was this issue ever resolved?

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

No branches or pull requests

3 participants