ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Calculate bond angles in a polymer. More...
#include <CosPersistenceAngles.hpp>
Public Member Functions | |
CosPersistenceAngles (std::vector< int > ids) | |
std::vector< double > | evaluate (boost::mpi::communicator const &comm, ParticleReferenceRange const &local_particles, const ParticleObservables::traits< Particle > &traits) const override |
std::vector< std::size_t > | shape () const override |
PidObservable (std::vector< int > ids) | |
Public Member Functions inherited from Observables::PidObservable | |
PidObservable (std::vector< int > ids) | |
std::vector< double > | operator() (boost::mpi::communicator const &comm) const final |
std::vector< int > const & | ids () 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. | |
Calculate bond angles in a polymer.
The ith entry in the result vector corresponds to the averaged cosine of the angle between bonds that are i bonds apart.
Definition at line 41 of file CosPersistenceAngles.hpp.
|
inlineexplicit |
Definition at line 44 of file CosPersistenceAngles.hpp.
References Observables::PidObservable::ids().
|
inlineoverridevirtual |
Implements Observables::PidObservable.
Definition at line 51 of file CosPersistenceAngles.hpp.
References System::System::box_geo, System::get_system(), Observables::PidObservable::ids(), and Observables::Observable::n_values().
|
inlineexplicit |
Definition at line 64 of file core/observables/PidObservable.hpp.
|
inlineoverridevirtual |
Implements Observables::Observable.
Definition at line 86 of file CosPersistenceAngles.hpp.
References Observables::PidObservable::ids().