New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modifies solverdummy to include data transfer #750
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A valuable contribution to the solver dummies I believe 👍
Before merging, we need to clean up a few things, however.
- Could we rename
Forces
andVelocities
to something neutral?DataOne
,DataTwo
maybe. Then, it would be more consistent with the participants' names, which areSolverOne
etc and notFluidSolver
currently. - I am not sure if we really need to print the data. Produces a lot of spam.
- You mixed up "read/write iteration checkpoint" with
isReadAvailable
,isWriteDataRequired
. I marked some occasions below.
This will change the results of the system tests on purpose @Eder-K. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had to change quite some things, but should be good now.
@KyleDavisSA Please have a look at my final changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
One comment: I'm not sure whether we want/need this, but we could also include initializeData()
.
Let's keep it simple. That's the story for another day (another PR). |
Mainly for documentation purposes: what is the motivation behind changing from an explicit to an implicit scheme and from a 2D to a 3D interface? |
Ported the changes also to the Fortran module: precice/fortran-module#5 |
The modified solver dummies for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just checked
- cpp/cpp
- c/c
- fortran/fortran
- cpp/fortran
- c/fortran
- cpp/c
all combinations worked.
Also did the cross-check with precice/fortran-module#5 and all solverdummies worked. |
This pull request has been mentioned on preCICE Forum on Discourse. There might be relevant details there: https://precice.discourse.group/t/highlights-of-the-new-precice-release-v2-1/274/1 |
This PR adds data transfer capability to the c, c++ and fortran solverdummies. This uses 3 vertices for transfering vector data and uses the same commands to run. They are also able to run in combination with each other.
This takes over the solverdummy extension for the previous version of preCICE which will be closed #540 .
Resolves #538