44 double timeWindowSize,
57 double timeWindowSize,
std::string localParticipant() const final override
Returns the name of the local participant.
BiCouplingScheme(double maxTime, int maxTimeWindows, double timeWindowSize, std::string firstParticipant, std::string secondParticipant, const std::string &localParticipant, m2n::PtrM2N m2n, int minIterations, int maxIterations, CouplingMode cplMode, constants::TimesteppingMethod dtMethod)
DataMap & getAccelerationData() final override
interface to provide accelerated data, depending on coupling scheme being used
void receiveAndSetTimeWindowSize()
Receives and sets the time window size, if this participant is the one to receive.
void exchangeInitialData() final override
implements functionality for initialize in base class.
bool _participantSetsTimeWindowSize
Determines, if the time window size is set by the participant.
void exchangeSecondData() final override
Exchanges the second set of data.
void exchangeFirstData() final override
Functions needed for advance()
void sendTimeWindowSize()
Sends time window size, if this participant is the one to send.
SerialCouplingScheme(double maxTime, int maxTimeWindows, double timeWindowSize, const std::string &firstParticipant, const std::string &secondParticipant, const std::string &localParticipant, m2n::PtrM2N m2n, constants::TimesteppingMethod dtMethod, CouplingMode cplMode, int minIterations, int maxIterations)
Constructor.
ImplicitData implicitDataToReceive() const final override
Returns a vector of implicit data to receive in the next advance.
bool _participantReceivesTimeWindowSize
Determines, if the time window size is received by the participant.
contains implementations of coupling schemes for coupled simulations.
std::map< int, PtrCouplingData > DataMap
contains the logging framework.
contains the logic of the parallel communication between participants.
std::shared_ptr< M2N > PtrM2N
contains the testing framework.
Main namespace of the precice library.