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

Document parallel boundary conditions and 'aligned trasform' parallel derivatives #2533

Merged
merged 7 commits into from
Dec 7, 2022

Conversation

johnomotani
Copy link
Contributor

Add documentation for parallel boundary conditions. Fixes #2531.

Add documentation for 'aligned transform' variant of shifted metric parallel derivatives (as used by STORM, Hermes). 'Aligned transform' is the version that calculates parallel derivatives by transforming to a globally field aligned grid, calculating the operation, and transforming the result back to the toroidal grid. I've called it 'aligned transform' to get a short name - any suggestions for a better name very welcome!

The `shifted()` modifier was removed in v4.0.0 due to the change in
standard grid from aligned to toroidal.

[skip ci]
The label `target` was replaced by `upper_target` and `lower_target` to
fix a bug a long time ago.

[skip ci]
'Aligned transform' is a variant on 'shifted metric' using
transformation to and from a globally field aligned grid for parallel
derivatives instead of yup/ydown slices.

[skip ci]
ZedThree
ZedThree previously approved these changes Apr 1, 2022
Copy link
Member

@ZedThree ZedThree left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @johnomotani !

I think these docs highlight several pain points for the parallel derivatives, not least the boundary conditions. I'm not sure what could be done, but it would be really nice to have something without so many sharp edges (many of which are least partly my fault!)

@bendudson bendudson merged commit 8b0519b into master Dec 7, 2022
@bendudson bendudson deleted the docs-parallel-boundary-conditions branch December 7, 2022 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing (?) documentation on how to set parallel boundary conditions
4 participants