Skip to content

Remove BiCouplingScheme, merge MultiCouplingScheme and ParallelCouplingScheme#13

Closed
BenjaminRodenberg wants to merge 35 commits into1171-write-data-when-subcycling-is-usedfrom
merge-coupling-schemes
Closed

Remove BiCouplingScheme, merge MultiCouplingScheme and ParallelCouplingScheme#13
BenjaminRodenberg wants to merge 35 commits into1171-write-data-when-subcycling-is-usedfrom
merge-coupling-schemes

Conversation

@BenjaminRodenberg
Copy link
Copy Markdown
Owner

Main changes of this PR

  • Use same signatures for addDataToSend and addDataToReceive
  • Use _readDataVector, _sendDataVector and _m2ns in both classes (even, if there is only a single item)
  • Move common functionality into BaseCouplingScheme

Motivation and additional information

Might be useful for implementation of precice#1414. Simplifies class design, but is also a major redesign.

Author's checklist

  • I added a changelog file with make changelog if there are user-observable changes since the last release.
  • I added a test to cover the proposed changes in our test suite.
  • I ran make format to ensure everything is formatted correctly.
  • I sticked to C++17 features.
  • I sticked to CMake version 3.16.3.
  • I squashed / am about to squash all commits that should be seen as one.

Reviewers' checklist

  • Does the changelog entry make sense? Is it formatted correctly?
  • Do you understand the code changes?

* Use same signatures for addDataToSend and addDataToReceive
* Use _readDataVector, _sendDataVector and _m2ns in both classes (even,
if there is only a single item)
* Move common functionality into BaseCouplingScheme
* Use MultiCouplingScheme for ParallelExplicitCouplingScheme
* Update tests
* Remove ParallelCouplingScheme class
* Merge Multi- and ParallelCouplingScheme
* Remove BiCouplingScheme in favor of SerialCouplingScheme
* Simplifies class hierarchy and limits amount of duplicate code
@BenjaminRodenberg
Copy link
Copy Markdown
Owner Author

BenjaminRodenberg commented Dec 2, 2022

We decided to drop precice#1432. Continue working in precice#1414

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