ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
gather_buffer.hpp File Reference
#include "detail/size_and_offset.hpp"
#include "gatherv.hpp"
#include <boost/mpi/collectives.hpp>
#include <boost/mpi/communicator.hpp>
#include <algorithm>
#include <type_traits>
#include <vector>
+ Include dependency graph for gather_buffer.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Utils
 
namespace  Utils::Mpi
 

Functions

template<typename T , class Allocator >
void Utils::Mpi::gather_buffer (std::vector< T, Allocator > &buffer, boost::mpi::communicator const &comm, int root=0)
 Gather buffer with different size on each node.