ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
CellStructure.cpp File Reference
#include "cell_system/CellStructure.hpp"
#include "cell_system/AtomDecomposition.hpp"
#include "cell_system/HybridDecomposition.hpp"
#include "cell_system/ParticleDecomposition.hpp"
#include "cell_system/RegularDecomposition.hpp"
#include "BoxGeometry.hpp"
#include "LocalBox.hpp"
#include "Particle.hpp"
#include "cell_system/CellStructureType.hpp"
#include "communication.hpp"
#include "lees_edwards/lees_edwards.hpp"
#include "system/System.hpp"
#include <utils/contains.hpp>
#include <boost/mpi/collectives/all_reduce.hpp>
#include <boost/range/algorithm/min_element.hpp>
#include <boost/variant.hpp>
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <iterator>
#include <memory>
#include <set>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>
+ Include dependency graph for CellStructure.cpp:

Go to the source code of this file.

Classes

struct  anonymous_namespace{CellStructure.cpp}::UpdateParticleIndexVisitor
 Apply a ParticleChange to a particle index. More...
 

Namespaces

namespace  anonymous_namespace{CellStructure.cpp}
 

Functions

unsigned map_data_parts (unsigned data_parts)
 Map the data parts flags from cells to those used internally by the ghost communication.
 

Function Documentation

◆ map_data_parts()

unsigned map_data_parts ( unsigned  data_parts)

Map the data parts flags from cells to those used internally by the ghost communication.

Parameters
data_partsdata parts flags
Returns
ghost communication flags

Definition at line 170 of file CellStructure.cpp.

References GHOSTTRANS_BONDS, GHOSTTRANS_FORCE, GHOSTTRANS_MOMENTUM, GHOSTTRANS_NONE, GHOSTTRANS_POSITION, GHOSTTRANS_PROPRTS, GHOSTTRANS_RATTLE, and u.

Referenced by CellStructure::ghosts_update(), and HybridDecomposition::resort().