36 if (
m2n->usesTwoLevelInitialization()) {
38 m2n->completeSecondaryRanksConnection();
54 if (not
m2n->usesTwoLevelInitialization())
57 PRECICE_WARN(
"Two-level initialization is still in beta testing. Several edge cases are known to fail. Please report problems nevertheless.");
#define PRECICE_WARN(...)
#define PRECICE_DEBUG(...)
#define PRECICE_ASSERT(...)
void preConnectSecondaryRanks()
pre-connect the Secondary ranks of the M2N
void connectPrimaryRanks()
Connect the Primary Ranks of the M2N.
void connectSecondaryRanks()
Connect the Secondary ranks of the M2N.
void cleanupEstablishment()
Cleanup after having established the connection.
void prepareEstablishment()
Prepare to establish the connection.
void waitForSecondaryRanks()
static Rank getRank()
Current rank.
static bool isPrimary()
True if this process is running the primary rank.
static auto allSecondaryRanks()
Returns an iterable range over salve ranks [1, _size)
static bool isSecondary()
True if this process is running a secondary rank.
static com::PtrCommunication & getCommunication()
Intra-participant communication.
contains the logic of the parallel communication between participants.