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

New Script: create_trunks() #30

Merged
merged 2 commits into from
Nov 18, 2024
Merged

New Script: create_trunks() #30

merged 2 commits into from
Nov 18, 2024

Conversation

taddyb
Copy link
Owner

@taddyb taddyb commented Nov 18, 2024

Added:

  • Created a function that will take one, or many, coo-matrix pairs and remove them from another coo-matrix
  • This is done using cupy in a chunked format
  • The goal of this is to mask the flow from smaller rivers for a main_trunk train, and is used in the Network object of dMC

@taddyb taddyb merged commit dab9800 into master Nov 18, 2024
0 of 3 checks passed
@taddyb taddyb deleted the create_trunks branch November 18, 2024 02:25
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