triqs::gfs::mpi_reduce
#include <triqs/gfs.hpp>
Synopsis
template<typename V, typename T, int Arity> template<typename V, typename T, int Arity, bool IsConst>lazy<tag::reduce, block_gf_const_view<V, T, Arity>> mpi_reduce (block_gf_view<V, T, Arity, IsConst> const & a,
Documentation
1) Initiate (lazy) MPI Reduce
When the returned object is used at the RHS of operator = or in a constructor of a gf, the MPI Reduce operation is performed.
2) Initiate (lazy) MPI Reduce
When the returned object is used at the RHS of operator = or in a constructor of a gf, the MPI Reduce operation is performed.
Parameters
g The Green function
c The MPI communicator (default is world)
root The root of the broadcast communication in the MPI sense.
Returns
Returns a lazy object describing the object and the MPI operation to be performed.