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

Function Barrier

Src/Base/AMReX_ParallelDescriptor.cpp:462–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

460}
461
462void
463Barrier (const std::string &message)
464{
465 amrex::ignore_unused(message);
466
467#ifdef BL_LAZY
468 Lazy::EvalReduction();
469#endif
470
471 BL_PROFILE_S("ParallelDescriptor::Barrier()");
472 BL_COMM_PROFILE_BARRIER(message, true);
473
474 BL_MPI_REQUIRE( MPI_Barrier(ParallelDescriptor::Communicator()) );
475
476 BL_COMM_PROFILE_BARRIER(message, false);
477}
478
479void
480Barrier (const MPI_Comm &comm, const std::string &message)

Callers 15

testNeighborParticlesFunction · 0.85
test_fewer_levelsFunction · 0.85
test_more_levelsFunction · 0.85
test_different_boxarraysFunction · 0.85
testFunction · 0.85
test_fewer_levelsFunction · 0.85
test_more_levelsFunction · 0.85
test_different_boxarraysFunction · 0.85
testRedistributeGlobalDMFunction · 0.85
testFunction · 0.85
testFunction · 0.85

Calls 2

EvalReductionFunction · 0.85
CommunicatorFunction · 0.85

Tested by 13

test_fewer_levelsFunction · 0.68
test_more_levelsFunction · 0.68
test_different_boxarraysFunction · 0.68
test_fewer_levelsFunction · 0.68
test_more_levelsFunction · 0.68
test_different_boxarraysFunction · 0.68
test_fewer_levelsFunction · 0.68
test_more_levelsFunction · 0.68
test_different_boxarraysFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68