ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include "cell_system/ParticleDecomposition.hpp"
#include "BoxGeometry.hpp"
#include "LocalBox.hpp"
#include "Particle.hpp"
#include "ParticleList.hpp"
#include "ParticleRange.hpp"
#include "algorithm/link_cell.hpp"
#include "bond_error.hpp"
#include "cell_system/Cell.hpp"
#include "cell_system/CellStructureType.hpp"
#include "config/config.hpp"
#include "ghosts.hpp"
#include "system/Leaf.hpp"
#include <utils/math/sqr.hpp>
#include <boost/container/static_vector.hpp>
#include <boost/iterator/indirect_iterator.hpp>
#include <boost/range/algorithm/transform.hpp>
#include <algorithm>
#include <cassert>
#include <iterator>
#include <memory>
#include <optional>
#include <set>
#include <span>
#include <stdexcept>
#include <utility>
#include <vector>
Go to the source code of this file.
Classes | |
struct | Distance |
Distance vector and length handed to pair kernels. More... | |
struct | CellStructure |
Describes a cell structure / cell system. More... | |
Namespaces | |
namespace | Cells |
Enumerations | |
enum | Cells::Resort : unsigned { Cells::RESORT_NONE = 0u , Cells::RESORT_LOCAL = 1u , Cells::RESORT_GLOBAL = 2u } |
enum | Cells::DataPart : unsigned { Cells::DATA_PART_NONE = 0u , Cells::DATA_PART_PROPERTIES = 1u , Cells::DATA_PART_POSITION = 2u , Cells::DATA_PART_MOMENTUM = 8u , Cells::DATA_PART_FORCE = 16u , Cells::DATA_PART_RATTLE = 32u , Cells::DATA_PART_BONDS = 64u } |
Flags to select particle parts for communication. More... | |
Functions | |
unsigned | map_data_parts (unsigned data_parts) |
Map the data parts flags from cells to those used internally by the ghost communication. | |
ParticleRange | Cells::particles (std::span< Cell *const > cells) |
unsigned map_data_parts | ( | unsigned | data_parts | ) |
Map the data parts flags from cells to those used internally by the ghost communication.
data_parts | data parts flags |
Definition at line 170 of file CellStructure.cpp.
References GHOSTTRANS_BONDS, GHOSTTRANS_FORCE, GHOSTTRANS_MOMENTUM, GHOSTTRANS_NONE, GHOSTTRANS_POSITION, GHOSTTRANS_PROPRTS, and GHOSTTRANS_RATTLE.
Referenced by CellStructure::ghosts_update(), and HybridDecomposition::resort().