-
Notifications
You must be signed in to change notification settings - Fork 4
Small fixes to enable grids with nonorthogonal X-point but orthogonal targets #180
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
Conversation
|
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.
ef1491d to
d802e50
Compare
|
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'.
88ef53a to
72f6900
Compare
Horrible hack to allow sfunc_orthogonal to be used for the grid point spacing at/beyond the target. The initial attempt at this broke the default nonorthogonal grid, as in that case sfunc_orthogonal should not extrapolate.
72f6900 to
8172f64
Compare
972a9db to
fdd66f6
Compare
|
I think this is merge-able now if someone wants to review. Tests are still missing, but tests for this and a few other 'experimental' features could be left as an open issue for now, until someone has time to look into that. |
|
I think the 'utilities' test is failing because xBOUT made a new release, but #192 hasn't been merged yet. So should be fine to ignore that and get on with merging all the completed PRs... |
bendudson
left a comment
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.
Thanks, @johnomotani !
To generate grids with a nonorthogonal X-point but orthogonal targets, set
orthogonal = False, andnonorthogonal_target_all_poloidal_spacing_range = None(ornullin a YAML input file). The othernonorthogonal_target_*_poloidal_spacing_rangesettings should also be set toNone, which is the default as long as they are not set explicitly.doc/whats-new.mdwith a summary of the changes