![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Calculate pairwise distances between two sets of particles. More...
#include <PidPairwiseDistancesObservable.hpp>
Public Member Functions | |
PidPairwiseDistancesObservable (std::vector< int > const &ids, std::vector< int > const &target_ids) | |
std::vector< int > const & | target_ids () const |
![]() | |
PidObservable (std::vector< int > ids) | |
std::vector< double > | operator() (boost::mpi::communicator const &comm) const final |
std::vector< int > const & | ids () const |
![]() | |
Observable ()=default | |
virtual | ~Observable ()=default |
std::size_t | n_values () const |
Size of the flat array returned by the observable. | |
virtual std::vector< std::size_t > | shape () const =0 |
Dimensions needed to reshape the flat array returned by the observable. | |
Calculate pairwise distances between two sets of particles.
Definition at line 30 of file PidPairwiseDistancesObservable.hpp.
|
inline |
Definition at line 34 of file PidPairwiseDistancesObservable.hpp.
|
inline |
Definition at line 37 of file PidPairwiseDistancesObservable.hpp.