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

jtot_hires is not always needed #219

Closed
theo-brown opened this issue Jul 1, 2024 · 0 comments
Closed

jtot_hires is not always needed #219

theo-brown opened this issue Jul 1, 2024 · 0 comments

Comments

@theo-brown
Copy link
Collaborator

theo-brown commented Jul 1, 2024

jtot_hires is meant to be used when computing the psi field from prescribed currents.

As this is only done in some cases, jtot_hires should be an optional parameter of the Currents dataclass.

For example, the function _calculate_currents_from_psi is meant to compute self-consistent currents from the psi field, and therefore does not require the jtot_hires to be set.

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

No branches or pull requests

1 participant