13 #ifndef KRATOS_DATA_COMMUNICATOR_FACTORY_INCLUDED
14 #define KRATOS_DATA_COMMUNICATOR_FACTORY_INCLUDED
39 namespace DataCommunicatorFactory
51 const DataCommunicator& rOriginalCommunicator,
52 const std::string& rNewCommunicatorName);
78 const DataCommunicator& rOriginalCommunicator,
81 const std::string& rNewCommunicatorName);
96 const DataCommunicator& rOriginalCommunicator,
97 const std::vector<int>& rRanks,
98 const std::string& rNewCommunicatorName);
118 const DataCommunicator& rFirstDataCommunicator,
119 const DataCommunicator& rSecondDataCommunicator,
120 const DataCommunicator& rParentDataCommunicator,
121 const std::string& rNewCommunicatorName);
141 const DataCommunicator& rFirstDataCommunicator,
142 const DataCommunicator& rSecondDataCommunicator,
143 const DataCommunicator& rParentDataCommunicator,
144 const std::string& rNewCommunicatorName);
const DataCommunicator & DuplicateAndRegister(const DataCommunicator &rOriginalCommunicator, const std::string &rNewCommunicatorName)
Create a new MPIDataCommunicator as a duplicate of an existing one.
Definition: data_communicator_factory.cpp:28
const DataCommunicator & CreateIntersectionAndRegister(const DataCommunicator &rFirstDataCommunicator, const DataCommunicator &rSecondDataCommunicator, const DataCommunicator &rParentDataCommunicator, const std::string &rNewCommunicatorName)
Create a new MPIDataCommunicator as the intersection of the given ones.
Definition: data_communicator_factory.cpp:105
const DataCommunicator & SplitAndRegister(const DataCommunicator &rOriginalCommunicator, int Color, int Key, const std::string &rNewCommunicatorName)
Create a new MPIDataCommunicator by splitting an existing one.
Definition: data_communicator_factory.cpp:41
const DataCommunicator & CreateFromRanksAndRegister(const DataCommunicator &rOriginalCommunicator, const std::vector< int > &rRanks, const std::string &rNewCommunicatorName)
Create a new MPIDataCommunicator connecting the provided ranks.
Definition: data_communicator_factory.cpp:55
const DataCommunicator & CreateUnionAndRegister(const DataCommunicator &rFirstDataCommunicator, const DataCommunicator &rSecondDataCommunicator, const DataCommunicator &rParentDataCommunicator, const std::string &rNewCommunicatorName)
Create a new MPIDataCommunicator as the union of the given ones.
Definition: data_communicator_factory.cpp:77
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21