oceanic plate feature with half space cooled topography model#908
oceanic plate feature with half space cooled topography model#908simransuresh wants to merge 10 commits into
Conversation
Pull Request Test Coverage Report for Build 23848703918Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
|
|
@simransuresh That picture is very cool and I'm very excited to try this out in my subduction models! I can only imagine this will reduce the amount of computation time spent isostatically adjusting the subducting plate. Out of curiosity, have you compared what the topography is along a ridge perpendicular profile to what the analytical solution should be? I'll review your actual code soon. |
danieldouglas92
left a comment
There was a problem hiding this comment.
Hey @simransuresh
Thanks for this, as I mentioned already I'm excited to try this feature in my own subduction models. I only had two minor comments on your code
danieldouglas92
left a comment
There was a problem hiding this comment.
Thanks for addressing my comments @simransuresh! Sorry I missed this before, but please change the name of the class to follow the camel case standard used elsewhere in the world builder. Also, did you see my previous comment about plotting the topography against the solution for subsidence with age (i.e. from Turcotte & Schubert)?
3fb6869 to
d3c73a7
Compare
sorry I missed to add it! Here it is, I hope this is what you asked for - topo vs plate age |
|
Even with "make indent", my tests are still failing :( I am trying to debug.. |
|
you checked in your build directory. please remove it from your commits. That that should fix the indenter |
| const double alpha = this->world->thermal_expansion_coefficient; | ||
|
|
||
| // age of half space cooling model is used to compute the heights and added with initial depth and topo | ||
| double half_space_cooling_height = (2.0 * bottom_density * alpha * (bottom_temperature - top_temperature) / top_density) * |
There was a problem hiding this comment.
Yes you're right, this is the formula i referred to (first commit in this PR). But when adding the top density as input param I missed to add the "bottom density -" too in the denom. Apology for the that. I will recommit with the correct formula.
There was a problem hiding this comment.
No need for apology, we all make mistakes and that's what reviews are for ;)
|
@alarshi and @danieldouglas92 I have addressed all your comments. |
danieldouglas92
left a comment
There was a problem hiding this comment.
@simransuresh If the new formula you added reproduces the expected topography from turcotte & schubert then I think your code looks good to me! Just one quick fix with changing "cooled" to "cooling" in the doc string for the class.
Three other quick things:
- Don't forget to add an entry to the changelog!
- Please remove world_builder_declarations.tex from your committed files
- Please squash your commits down to just a couple.
If @alarshi agrees, once you've done this I think this is good to merge! Thanks again for adding this I think this is really great
| prm.declare_entry("", Types::Object({"ridge coordinates", "spreading velocity", | ||
| "max depth", "min ocean depth", "bottom density", | ||
| "top density" | ||
| }), "Half space cooled topography"); |
There was a problem hiding this comment.
| }), "Half space cooled topography"); | |
| }), "Half space cooling topography"); |



Uh oh!
There was an error while loading. Please reload this page.