-
Notifications
You must be signed in to change notification settings - Fork 36
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 tranforms faults to ridges #362
Add tranforms faults to ridges #362
Conversation
|
@MFraters, one question about the shape of the transform boundary that is assumed between the two offset points. On a sphere, I think the transform boundary should be small circle paths between the two end ridge points, whereas in cartesian coordinates the transform is just a straight line. Is this already taken into account in spherical coordinates? |
@mibillen Thanks for the question. This part of the computation is all done in natural coordinates (i.e. cartesian for a box and spherical for a sphere, chunk, etc.) In cartesian coordinates this is just a line. In spherical coordinates, the straight line is also straight in spherical coordinates. This creates the small circle path between the two end points of the ridges. |
Codecov Report
@@ Coverage Diff @@
## main #362 +/- ##
==========================================
- Coverage 98.86% 97.77% -1.09%
==========================================
Files 77 77
Lines 4476 4548 +72
==========================================
+ Hits 4425 4447 +22
- Misses 51 101 +50
Continue to review full report at Codecov.
|
The pull request is now almost done. I just need to improve the coverage for multiple ridges. If not further comments are made about this pull request it will probably be merged on Friday. |
…ates to allow multiple ridges.
9b57ba0
to
3118062
Compare
9f27d94
to
6904ad0
Compare
6904ad0
to
ca684e8
Compare
The coverage is fixed now, even though the codcov post doesn't show it. All new lines are covered and there are now new misses. All tests have passed and the benchmarks show no significant difference (some benchmarks seem to be, if anything, consistently on the faster side even though more works needs to be done). This is ready to merge now. |
update ridge coordinates after GeodynamicWorldBuilder/WorldBuilder#362 was merged
Hi Menno
Thanks for letting us know about this new feature. Just to be clear, we
need to put our ridge coordinates into a list, right? If we have no
transform faults, that would be just one component in that list, correct?
…On Fri, Nov 5, 2021 at 6:21 PM Menno Fraters ***@***.***> wrote:
Merged #362
<#362> into
main.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#362 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG2WMFPB32NCKJWI3ZIIBO3UKR7IJANCNFSM5HDKULHQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
Ph.D student of Geophysics
Earth & Planetary Sciences Dept., UC Davis
Davis, CA 95616
|
Yes, that is correct. For example, |
Up to now you could only specify one ridge per oceanic plate. That means that if you wanted to use tranform faults, you needed to make several oceanic plates. This is very inconvenient and leads to world builder input files which are a lot longer and more complex than needed. A simple solution is to allow multiple ridges per oceanic plate, in an array of ridges instead of a single ridge. This does mean it is a breaking change.
A second advantage is that the mass conservative slab temperature model can now be perfectly fitted to the temperature/age of the connecting oceanic plate. See image below, which shows the model from below:
There are two main way of approaching this. One is to infer that the transform fault is defined by the offset between the last coordinate of the current ridge and the first coordinate of the next ridge. This is the approach I have taken since it seems to me like the correct choice physically. An other option would be to let the users define the location of the transform fault themselves, by interpreting every odd numbered ridge as a transform fault. This would create a lot more flexibility, but also a lot more complexity in the code and the writing the input file. I can't think of a good use case for that so I don't see the value of taking that approach.
I will leave this pull request open for a few days to allow others to think about this as well and provide input on this or other choices.
I am planning to also implement this for the plate model in this pull request, to make sure ridge coordinates are consistent throughout the world builder. Since this is a breaking change it is going to break a few tests, but the fix should be simple.
@alarshi, @lhy11009,@rfildes, @mibillen and @danieldouglas92 if/when this pull request is merged, it will break any model which uses a ridge, but the fix is simple: change
[[1,2],[3,4],[5,6]]
to[[[1,2],[3,4],[5,6]]]
and you will get the same results as before.