ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
ghosts.hpp
Go to the documentation of this file.
1/*
2 * Copyright (C) 2010-2026 The ESPResSo project
3 * Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009,2010
4 * Max-Planck-Institute for Polymer Research, Theory Group
5 *
6 * This file is part of ESPResSo.
7 *
8 * ESPResSo is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
12 *
13 * ESPResSo is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22#pragma once
23
24/** \file
25 * Ghost particles and particle exchange.
26 *
27 * In this file you find the payload-selector flags used by the
28 * ghost-communication engine (@ref GhostComm::halo_exchange).
29 */
30
31#include <config/config.hpp>
32
33/** Transfer data classes, for the ghost-communication engine */
34enum : unsigned {
36 /// transfer \ref ParticleProperties
38 /// transfer \ref ParticlePosition
40 /// transfer \ref ParticleMomentum
42 /// transfer \ref ParticleForce
44#ifdef ESPRESSO_BOND_CONSTRAINT
45 /// transfer \ref ParticleRattle
47#endif
48 /// resize the receiver particle arrays to the size of the senders
51#ifdef ESPRESSO_ROTATION
52 /// transfer orientation quaternion (pushed with position;
53 /// runtime-conditional)
55 /// transfer torque (reduced with force; runtime-conditional)
57#endif
58#ifdef ESPRESSO_DIPOLE_FIELD_TRACKING
59 /// transfer dipole field tracking data
61#endif
62};
@ GHOSTTRANS_MOMENTUM
transfer ParticleMomentum
Definition ghosts.hpp:41
@ GHOSTTRANS_RATTLE
transfer ParticleRattle
Definition ghosts.hpp:46
@ GHOSTTRANS_QUAT
transfer orientation quaternion (pushed with position; runtime-conditional)
Definition ghosts.hpp:54
@ GHOSTTRANS_DIPFLD
transfer dipole field tracking data
Definition ghosts.hpp:60
@ GHOSTTRANS_PARTNUM
resize the receiver particle arrays to the size of the senders
Definition ghosts.hpp:49
@ GHOSTTRANS_POSITION
transfer ParticlePosition
Definition ghosts.hpp:39
@ GHOSTTRANS_PROPRTS
transfer ParticleProperties
Definition ghosts.hpp:37
@ GHOSTTRANS_FORCE
transfer ParticleForce
Definition ghosts.hpp:43
@ GHOSTTRANS_NONE
Definition ghosts.hpp:35
@ GHOSTTRANS_TORQUE
transfer torque (reduced with force; runtime-conditional)
Definition ghosts.hpp:56
@ GHOSTTRANS_BONDS
Definition ghosts.hpp:50