Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Namespaces | Functions
are_all_rank_true.cpp File Reference

Implementation of the are_all_rank_true function. More...

#include "shambase/stacktrace.hpp"
#include "shamalgs/collective/are_all_rank_true.hpp"
#include "shamcomm/wrapper.hpp"
#include <shamcomm/mpi.hpp>
+ Include dependency graph for are_all_rank_true.cpp:

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

Implementation of the are_all_rank_true function.

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.cpp.

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.

+ Here is the call graph for this function: