preCICE v3.2.0
Loading...
Searching...
No Matches
ParallelCouplingSchemeFixture.cpp
Go to the documentation of this file.
4
5namespace precice::testing {
6
11
16
21
23{
24 cplscheme.setTimeWindows(timeWindows);
25}
26
31
33{
34 if (cplscheme._acceleration) {
35 cplscheme._acceleration->initialize(cplscheme.getAccelerationData());
36 }
37}
38
40{
41 for (const auto &pair : cplscheme._allData) {
42 pair.second->timeStepsStorage().move();
43 }
44}
45} // namespace precice::testing
Coupling scheme for parallel coupling, i.e. simultaneous execution of two coupled participants.
contains implementations of coupling schemes for coupled simulations.
contains the testing framework.
Definition helper.hpp:9
static bool isImplicitCouplingScheme(cplscheme::ParallelCouplingScheme &cplscheme)
static void setTimeWindows(cplscheme::ParallelCouplingScheme &cplscheme, int timeWindows)
static void initializeAcceleration(cplscheme::ParallelCouplingScheme &cplscheme)
static cplscheme::CouplingData * getReceiveData(cplscheme::ParallelCouplingScheme &cplscheme, int dataID)
static void storeIteration(cplscheme::ParallelCouplingScheme &cplscheme)
static cplscheme::CouplingData * getSendData(cplscheme::ParallelCouplingScheme &cplscheme, int dataID)
static void moveToNextWindow(cplscheme::ParallelCouplingScheme &cplscheme)