multiscale / muscle3

The third major version of the MUltiScale Coupling Library and Environment
Apache License 2.0
25 stars 13 forks source link

Refactor communicator #289

Closed LourensVeen closed 4 months ago

LourensVeen commented 4 months ago

This factors port management out of Communicator into a new PortManager class, move the port closing logic from Instance to Communicator, and redoes the C++ tests for all this to more closely align with the way it's done in Python.

While at it, I discovered some issues with error handling and MPI, so those got fixed too.