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

Small fixes to enable grids with nonorthogonal X-point but orthogonal targets #180

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

johnomotani
Copy link
Collaborator

To generate grids with a nonorthogonal X-point but orthogonal targets, set orthogonal = False, and nonorthogonal_target_all_poloidal_spacing_range = None (or null in a YAML input file). The other nonorthogonal_target_*_poloidal_spacing_range settings should also be set to None, which is the default as long as they are not set explicitly.

  • Tests added
  • Udated manual
  • Updated doc/whats-new.md with a summary of the changes

@johnomotani johnomotani added the enhancement New feature or request label Aug 22, 2024
@johnomotani
Copy link
Collaborator Author

If this is useful, could somebody document it in the manual please? @mikekryjak?

These variables are not always defined, so skip to avoid unhelpful error.
@johnomotani johnomotani force-pushed the nonorthogonal-Xpoint branch from ef1491d to d802e50 Compare August 23, 2024 12:20
@johnomotani
Copy link
Collaborator Author

Also, once this works we should probably add an integrated test to make sure it doesn't get broken.

This allows the 'orthogonal' Sfunc to do something sensible at the
targets when it is being used there because only the X-point is
'nonorthogonal'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant