TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
scatter.hpp File Reference
#include "../basic_functions.hpp"
#include "../concepts.hpp"
#include "../exceptions.hpp"
#include "../traits.hpp"
#include <mpi/mpi.hpp>
#include <type_traits>
#include <utility>
#include <vector>

Detailed Description

Provides an MPI scatter function for nda::Array types.

Definition in file scatter.hpp.

Go to the source code of this file.

Classes

struct  mpi::lazy< mpi::tag::scatter, A >
 Specialization of the mpi::lazy class for nda::Array types and the mpi::tag::scatter tag. More...
 

Functions

template<typename A >
requires (is_regular_or_view_v<A>)
ArrayInitializer< std::remove_reference_t< A > > auto nda::mpi_scatter (A &&a, mpi::communicator comm={}, int root=0, bool all=false)
 Implementation of an MPI scatter for nda::basic_array or nda::basic_array_view types.