Skip to content

Draft: Waveform interpolation, read direction#1029

Closed
BenjaminRodenberg wants to merge 566 commits intoprecice:developfrom
BenjaminRodenberg:prototype_waveform_read_write
Closed

Draft: Waveform interpolation, read direction#1029
BenjaminRodenberg wants to merge 566 commits intoprecice:developfrom
BenjaminRodenberg:prototype_waveform_read_write

Conversation

@BenjaminRodenberg
Copy link
Copy Markdown
Contributor

@BenjaminRodenberg BenjaminRodenberg commented May 31, 2021

Main changes of this PR

Todos

Features & Restrictions

  • Supports reading at arbitrary point in time in window (allows subcycling and higher order TS)
  • No support of subcycling (wrt writing)
  • Only storing data at beginning and end of window. No storing of intermediate data inside window
  • if initializeData is called, this data will be used at the beginning of the first window. If no initializeData is used, the data at the beginning of the first window is zero.
  • Only fully supports implicit coupling (initialization is complicated). Still needs to be dicussed here
    • Is a user allowed to even use this API, if an explicit coupling scheme is used?

Motivation and additional information

Belongs to bigger work package #133. Implements first steps with some restrictions.

Author's checklist

  • I added a changelog file with this PR number in docs/changelog/ if there are noteworthy changes.
  • I ran tools/formatting/check-format and everything is formatted correctly.
  • I sticked to C++14 features.
  • I sticked to CMake version 3.10.
  • 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?
  • (more questions/tasks)

@BenjaminRodenberg BenjaminRodenberg self-assigned this May 31, 2021
@BenjaminRodenberg BenjaminRodenberg changed the title Draft: Waveform interpolation w/o subcycling Draft: Waveform interpolation, read direction Jun 1, 2021
@BenjaminRodenberg BenjaminRodenberg force-pushed the prototype_waveform_read_write branch from 6af9195 to 614e3ee Compare June 7, 2021 14:42
@BenjaminRodenberg BenjaminRodenberg mentioned this pull request Jun 25, 2021
8 tasks
@BenjaminRodenberg
Copy link
Copy Markdown
Contributor Author

BenjaminRodenberg commented Aug 2, 2021

@BenjaminRodenberg
Copy link
Copy Markdown
Contributor Author

I created BenjaminRodenberg#1 as an intermediate milestone for this PR/branch.

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.

I had a brief look.
It's a bit odd that you add parts of the preCICE API here. Why not having everything from here that lies in the time package into a separate PR? And doing the API changes and integration test afterwards?

* Improves how extraolation is configured.
* Perform extrapolation in cplscheme::Extrapolation.
* Store cplscheme::Extrapolation in cplscheme::CouplingData.
* Perform interpolation in time::Waveform.
* Create Extrapolation class in cplscheme/impl for functionality.
* Move all current functionality of Waveform into Extrapolation.
Waveform is reserved for interpolation.
* Store Extrapolation in CouplingData.
…consistent. Failing tests, breaking behavior of initializeData.
@BenjaminRodenberg BenjaminRodenberg added the breaking change Breaks backwards compatibility and users need to act label Jul 3, 2022
BenjaminRodenberg added a commit to BenjaminRodenberg/precice that referenced this pull request Jul 3, 2022
@BenjaminRodenberg
Copy link
Copy Markdown
Contributor Author

Closing in favor of #1352

BenjaminRodenberg added a commit that referenced this pull request Jul 12, 2022
…1352)

* Get tests and configs for serial implicit waveform interpolation from #1029.
* Differentiate between received initial data and data (from advance).
* Split data communication for SerialCouplingScheme and store initial data in waveform.
* Move common functionality of serial and parallel coupling scheme into BiCouplingScheme.

Co-authored-by: Benjamin Uekermann <[email protected]>
BenjaminRodenberg added a commit that referenced this pull request Jul 29, 2022
…1352)

* Get tests and configs for serial implicit waveform interpolation from #1029.
* Differentiate between received initial data and data (from advance).
* Split data communication for SerialCouplingScheme and store initial data in waveform.
* Move common functionality of serial and parallel coupling scheme into BiCouplingScheme.

Co-authored-by: Benjamin Uekermann <[email protected]>
BenjaminRodenberg added a commit that referenced this pull request Aug 5, 2022
…1352)

* Get tests and configs for serial implicit waveform interpolation from #1029.
* Differentiate between received initial data and data (from advance).
* Split data communication for SerialCouplingScheme and store initial data in waveform.
* Move common functionality of serial and parallel coupling scheme into BiCouplingScheme.

Co-authored-by: Benjamin Uekermann <[email protected]>
BenjaminRodenberg added a commit that referenced this pull request Aug 5, 2022
…1352)

* Get tests and configs for serial implicit waveform interpolation from #1029.
* Differentiate between received initial data and data (from advance).
* Split data communication for SerialCouplingScheme and store initial data in waveform.
* Move common functionality of serial and parallel coupling scheme into BiCouplingScheme.

Co-authored-by: Benjamin Uekermann <[email protected]>
BenjaminRodenberg added a commit that referenced this pull request Aug 11, 2022
…1352)

* Get tests and configs for serial implicit waveform interpolation from #1029.
* Differentiate between received initial data and data (from advance).
* Split data communication for SerialCouplingScheme and store initial data in waveform.
* Move common functionality of serial and parallel coupling scheme into BiCouplingScheme.

Co-authored-by: Benjamin Uekermann <[email protected]>
BenjaminRodenberg added a commit that referenced this pull request Aug 22, 2022
…1352)

* Get tests and configs for serial implicit waveform interpolation from #1029.
* Differentiate between received initial data and data (from advance).
* Split data communication for SerialCouplingScheme and store initial data in waveform.
* Move common functionality of serial and parallel coupling scheme into BiCouplingScheme.

Co-authored-by: Benjamin Uekermann <[email protected]>
BenjaminRodenberg added a commit that referenced this pull request Sep 15, 2022
…1352)

* Get tests and configs for serial implicit waveform interpolation from #1029.
* Differentiate between received initial data and data (from advance).
* Split data communication for SerialCouplingScheme and store initial data in waveform.
* Move common functionality of serial and parallel coupling scheme into BiCouplingScheme.

Co-authored-by: Benjamin Uekermann <[email protected]>
BenjaminRodenberg added a commit that referenced this pull request Nov 2, 2022
…1352)

* Get tests and configs for serial implicit waveform interpolation from #1029.
* Differentiate between received initial data and data (from advance).
* Split data communication for SerialCouplingScheme and store initial data in waveform.
* Move common functionality of serial and parallel coupling scheme into BiCouplingScheme.

Co-authored-by: Benjamin Uekermann <[email protected]>
BenjaminRodenberg added a commit that referenced this pull request Nov 4, 2022
…1352)

* Get tests and configs for serial implicit waveform interpolation from #1029.
* Differentiate between received initial data and data (from advance).
* Split data communication for SerialCouplingScheme and store initial data in waveform.
* Move common functionality of serial and parallel coupling scheme into BiCouplingScheme.

Co-authored-by: Benjamin Uekermann <[email protected]>
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow to read data from interpolant in time

4 participants