Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
are_all_rank_true.hpp File Reference

Collective boolean reduction to check if all ranks have true as input. More...

#include <shamcomm/mpi.hpp>
Include dependency graph for are_all_rank_true.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  shamalgs
 namespace to contain everything implemented by shamalgs

Functions

bool shamalgs::collective::are_all_rank_true (bool input, MPI_Comm comm)
 return true only if all ranks have true as input

Detailed Description

Collective boolean reduction to check if all ranks have true as input.

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file are_all_rank_true.hpp.

Function Documentation

◆ are_all_rank_true()

bool shamalgs::collective::are_all_rank_true ( bool input,
MPI_Comm comm )

return true only if all ranks have true as input

Definition at line 24 of file are_all_rank_true.cpp.