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

Detailed Description

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

Definition in file broadcast.hpp.

Go to the source code of this file.

Functions

template<typename A >
requires (is_regular_or_view_v<A>)
void nda::mpi_broadcast (A &a, mpi::communicator comm={}, int root=0)
 Implementation of an MPI broadcast for nda::basic_array or nda::basic_array_view types.