source: src/units/particle/comm_mpi_particle.hpp@ f003a9

Last change on this file since f003a9 was f003a9, checked in by Julian Iseringhausen <isering@…>, 14 years ago

Refactored vmg in order to separate the core library and the particle simulation part properly.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@1798 5161e1c8-67bf-11de-9fd5-51895aff932f

  • Property mode set to 100644
File size: 773 bytes
Line 
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
9namespace VMG
10{
11
12namespace Particle
13{
14
15class LinkedCellList;
16
17class CommMPI : public VMG::CommMPI
18{
19public:
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.