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

Detailed Description

Provides an MPI broadcast function for nda::basic_array or nda::basic_array_view 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.