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

58 revise layer distribution #59

Merged
merged 14 commits into from
Jan 22, 2025
Merged

Conversation

erwin-mulder
Copy link
Collaborator

@erwin-mulder erwin-mulder commented Dec 5, 2024

See issue decriptions

@erwin-mulder erwin-mulder linked an issue Dec 5, 2024 that may be closed by this pull request
@erwin-mulder erwin-mulder changed the base branch from master to development December 5, 2024 16:50
@erwin-mulder erwin-mulder self-assigned this Dec 17, 2024
…fferences (max 1cm), also made the delta_time check towards time steps and phase-wise phase lengths a bit more strict to prevent having corrected phase lenghts of 0, wich doesn't allow for any correction in a new phase.
…sea volumes are zero in phases where that door is closed.
@erwin-mulder erwin-mulder requested a review from vrielin January 21, 2025 10:48
Copy link
Collaborator

@vrielin vrielin left a comment

Choose a reason for hiding this comment

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

I don't think you made a typo in any of the new lines for to and from quantities.
But please add 1 comment line in sealock.h to explain. It took me, with the complete background of the development process, also quite some time to understand why this distinction is important.

src/io_layer_distribution.c Outdated Show resolved Hide resolved
src/sealock.c Outdated Show resolved Hide resolved
src/sealock.h Show resolved Hide resolved
@vrielin
Copy link
Collaborator

vrielin commented Jan 21, 2025

I checked that there is 1 unit test for (changed) method distribute_discharge_over_layers. I don't think that this new test covers all if statements in the method, but it exists. If you think more unit testing is useful for this, please add it to the wish-list for later this year.

@erwin-mulder erwin-mulder merged commit 2d5d6ee into development Jan 22, 2025
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.

Revise layer distribution.
2 participants