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

Add centrifugal potential to Ellipsoid and Sphere #182

Closed

Conversation

MarkWieczorek
Copy link
Contributor

This PR allows one to compute the centrifugal potential of a rotating Sphere of Ellipsoid. The equations are simple. For the Ellipsoid class, I used the definition of the prime radius of curvature to compute the perpendicular distance to the rotation axis: $(N(\phi) + h) \cos\phi$, where $\phi$ is geodetic latitude and $h$ is ellipsoidal height.

A separate PR will implement this for triaxial ellipsoids, as we will need to change how we handle longitude_semimajor_axis.

Relevant issues/PRs:
Relevant to #151

@MarkWieczorek
Copy link
Contributor Author

Looking for advice on how to "test" this routine. One possibility would be to check that the centrifugal potential of an ellipsoid with zero flattening is equal to that obtain from the Sphere class.

@MarkWieczorek
Copy link
Contributor Author

This PR was incorporated into #187

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.

1 participant