File SyscComm.hpp
Last update: 09.03.2026Location: SyscComm.hpp
Classes
Namespaces
Includes
- SystemCouplingParticipant/LibraryType.hpp
- SystemCouplingParticipant/CommonTypes.hpp
- SystemCouplingParticipant/InputIntegerData.hpp
-
graph LR
1["SyscComm.hpp"]
click 1 "SyscComm_8hpp.md#SyscComm_8hpp"
1 --> 2
1 --> 3
1 --> 4
1 --> 5
3["SystemCouplingParticipant/CommonTypes.hpp"]
4["SystemCouplingParticipant/InputIntegerData.hpp"]
2["SystemCouplingParticipant/LibraryType.hpp"]
5["string"]
Source
/*
* © 2025 ANSYS, Inc. Unauthorized use, distribution, or duplication is prohibited.
*/
#pragma once
#include "SystemCouplingParticipant/LibraryType.hpp"
#include "SystemCouplingParticipant/CommonTypes.hpp"
#include "SystemCouplingParticipant/InputIntegerData.hpp"
#include <string>
namespace sysc {
struct HostAndPort {
HostAndPort() = default;
HostAndPort(Host host, Port port) :
host(std::move(host)), port(port) {}
HostAndPort(Port port) :
port(port) {}
Host host;
Port port{0};
};
HostAndPort SYSTEM_COUPLING_PARTICIPANT_DLL createRootServer(Host host, Port port);
bool SYSTEM_COUPLING_PARTICIPANT_DLL isRootServerCreated();
int SYSTEM_COUPLING_PARTICIPANT_DLL getMyRank();
int SYSTEM_COUPLING_PARTICIPANT_DLL getNumRanks();
double SYSTEM_COUPLING_PARTICIPANT_DLL reduceMax(double value);
std::uint16_t SYSTEM_COUPLING_PARTICIPANT_DLL reduceMax(std::uint16_t value);
std::uint64_t SYSTEM_COUPLING_PARTICIPANT_DLL reduceSum(std::uint64_t value);
bool SYSTEM_COUPLING_PARTICIPANT_DLL reduceAnd(bool value);
void SYSTEM_COUPLING_PARTICIPANT_DLL broadcast(IntegerData data, int rootRank);
} // namespace sysc