Skip to content

Conversation

aaronjridley
Copy link
Contributor

Ok, this has gone on too long and the branches are just too far diverged from each other. I would like to get everything from ortho_dipole into develop. We can then start to work on the things that don't work right. I think that the code is up to a respectable place, so we should be fine bringing it into develop.

- Make it into a general function (not just altitude)
- Handles ooblate planets now!
- Optional argument to not search ghost cells
MagLat is not defined on the geo grid (yet)

> But invLat is made for both the geo grid & mag grid. And included in 'ions'/'bfield' outputs
ideally this is refactored, but whatever. The way this was being done kept messing with the order of points.
- Does not have final pole ghost cells yet...
Here's what I know:
- it doesn't run
- nan's in density and velocity, i think
- maybe in chapman integrals?
- k-coord is not right (should be alt above equator, traced along dipole -maybe)
- altitude is always negative???

But the rest is good! LOL
- clean up comments, debugging, etc.
- fix issue with quadtree values being abs()
- The dipole bfield still needs work...
…, corners, edges, etc.

- All appears OK except some of the corners. IDK why. Need to commit this and move on. Will revisit & document
snuck in a few variables from previous commit too
- The gradient in the dipole grid is, I think, the same as the spherical grid. Except the k-direction
- We can do away with this separate method and just put an if statement around that in calc_gradient_vector?
@aaronjridley aaronjridley requested a review from abukowski21 July 17, 2025 14:57
@aaronjridley aaronjridley merged commit 5402e92 into develop Aug 22, 2025
6 checks passed
@aaronjridley aaronjridley deleted the ortho_dipole branch August 22, 2025 17:32
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

Successfully merging this pull request may close these issues.

2 participants