#ifndef COMM_MPI_PARTICLE_HPP_ #define COMM_MPI_PARTICLE_HPP_ #include #include "comm/comm_mpi.hpp" #include "units/particle/particle.hpp" namespace VMG { namespace Particle { class LinkedCellList; class CommMPI : public VMG::CommMPI { public: CommMPI(const Boundary& boundary, DomainDecomposition* domain_dec, const MPI_Comm& mpi_comm) : VMG::CommMPI(boundary, domain_dec, mpi_comm) {} CommMPI(const Boundary& boundary, DomainDecomposition* domain_dec) : VMG::CommMPI(boundary, domain_dec) {} virtual ~CommMPI() {} void CommParticles(const Grid& grid, std::list& particles); void CommParticlesBack(std::list& particles); void CommLCListToGhosts(LinkedCellList& lc); }; } } #endif /* COMM_MPI_PARTICLE_HPP_ */