|
preCICE v3.3.0
|
An M2N between participants with a configured direction. More...
#include <BoundM2N.hpp>
Public Member Functions | |
| void | prepareEstablishment () |
| Prepare to establish the connection. | |
| void | connectPrimaryRanks (std::string_view configHash) |
| Connect the Primary Ranks of the M2N. | |
| void | connectSecondaryRanks () |
| Connect the Secondary ranks of the M2N. | |
| void | preConnectSecondaryRanks () |
| pre-connect the Secondary ranks of the M2N | |
| void | cleanupEstablishment () |
| Cleanup after having established the connection. | |
Public Attributes | |
| PtrM2N | m2n |
| std::string | localName |
| std::string | remoteName |
| bool | isRequesting = false |
Private Member Functions | |
| void | waitForSecondaryRanks () |
Private Attributes | |
| logging::Logger | _log {"impl::ParticipantImpl"} |
An M2N between participants with a configured direction.
Definition at line 12 of file BoundM2N.hpp.
| void precice::m2n::BoundM2N::cleanupEstablishment | ( | ) |
Cleanup after having established the connection.
Definition at line 70 of file BoundM2N.cpp.
| void precice::m2n::BoundM2N::connectPrimaryRanks | ( | std::string_view | configHash | ) |
Connect the Primary Ranks of the M2N.
Definition at line 23 of file BoundM2N.cpp.
| void precice::m2n::BoundM2N::connectSecondaryRanks | ( | ) |
Connect the Secondary ranks of the M2N.
Definition at line 34 of file BoundM2N.cpp.
| void precice::m2n::BoundM2N::preConnectSecondaryRanks | ( | ) |
pre-connect the Secondary ranks of the M2N
Definition at line 52 of file BoundM2N.cpp.
| void precice::m2n::BoundM2N::prepareEstablishment | ( | ) |
Prepare to establish the connection.
Definition at line 14 of file BoundM2N.cpp.
|
private |
Instructs the Primary rank wait for SecondaryRanks.
Performs a collective operation which forces every secondary rank to sync with the Primary.
Definition at line 81 of file BoundM2N.cpp.
|
mutableprivate |
Definition at line 35 of file BoundM2N.hpp.
| bool precice::m2n::BoundM2N::isRequesting = false |
Definition at line 32 of file BoundM2N.hpp.
| std::string precice::m2n::BoundM2N::localName |
Definition at line 30 of file BoundM2N.hpp.
| PtrM2N precice::m2n::BoundM2N::m2n |
Definition at line 29 of file BoundM2N.hpp.
| std::string precice::m2n::BoundM2N::remoteName |
Definition at line 31 of file BoundM2N.hpp.