| Rev | Line | |
|---|
| [f003a9] | 1 | #ifndef COMM_MPI_PARTICLE_HPP_
|
|---|
| 2 | #define COMM_MPI_PARTICLE_HPP_
|
|---|
| 3 |
|
|---|
| 4 | #include <list>
|
|---|
| 5 |
|
|---|
| 6 | #include "comm/comm_mpi.hpp"
|
|---|
| 7 | #include "units/particle/particle.hpp"
|
|---|
| 8 |
|
|---|
| 9 | namespace VMG
|
|---|
| 10 | {
|
|---|
| 11 |
|
|---|
| 12 | namespace Particle
|
|---|
| 13 | {
|
|---|
| 14 |
|
|---|
| 15 | class LinkedCellList;
|
|---|
| 16 |
|
|---|
| 17 | class CommMPI : public VMG::CommMPI
|
|---|
| 18 | {
|
|---|
| 19 | public:
|
|---|
| 20 | CommMPI(const Boundary& boundary, DomainDecomposition* domain_dec, const MPI_Comm& mpi_comm) :
|
|---|
| 21 | VMG::CommMPI(boundary, domain_dec, mpi_comm)
|
|---|
| 22 | {}
|
|---|
| 23 |
|
|---|
| 24 | CommMPI(const Boundary& boundary, DomainDecomposition* domain_dec) :
|
|---|
| 25 | VMG::CommMPI(boundary, domain_dec)
|
|---|
| 26 | {}
|
|---|
| 27 |
|
|---|
| 28 | virtual ~CommMPI() {}
|
|---|
| 29 |
|
|---|
| 30 | void CommParticles(const Grid& grid, std::list<Particle>& particles);
|
|---|
| 31 | void CommParticlesBack(std::list<Particle>& particles);
|
|---|
| 32 | void CommLCListToGhosts(LinkedCellList& lc);
|
|---|
| 33 | };
|
|---|
| 34 |
|
|---|
| 35 | }
|
|---|
| 36 |
|
|---|
| 37 | }
|
|---|
| 38 |
|
|---|
| 39 | #endif /* COMM_MPI_PARTICLE_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.