MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / And

Function And

Src/Base/AMReX_ParallelReduce.H:243–247  ·  view source on GitHub ↗

\ingroup amrex_mpi

Source from the content-addressed store, hash-verified

241
242 /// \ingroup amrex_mpi
243 inline void And (bool & v, MPI_Comm comm) {
244 auto iv = static_cast<int>(v);
245 detail::Reduce(detail::ReduceOp::land, iv, -1, comm);
246 v = static_cast<bool>(iv);
247 }
248}
249
250namespace ParallelReduce {

Callers 1

N_VInvTest_MultiFabFunction · 0.85

Calls 1

ReduceFunction · 0.85

Tested by

no test coverage detected