ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <boost/mpi/collectives/all_reduce.hpp>
#include <boost/mpi/communicator.hpp>
#include <cassert>
#include <functional>
#include <optional>
Go to the source code of this file.
Namespaces | |
namespace | Utils |
namespace | Utils::Mpi |
Functions | |
template<typename T > | |
T | Utils::Mpi::reduce_optional (boost::mpi::communicator const &comm, std::optional< T > const &result) |
Reduce an optional on the head node. | |