WRApplication
External kratos "application" for multiscale time integration.
MPIUtils.hpp
Go to the documentation of this file.
1 
3 #pragma once
4 
5 // --- Core Includes ---
6 #include "includes/data_communicator.h"
7 
8 
9 namespace Kratos::WRApp {
10 
11 
16 
17 
18 struct MPIUtils
19 {
25  template <class TInputIterator, class TOutputIterator>
26  static void AllGatherV(TInputIterator itBegin,
27  TInputIterator itEnd,
28  TOutputIterator itOutput,
29  DataCommunicator& rCommunicator);
30 }; // struct MPIUtils
31 
32 
35 
36 
37 } // namespace Kratos::WRApp
38 
39 #include "wrapp/multiprocessing/impl/MPIUtils_impl.hpp"
Definition: MPIUtils.hpp:9
Definition: MPIUtils.hpp:19
static void AllGatherV(TInputIterator itBegin, TInputIterator itEnd, TOutputIterator itOutput, DataCommunicator &rCommunicator)
Synchronize a union of all items on every rank.