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

Update constant_angle_in_spherical_domain_issue.md #629

Merged
merged 2 commits into from
Feb 16, 2024

Conversation

ljhwang
Copy link
Contributor

@ljhwang ljhwang commented Feb 16, 2024

Edits for clarity.

Please feel free to edit.

Edits for clarity.  

Please feel free to edit.
Copy link

codecov bot commented Feb 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2d07a63) 92.54% compared to head (2dfcc38) 92.58%.
Report is 30 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #629      +/-   ##
==========================================
+ Coverage   92.54%   92.58%   +0.04%     
==========================================
  Files          92       92              
  Lines        6369     6368       -1     
==========================================
+ Hits         5894     5896       +2     
+ Misses        475      472       -3     

see 2 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2d07a63...2dfcc38. Read the comment docs.

Copy link
Contributor

@gassmoeller gassmoeller left a comment

Choose a reason for hiding this comment

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

two small typos left


The issue arises when you want to define a line with a certain angle to the surface in a sphere. The problem here is that there are two ways of looking at this. The first way is to see a constant angle with the point it starts at. This works fine, except that for large distances it will burst through the surface of the planet out into space. This can be see in the left figure below. The other option is to look at a constant angle as an angle which remains constant with the surface above. This results in a logarithmic spiral as seen in the right figure below.
When defining a line with a certain angle to the surface in a sphere, you can look at this in one of two ways. The first option is to define a constant angle at its starting point. This works mostly fine except for large distances where it will burst through the surface of the planet out into space. This can be see in the left figure below. The other option is to define a constatnt angle with respect to the surface above. This results in a logarithmic spiral as seen in the right figure below.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
When defining a line with a certain angle to the surface in a sphere, you can look at this in one of two ways. The first option is to define a constant angle at its starting point. This works mostly fine except for large distances where it will burst through the surface of the planet out into space. This can be see in the left figure below. The other option is to define a constatnt angle with respect to the surface above. This results in a logarithmic spiral as seen in the right figure below.
When defining a line with a certain angle to the surface in a sphere, you can look at this in one of two ways. The first option is to define a constant angle at its starting point. This works mostly fine except for large distances where it will burst through the surface of the planet out into space. This can be seen in the left figure below. The other option is to define a constant angle with respect to the surface above. This results in a logarithmic spiral as seen in the right figure below.

Copy link

github-actions bot commented Feb 16, 2024

Benchmark Main Feature Difference (99.9% CI)
Slab interpolation simple none 1.020 ± 0.005 (s=458) 1.016 ± 0.003 (s=429) -0.5% .. -0.4%
Slab interpolation curved simple none 1.016 ± 0.004 (s=445) 1.013 ± 0.004 (s=445) -0.4% .. -0.3%
Spherical slab interpolation simple none 1.162 ± 0.007 (s=395) 1.164 ± 0.008 (s=381) +0.0% .. +0.3%
Slab interpolation simple curved CMS 1.058 ± 0.004 (s=395) 1.054 ± 0.004 (s=460) -0.5% .. -0.3%
Spherical slab interpolation simple CMS 1.545 ± 0.009 (s=286) 1.544 ± 0.008 (s=299) -0.2% .. +0.1%
Spherical fault interpolation simple none 1.169 ± 0.008 (s=362) 1.171 ± 0.005 (s=410) -0.0% .. +0.2%
Cartesian min max surface 2.298 ± 0.019 (s=190) 2.301 ± 0.028 (s=204) -0.2% .. +0.5%
Spherical min max surface 7.182 ± 0.044 (s=66) 7.188 ± 0.046 (s=62) -0.3% .. +0.5%

@gassmoeller gassmoeller added the ready to merge Pull request is ready to merge. May be waiting for tests to complete or other reviews. label Feb 16, 2024
@MFraters MFraters merged commit 86648aa into GeodynamicWorldBuilder:main Feb 16, 2024
33 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Pull request is ready to merge. May be waiting for tests to complete or other reviews.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants