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

Method doHandShake

Src/Particle/AMReX_ParticleCommunication.cpp:274–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274void ParticleCopyPlan::doHandShake (const ParticleContainerBase& pc,
275 const Vector<Long>& Snds,
276 Vector<Long>& Rcvs) const // NOLINT(readability-convert-member-functions-to-static)
277{
278 BL_PROFILE("ParticleCopyPlan::doHandShake");
279 if (m_local) { doHandShakeLocal(Snds, Rcvs); }
280 else if (m_do_one_sided_comms) {
281 doHandShakeOneSided(pc, Snds, Rcvs);
282 }
283 else {
284 doHandShakeReduceScatter(Snds, Rcvs);
285 }
286}
287
288void ParticleCopyPlan::doHandShakeLocal (const Vector<Long>& Snds, Vector<Long>& Rcvs) const // NOLINT(readability-convert-member-functions-to-static)
289{

Callers

nothing calls this directly

Calls 1

doHandShakeLocalFunction · 0.85

Tested by

no test coverage detected