![]() |
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>
Include dependency graph for reduce_optional.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 > | |
| T | Utils::Mpi::reduce_optional (boost::mpi::communicator const &comm, std::optional< T > const &result) |
| Reduce an optional on the head node. | |