Skip to content

Remove isReadDataAvailable and isWriteDataRequired#1362

Merged
BenjaminRodenberg merged 78 commits intodevelop-v3.0.0from
1223-remove-is-read-data-available-write-data-required
Jul 9, 2022
Merged

Remove isReadDataAvailable and isWriteDataRequired#1362
BenjaminRodenberg merged 78 commits intodevelop-v3.0.0from
1223-remove-is-read-data-available-write-data-required

Conversation

@BenjaminRodenberg
Copy link
Copy Markdown
Contributor

@BenjaminRodenberg BenjaminRodenberg commented Jul 7, 2022

Main changes of this PR

closes #1223.

Removes the API functions isReadDataAvailable and isWriteDataRequired. Updates tests correspondingly and removes unused functions and variables from the coupling schemes.

Motivation and additional information

isReadDataAvailable and isWriteDataRequired are not absolutely necessary and it simplifies follow up implementations a lot, if we remove these methods (#1350).

Additionally: Simplifies the API of preCICE.

Todo

Author's checklist

  • I added a changelog file with make changelog if there are user-observable changes since the last release.
  • I ran make format to ensure everything is formatted correctly.
  • I sticked to C++14 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?

fsimonis and others added 30 commits March 10, 2022 18:19
…ce/precice into 1149-restructure-integration-tests
…ce/precice into 1149-restructure-integration-tests
…ce/precice into 1149-restructure-integration-tests
…ce/precice into 1149-restructure-integration-tests
@BenjaminRodenberg BenjaminRodenberg added usability This issue will make preCICE easier for non-expert users maintainability Working on this will make our lives easier in the long run as preCICE gets easier to maintain. breaking change Breaks backwards compatibility and users need to act labels Jul 7, 2022
@BenjaminRodenberg BenjaminRodenberg self-assigned this Jul 7, 2022
Copy link
Copy Markdown
Member

@uekerman uekerman left a comment

Choose a reason for hiding this comment

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

Looks good.

@BenjaminRodenberg BenjaminRodenberg merged commit 5958da2 into develop-v3.0.0 Jul 9, 2022
erikscheurer added a commit to precice/PreCICE.jl that referenced this pull request Jan 2, 2023
@BenjaminRodenberg BenjaminRodenberg deleted the 1223-remove-is-read-data-available-write-data-required branch February 23, 2023 10:18
IshaanDesai pushed a commit to precice/PreCICE.jl that referenced this pull request Mar 16, 2023
* Remove mapWriteDataFrom (precice/precice#1222) and Vertex-only API (precice/precice#1322)

* Remove `initializeData` (precice/precice#1350)

* Remove `isReadDataAvailable` and `isWriteDataRequired` (precice/precice#1362)

* Rename `isGradientDataRequired` (precice/precice@632b4fb)

* Remove `isActionRequired` and replace with explicit calls

* Adjust Solverdummies and tests

* Format changes

* [WIP]  Use names instead of IDs  related to precice/precice#1588

* Delete functions not part of the precice API

* Implement API changes into tests

* Format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Breaks backwards compatibility and users need to act maintainability Working on this will make our lives easier in the long run as preCICE gets easier to maintain. usability This issue will make preCICE easier for non-expert users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants