ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Radial distribution function. More...
#include <RDF.hpp>
Public Member Functions | |
std::vector< std::size_t > | shape () const override |
RDF (std::vector< int > ids1, std::vector< int > ids2, int n_r_bins, double min_r, double max_r) | |
std::vector< double > | operator() (boost::mpi::communicator const &comm) const final |
std::vector< int > & | ids1 () |
std::vector< int > & | ids2 () |
std::vector< int > const & | ids1 () const |
std::vector< int > const & | ids2 () const |
Public Member Functions inherited from Observables::Observable | |
Observable ()=default | |
virtual | ~Observable ()=default |
std::size_t | n_values () const |
Size of the flat array returned by the observable. | |
Public Attributes | |
double | min_r |
double | max_r |
std::size_t | n_r_bins |
Radial distribution function.
Definition at line 35 of file core/observables/RDF.hpp.
|
inline |
Definition at line 55 of file core/observables/RDF.hpp.
|
inline |
Definition at line 68 of file core/observables/RDF.hpp.
Referenced by operator()().
|
inline |
Definition at line 70 of file core/observables/RDF.hpp.
|
inline |
Definition at line 69 of file core/observables/RDF.hpp.
Referenced by operator()().
|
inline |
Definition at line 71 of file core/observables/RDF.hpp.
|
finalvirtual |
Implements Observables::Observable.
Definition at line 39 of file RDF.cpp.
References fetch_particles(), ids1(), and ids2().
|
inlineoverridevirtual |
Implements Observables::Observable.
Definition at line 53 of file core/observables/RDF.hpp.
References n_r_bins.
double Observables::RDF::max_r |
Definition at line 49 of file core/observables/RDF.hpp.
Referenced by RDF().
double Observables::RDF::min_r |
Definition at line 49 of file core/observables/RDF.hpp.
Referenced by RDF().
std::size_t Observables::RDF::n_r_bins |
Definition at line 51 of file core/observables/RDF.hpp.