Skip to content

Fix updating of the topographic elevations#67

Merged
mcflugen merged 13 commits into
developfrom
mcflugen/fix-topography-update
Nov 11, 2022
Merged

Fix updating of the topographic elevations#67
mcflugen merged 13 commits into
developfrom
mcflugen/fix-topography-update

Conversation

@mcflugen
Copy link
Copy Markdown
Collaborator

@mcflugen mcflugen commented Nov 11, 2022

This pull request does a few things but it is mainly intended to fix a problem where the topographic elevations were not being updated correctly after running the components each time step. To fix this, I've changed all of the components to no longer update derived fields such as elevation. Instead, components only add to the current amount of subsidence or sediment deposited. At the end of each time step the sequence model uses these fields to calculate derived fields such as the topography and the elevation of bedrock. The subsidence rates and deposition rates are then reset before running the next time step. This also has the advantage of removing any dependency on the ordering of components.

@mcflugen mcflugen merged commit cd7b6eb into develop Nov 11, 2022
@mcflugen mcflugen deleted the mcflugen/fix-topography-update branch November 11, 2022 20: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.

1 participant