Block-Structured AMR Software Framework
AMReX_ParticleMPIUtil.H
Go to the documentation of this file.
1 #ifndef AMREX_PARTICLEMPIUTIL_H_
2 #define AMREX_PARTICLEMPIUTIL_H_
3 #include <AMReX_Config.H>
4 
5 #include <AMReX_Vector.H>
6 #include <map>
7 
8 namespace amrex {
9 
10 #ifdef AMREX_USE_MPI
11 
12  Long CountSnds(const std::map<int, Vector<char> >& not_ours, Vector<Long>& Snds);
13 
14  Long doHandShake(const std::map<int, Vector<char> >& not_ours,
15  Vector<Long>& Snds, Vector<Long>& Rcvs);
16 
17  Long doHandShakeLocal(const std::map<int, Vector<char> >& not_ours,
18  const Vector<int>& neighbor_procs, Vector<Long>& Snds, Vector<Long>& Rcvs);
19 
20 #endif // AMREX_USE_MPI
21 
22 }
23 
24 #endif // include guard
Definition: AMReX_Amr.cpp:49
Long doHandShake(const std::map< int, Vector< char > > &not_ours, Vector< Long > &Snds, Vector< Long > &Rcvs)
Definition: AMReX_ParticleMPIUtil.cpp:25
Long doHandShakeLocal(const std::map< int, Vector< char > > &not_ours, const Vector< int > &neighbor_procs, Vector< Long > &Snds, Vector< Long > &Rcvs)
Definition: AMReX_ParticleMPIUtil.cpp:50
Long CountSnds(const std::map< int, Vector< char > > &not_ours, Vector< Long > &Snds)
Definition: AMReX_ParticleMPIUtil.cpp:11