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

Nash Cascade Refactoring #108

Merged
merged 3 commits into from
Apr 5, 2024
Merged

Nash Cascade Refactoring #108

merged 3 commits into from
Apr 5, 2024

Conversation

ajkhattak
Copy link
Contributor

The Nash cascade part is taken out from the cfe.c and added as a separate .c file, so it can also be used for surface runoff, and in other models (e.g., LASAM) as well. No changes to the functionality in this PR.

Changes

  • Moved nash_cascade from cfe.c to newly added nash_cascade.c file

Testing

  1. All existing tests passed

Checklist

  • PR has an informative and human-readable title
  • Changes are limited to a single goal (no scope creep)
  • Code can be automatically merged (no conflicts)
  • Passes all existing automated tests
  • Any change in functionality is tested
  • Reviewers requested with the Reviewers tool ➡️

@madMatchstick
Copy link
Contributor

@ajkhattak - Are there any tests you recommend running for the sake of sanity? e.g. SMP coupling? -thanks

@ajkhattak
Copy link
Contributor Author

ajkhattak commented Apr 4, 2024

@madMatchstick if you can run our existing tests on your machine, which includes coupling to SMP too (AET_ROOTZONE test), to compare results with and without the refactored code that would be nice.

Copy link
Contributor

@madMatchstick madMatchstick left a comment

Choose a reason for hiding this comment

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

Ran pseudo-framework mode with option AETROOTZONE & results were identical.

@madMatchstick madMatchstick merged commit 3fb2a27 into master Apr 5, 2024
4 checks passed
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.

2 participants