93#include <boost/mpi/communicator.hpp>
115#define GHOST_JOBMASK 15
117#define GHOST_PREFETCH 16
119#define GHOST_PSTSTORE 32
133#ifdef BOND_CONSTRAINT
173 BoxGeometry const &box_geo,
unsigned int data_parts);
Vector implementation and trait types for boost qvm interoperability.
@ GHOSTTRANS_MOMENTUM
transfer ParticleMomentum
@ GHOSTTRANS_RATTLE
transfer ParticleRattle
@ GHOSTTRANS_PARTNUM
resize the receiver particle arrays to the size of the senders
@ GHOSTTRANS_POSITION
transfer ParticlePosition
@ GHOSTTRANS_PROPRTS
transfer ParticleProperties
@ GHOSTTRANS_FORCE
transfer ParticleForce
void ghost_communicator(GhostCommunicator const &gcr, BoxGeometry const &box_geo, unsigned int data_parts)
Do a ghost communication with the specified data parts.
Utils::Vector3d shift
Position shift for ghost particles.
int node
Node to communicate with (to use with all MPI operations).
std::vector< ParticleList * > part_lists
Pointer array to particle lists to communicate.
int type
Communication type.
Properties for a ghost communication.
GhostCommunicator(boost::mpi::communicator comm, std::size_t size)
GhostCommunicator()=default
boost::mpi::communicator mpi_comm
Attached mpi communicator.
std::vector< GhostCommunication > communications
List of ghost communications.