fix(exg): trap multiple connections per cell pair#2757
Conversation
|
Re: deciding whether this should be a general restriction or only apply in some cases, @mjr-deltares figured that people may be using DISU in nonstandard ways involving multiple connections between the same two cells. E.g.
|
Guess it comes down to whether the risk of a problem due to accidentally duplicative connections going unnoticed outweighs the benefit for creative modeling like @mjr-deltares described. Maybe consider a warning? |
Switched to a warning |
Warn if any pair of connected cells in a like-model exchange has multiple connections. This will be an error for PRT-PRT exchanges, but multiple connections are tolerated for other models for flexibility.
Checklist of items for pull request
ruffon new and modified python scripts in .doc, autotests, doc, distribution, pymake, and utils subdirectories.fprettify