ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
fetch_particles.hpp File Reference
#include "PidObservable.hpp"
#include "cell_system/CellStructure.hpp"
#include "system/System.hpp"
#include <algorithm>
#include <iterator>
#include <set>
#include <vector>
+ Include dependency graph for fetch_particles.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

auto fetch_particles (std::vector< int > const &ids)
 Fetch a group of particles.
 

Function Documentation

◆ fetch_particles()

auto fetch_particles ( std::vector< int > const &  ids)
inline

Fetch a group of particles.

Parameters
idsparticle identifiers
Returns
array of particle copies, with positions in the current box.

Definition at line 37 of file fetch_particles.hpp.

References System::get_system().

Referenced by Observables::PidObservable::operator()(), and Observables::RDF::operator()().