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

De2 mass protection #68

Merged
merged 2 commits into from
Oct 9, 2015

Conversation

stoiver
Copy link
Member

@stoiver stoiver commented Oct 9, 2015

There was a problem using DE2, where the update of areas with zero depth of water would actually create negative water depths if using DE2.

This came down to a calculation in DE2 of the form

Q_new = 2/3 Q_1 + 1/3 Q_old

This was changed to

Q_new = 1/3 ( 2 Q_1 + Q_old),

which seems to have alleviated the problem.

stoiver added a commit that referenced this pull request Oct 9, 2015
De2 mass protection. This resolves issue #69
@stoiver stoiver merged commit 63740d3 into GeoscienceAustralia:master Oct 9, 2015
@stoiver stoiver deleted the DE2_mass_protection branch October 9, 2015 05:19
stoiver added a commit that referenced this pull request Jan 11, 2021
Fix newlines in order_boundary and interpolate. Fix PermissionError in test_fit
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.

None yet

1 participant